The client has AX 2009 SP1 on two AOSs. Business connector, IIS and AX settings were all configured. However, the following error got thrown randomly every other days and got completed workflow strandered. "Stopped (error): Failed to find workflow instance. Failed to find workflow instance."
There are several unique issues that make this workflow problem hard to solve:
- Error throws after workflow is completed.
- It seems errors randomly occurred. When there are a large number of workflows (> 50) being processed, errors are likely to be thrown.
- Hard to repro the error or test solutions. We had to accumulate enough workflows in the queue in order to trigger the error. It was a real pain by doing this all manually. Later, we wrote a script to simulate the submission process and it's much better.
- We have custom workflow templates.
Thanks for posting about this. It helped me to resolve the exact same workflow issue at a client's site that I was struggling with for a while. I've reposted it and linked to you from my blog http://workflowax.wordpress.com
ReplyDelete