Lock and Unlock Nodes Behavior
- Locking Mechanism: The Lock node restricts execution on the current branch. The lock remains active until either the Unlock node releases it, or the branch completes.
- Deadlock Prevention: The Flow Analyzer prevents potential deadlocks by disallowing repeated locking of the same resource within a single branch.
- Split/Join Conditions: Locks can only be released within a Split/Join segment if they were acquired within that segment. The Flow Analyzer will fail if this condition isn’t met.
- Unlock Node Validation: The Unlock node will only release locks that were previously acquired by a corresponding Lock node in the same execution path.