BusinessWorks - Synchronous Process Component

If the backend interface is synchronous, it is possible to implement the process component in a much simpler way. Of course, be aware of the blocking nature of synchronous calls and the impact this can have on performance.

Process Component Example: Simple Synchronous BW component

In the Process Component Example: Simple Synchronous BW component it can be seen that a queue requester activity is used to implement the synchronous call to the back-end application and once the response is received from it, a PlanItemExecuteResponse will be sent to Orchestrator based on the resultCode. If the resultCode is equal to zero, it sends a PlanItemExecuteResponse with success and completed equal to “true” otherwise it sends a PlanItemExecuteResponse with completed set to “true” and success set to “false”. This will trigger the Exception Handler process as described above.