Hello All
I have designed a form which uses 2 workflows: Reference + Approval.
The reference simply generates the Reference number updates the status and then starts the Approval workflow.
Note sure what the instance ID is used for but just added it in case is required!
Whereas the Approval workflow is set up to start also manually if required and to check condition when created based on the status parameter. Its purpose is so that in case the WF gets tuck at any Flexy Task point, then with the manual restart it goes back to the same approval point...
Maybe this is what causing the slow down????
The workflow contains a few of the followings:
- Parallel Actions
- State Machines
- Change State
- Switch
- Run If's
- Quries
Initially it used to run well, quiet fast.
As soon as the SUBMIT button is pressed, it would run the workflow and refresh page back to content within 5 secs.
Now, it does take over 60seconds before the page is refresh to show the content / process.
I am not sure what is causing it.
I have performed Purge workflow data to get rid of error'ed workflow.
Any suggestions?