Processes with Locks
Locks are used to prevent processes running simultaneously. There are three types of locks:
- Simple - the process that holds the lock runs exclusively
- Counted - a specific number of jobs can hold the lock simultaneously
- SharedExclusive - locks have a count property which defines the total counts that can be held at any given time. Processes can start when enough counts are available for them to get hold of the lock. A process that require all counts of this type of lock run exclusively.
A process that is attached to a lock can only start running when it can get hold of the lock. As soon as a process that has held [part of] a lock has reached a final state, it releases the lock. To assign a lock to the process definition or chain definition, simply choose an empty row in the table of the Lock tab and select the name of an existing lock.
Values
Field | Description | Default Value |
---|---|---|
Lock | The name of the lock the process will take and wait upon | |
Count | The number of lock counts this job definition requires |
JobChain JobDefinition ProcessDefinition