You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to add delay/pause/wait time inside Workflow Agent?

Hi,

I’m currently running into a timing issue with my workflow agent. I’m using loop nodes to call the splitLine REST API for Oracle Fusion Cloud Procurement - Split a requisition line. to split a requisition line into multiple lines. The first iteration succeeds, but the remaining iterations return a 400 Bad Request stating that the splitLine operation can only be called when the requisition line is in Approved status.

It seems the auto approval takes a few seconds to complete. After the first iteration, the workflow immediately proceeds to the next item before the line is fully approved, which causes the error. I tried adding an intermediate IF condition to check the line status and introduce some delay, but the loop still executes too quickly. Since version 26A doesn’t appear to have a native wait or delay node, I’m looking for alternative approaches to handle this timing gap.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!