Hello, im struggeling with a workflow configuration.
The workflow is as follows:
- Create a Faultreport in window (Fault Report) (FaultReportHandling) to trigger workflow (after)
- Check if priority_ID = 1 else close workflow.
- Get WoData (tried both prepareworkhandling and faultworkhandling API.
- Set WorkType with PrepareWorkHandling.
- Release Wo.
I’ve tried many different scenarios but it always fails when the release action is included with below message or "Resource not found”. If I remove the activity “Release Wo” the workflow works and “Set WorkType” does what it should.
I can also get this to work if I only work in the “Prepare Work Order page” but it’s not what I want.
Can anyone assist?
BR Johan