Skip to main content

Hello, im struggeling with a workflow configuration.

 

The workflow is as follows:

  1. Create a Faultreport in window (Fault Report) (FaultReportHandling) to trigger workflow (after)
  2. Check if priority_ID = 1 else close workflow.

     

  3. Get WoData (tried both prepareworkhandling and faultworkhandling API.

     

  4. Set WorkType with PrepareWorkHandling.

     

  5. 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

@NPGIFSJOMAII I'm not an expert in this area (although I try to learn to use BPA). Can it be that just before the release is done, a Get WoData is needed again, to refresh the internal cache or something along that line?


Hello, 

 

That’s somehow correct. I this case we created 2 different workflows. 1 was just created for the release action.

Regards,

Johan 


Reply