Step 'Lock' in Process Model

Hi,

Could anyone please explain how does the ‘lock’ property in process steps work. I understand we enable ‘lock’ in case of multiple threads. But does the second thread wanting to use the locked step error out, or will it wait until the lock is released.

Also could you also please suggest how to make the process serial. Senario is the ‘Receive’ step is in an standalone IS but rest of the process steps are in ISs which are part of different clusters.

Env: wM 8

Thanks,
Pramod

[TABLE=“class: Default”]
[TR]
[TD]Allow Parallel Execution
[/TD]
[TD]Lock the step at run-time to allow it to be executed by multiple threads
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Compensating
[/TD]
[/TR]
[/TABLE]
Step Locking
Step locking, otherwise known as parallel execution, allows the step to be executed by multiple threads. You can lock activities (tasks, call activities (including BPMN callable activities and webMethods referenced processes, and subprocesses) and gateways.