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