Business Process Automation

Allow Lock

Selecting the Allow Lock check box on an automation agent holds an object lock during the processing of all agent actions, allowing for better transactionality between modification actions. Doing so can make locks last longer. The Allow Lock check box determines how long Oracle Transportation Management locks the business object of the agent. For example, assume you modify an order release. An agent fires off the modification that calls Set Status and Set Indicator. For each individual agent action, the system locks the order release to avoid user modifications of the order while it is being modified. By checking the Allow Lock box, you are instructing Oracle Transportation Management to lock the order release for the duration of the entire agent, rather than just individual actions. This provides a transactional view of the agent, since the order will be locked across both the Set Status and Set Indicator actions.

Note that these actions may be published into different queues. If the queues are significantly backed up, using Allow Lock may cause a significant increase in contention on the order.

The Allow Lock check box on the Data Query Type page overrides the audit action Allow Lock check box.

Related Topics