A workflow with an activity whose script sets activity.state = 'faulted' ends up in an error state and does not trigger any transitions from the affected activity. The activity itself ends with an error state, and no result is set, not triggering the related 'error' transition. 


Steps to Reproduce

Order the item 'Script Fault' and observe the workflow does not progress down its error path.


This problem has been fixed. If you are able to upgrade, review the Fixed In section to determine the latest version with a permanent fix your instance can be upgraded to.

As a workaround, the workflow could use a state other than 'faulted' for the error condition and in the script. That would bypass the workflow engine logic that is terminating the flow.

Related Problem: PRB1248620

Seen In

There is no data to report.

Fixed In


Associated Community Threads

There is no data to report.

Article Information

Last Updated:2019-08-21 11:01:06