Sometimes it may be necessary to delay the execution of an xUML service. To block the current activity for a given period of time, you can use the Block Thread Adapter.
Figure: Block Thread Action
![](/download/attachments/2286936/thread_block.png?version=1&modificationDate=1507647290000&api=v2)
You can use the Action Wizard to add a <<BlockThread>> action. Add an empty action node and select E2E Action Wizard from the context menu.
Parameters
Name | Type | Direction | Mandatory | Description | Allowed Values |
---|
time | Integer | in | ![(tick)](/s/ayhbr5/8804/pkry9k/_/images/icons/emoticons/check.svg) | Specify a period of time in seconds defining the sleep time. | any integer |
highResolutionTime | Integer | in | ![(tick)](/s/ayhbr5/8804/pkry9k/_/images/icons/emoticons/check.svg) | Specify a period of time in milliseconds defining the sleep time. | any integer |