Sending Instructions From the TIBCO iProcess Workspace to the TIBCO iProcess Engine
When a user processes a work item by either Keeping or Releasing it, the TIBCO iProcess Workspace creates a package of instructions that are sent to the TIBCO iProcess Engine. This package contains all the information about the work item, such as what fields and data are shown on the form, what fields may have changed, and the instruction to be performed.
The message is sent from the TIBCO iProcess Workspace to the TIBCO iProcess Engine in packets via RPC calls. The package is split into its components to ensure that an instruction is sent to the background processes and any case data updates are made by updating the database. The instruction message is enqueued to a Mbox message queue where it waits to be processed by one of the background processes.
The Background process reads the message queues for new messages. Therefore, it dequeues the message from the queue and then processes the case instructions. The Background performs the necessary actions such as updating the changed fields in the database, determining what the next step is and, whom to send it to.