Skip to main content
Question

Workflow Fault report to released Work order

  • October 16, 2024
  • 2 replies
  • 62 views

NPGIFSJOMAII
Sidekick (Customer)
Forum|alt.badge.img+9

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

2 replies

eqbstal
Superhero (Partner)
Forum|alt.badge.img+21
  • Superhero (Partner)
  • 672 replies
  • January 22, 2025

@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?


NPGIFSJOMAII
Sidekick (Customer)
Forum|alt.badge.img+9
  • Author
  • Sidekick (Customer)
  • 26 replies
  • January 23, 2025

Hello, 

 

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

Regards,

Johan 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings