Acquires a lock for a Scheduled Export based on the lock settings in that Export. A separate BIC was created to isolate the lock requests from the maximum threads used by some of the activities after the lock (Universal Java BIC activities) to avoid deadlocks. If the lock action is overwhelmed with a large number of work items, The newest work items will be blocked from acquiring lock but the work items that acquire a lock will still be able to process.
Inputs
- exportJob - Export Job Number
- lockTimeoutPeriodSQL - If in wait for lock mode and timeout period expires for sql query, force the lock
- lockRetryInterval - specify the retry interval if in wait for lock mode and the action acquireLock failed
- workItemId - ID of the work item to be lockedOutputs
Outputs
- lockName - Name of the lock (if successfully acquired)
- lockActionStatus - Results of lockAction (SUCCESS or FAIL)
- lockActionErrMsg - Detailed error message if lockAction is FAIL