we have customized OEOL (order line workflow) to apply wait at certain point if some conditions are not met. Now my requirement is to identify if wait is present and release it in case an attribute is populated at line level. Please let me know how this can be done.
Nasir Ali Mohiddin.
Do not use wait statements. Wait statements can lead to a workflow endless loop as described at https://blogs.oracle.com/gverma/entry/workflow_performance_case_stud_1. We previously used waits in OEOL and suffered from all the problems described in this article. We then implemented the article's recommendations, which solved our problems.
As the article describes, use a block instead of a wait for the workflow item. Then have an outside concurrent program unblock the workflow item when the appropriate business condition occurs.