-
Notifications
You must be signed in to change notification settings - Fork 47
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
Execute Task and Skip task doesn't work for script task/send task/milestones #1927
Comments
This is related to a new check we added to avoid running do_engine_steps unintentionally on suspended process instances. We'll have to put in an exception for this code path. |
Fixed with dfce83c. I meant to put that in a branch but it's a pretty small change. |
@jasquat execute is working, but when I try to do Skip Task it gives this error. |
I changed the name of the method to collect |
When I try to run 'Execute Task' and 'Skip task ' options in a script task/send task/milestones while the instance is suspended it gives this error.
'ProcessInstanceCannotBeRunError: Process instance '35' has status 'suspended' and therefore cannot run.'
But it works fine for a Manual task.
May be it doesn't work for any non human tasks? I checked only with a script task and send task and milestones.
Update : this doesn't happen in dev.app and dev.mod. Only happens in Time tracker and https://sample.spiffcrm.com/
So not sure whether this is also connected to the migration updates.
Test model:
https://sample.spiffcrm.com/process-models/misc:qa:madhu-testing:test-model-1
https://timetracking.spiffworkflow.org/process-models/misc:qa:madhu-testing:test-model-with-milestones
https://dev.app.spiff.status.im/process-models/misc:test:madhurya-testing:test-model-with-milestones
https://dev.mod.spiff.status.im/process-models/misc:test:madhurya-testing:test-model-with-milestones
The text was updated successfully, but these errors were encountered: