Skip to content

Conversation

cicoyle
Copy link
Contributor

@cicoyle cicoyle commented May 29, 2025

Adding docs for a new workflow pattern: compensating workflows

I added a java example here. This is just a first pass implementation that could be improved upon, but wanted to document the new pattern

@hhunter-ms can you add a diagram to my PR and tweak it as you see fit?

cicoyle added 2 commits May 29, 2025 14:29
Signed-off-by: Cassandra Coyle <[email protected]>
Signed-off-by: Cassandra Coyle <[email protected]>
@msfussell
Copy link
Member

@marcduiker - Let's think over a diagram we could add into the docs and presentation deck

Copy link
Contributor

@marcduiker marcduiker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've created a diagram for this, but this will be part of another PR since I want to update all the workflow related diagrams #4679 .

Copy link
Member

@msfussell msfussell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@marcduiker - Can you provide a diagram illustrating compensation?

@marcduiker
Copy link
Contributor

I've added the image in this PR. Let's merge that first so we can add it to the doc here.

@marcduiker marcduiker dismissed their stale review August 29, 2025 09:07

I've made the updates, no work from Cassie required.

Added comments for compensating logic

Signed-off-by: Mark Fussell <[email protected]>
Copy link
Member

@msfussell msfussell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@msfussell msfussell merged commit 36efb8f into dapr:v1.16 Sep 3, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants