Synchronous and Asynchronous Processing

JD Edwards EnterpriseOne Workflow can execute a workflow process either synchronously or asynchronously. Asynchronous processing enables various workflow processes to run at the same time. By starting a JD Edwards EnterpriseOne workflow process asynchronously, you are simply running the workflow in the background of the calling application.

Although asynchronous workflow processes might process faster, synchronous processing is sometimes preferred. If a calling application depends on information from the workflow process, you should run the process synchronously to ensure that the calling application gets the information it needs from the process before the workflow finishes and the application closes.

A JD Edwards EnterpriseOne workflow process runs asynchronously by default, with these exceptions:

  • When it is run from a batch application.

  • When the workflow process is specifically designed to run synchronously.

In the first case, the system forces the workflow to run synchronously. In the second case, the designer specifically selects for the workflow to run synchronously.