Replies: 3 comments 2 replies
-
To persist data across workflow execution, including after resuming from a bookmark, you should ensure that the data is being saved to the workflow instance's state. When you use If you are experiencing issues where the
Regarding appending to Here's a general approach to ensure data persistence and appending inputs:
If you are still facing issues, please provide more details about the version of Elsa you are using and the exact steps you are taking to set and retrieve the workflow input. This will help in giving a more precise solution. For more information on how to work with inputs and outputs in Elsa, you can refer to the documentation on input and output: https://v3.elsaworkflows.io/docs/core-concepts/input-output If you believe you are encountering a bug or a limitation in Elsa, you may want to check the GitHub issues or discussions for similar problems or report a new issue: https://github.com/elsa-workflows/elsa-core/issues This comment was generated by Glime. |
Beta Was this translation helpful? Give feedback.
-
The workflow is being persisted on a database, if I do the same activity without any bookmarks the |
Beta Was this translation helpful? Give feedback.
-
@defunky Did you ever get an answer or find a solution to this? I'm experiencing the same. |
Beta Was this translation helpful? Give feedback.
-
I have a workflow with some values in WorkflowInput, one of these activities I have also assigns a new value within to WorkflowInput dictonary via the
ExecuteAsync
usingActivityExecutionContext
. After the assignment I'm creating a boomark with a callback method, however upon calling theResumeWorkflowsAsync
on IWorkflowRunTime, the WorkflowInput is empty and any subsequent activites that rely on values in WorkflowInput fail now as the previously assign values are gone.I can see that
TriggerWorkflowsOptions
has the option to pass in WorkflowInput when doing a Resume but I don't want to reassign all the values that were assigned before. Is there a way to persist the data after the callback and is it possible to append WorkflowInput via TriggerWorkflowsOptions instead of completely overwriting it?Beta Was this translation helpful? Give feedback.
All reactions