Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Instance Recovery: Script Task handling #83

Open
jjoderis opened this issue Sep 1, 2023 · 0 comments
Open

Instance Recovery: Script Task handling #83

jjoderis opened this issue Sep 1, 2023 · 0 comments
Labels
enhancement New feature or request Management System Issues or Features concerning the Management System of PROCEED

Comments

@jjoderis
Copy link
Contributor

jjoderis commented Sep 1, 2023

In its current form, the process instance recovery feature tries to resume execution of process elements that had a token when the instance was interrupted if possible. This works for User-Tasks, Call-Activities and Sub-Processes.
In case of Script-Tasks there is currently no way to determine automatically if the logic of the script task is idempotent and could be repeated, if it could be skipped or if more involved error handling is necessary so the task is put into an error state.

What should happen in the MS is that the user should be informed about a Script-Task and should be given options what to do (skip, restart, manual handling) and the information to determine what the best course of action would be.
The information that will be necessary at a minimum are the variables that the Script-Task might have already written into the global instance state (intermediate-variable changes should be reset when the task is restarted) and http requests that were already made.

@jjoderis jjoderis added enhancement New feature or request Management System Issues or Features concerning the Management System of PROCEED labels Sep 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Management System Issues or Features concerning the Management System of PROCEED
Projects
None yet
Development

No branches or pull requests

1 participant