Skip to content

Commit a2fa23d

Browse files
committed
chore: Remove state references
Signed-off-by: Javier Aliaga <[email protected]>
1 parent 9e1f945 commit a2fa23d

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

20250523-RS-workflow-activity-context.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,15 @@
66

77
## Overview
88

9-
This is a proposal to enrich workflow activity context by introducing new fields. This will make it easier for users to control the workflow's state within activities. They are particularly useful for:
9+
This is a proposal to enrich workflow activity context by introducing new fields. This will make it easier for users to control the retries within activities. They are particularly useful for:
1010

1111
1. **Idempotency**: Ensuring activities are not executed multiple times for the same task
12-
2. **State Management**: Tracking the state of activity execution
1312

1413
## Background
1514

16-
Workflow users have raised concerns about controlling and preventing an activity from being invoked more than once or tracking the state of the execution. Input parameters can be used to control the workflow's state, but certain scenarios do not have enough data to do it. Some examples are:
15+
Workflow users have raised concerns about controlling and preventing an activity from being invoked more than once.
16+
Input parameters can be used to control the workflow's state, but certain scenarios do not have enough data to do it.
17+
Some examples are:
1718

1819
- A notification activity where the message content alone isn't enough to determine uniqueness
1920
- An external service call where idempotency can't be guaranteed by the input parameters
@@ -68,9 +69,6 @@ message ActivityRequest {
6869
}
6970
```
7071

71-
- RetryAttempt: This field will contain the current retry count for the activity execution.
72-
73-
7472
### Feature lifecycle outline
7573

7674
* Expectations

0 commit comments

Comments
 (0)