Execution has been suspended and is been waiting for external events to complete.
Error Message: Following exception is thrown while running process "Execution has been suspended and is been waiting for external events to complete".
Resolution:
- Verify if Supports Persistence option is enabled in the workflow. Turn it off and observe the behavior.
- If Persistence package is being used in the project observe the abnormal behavior with delay and retry scope activities. In such cases, they should be placed inside a No Persist Scope activity. [Refer below screen shot]
Note: The Delay and Retry Scope activities are not supported and do not work properly when used in the Main workflow of an Orchestration[ Supports Persistence - Enabled] Process. In such cases, they should be placed inside a No Persist Scope activity.
- Read more on the Orchestration process .