Ask Your Question
0

How do I determine if a task should be executed asynchronously or synchronously?

asked 2017-12-20 04:56:19 -0500

Yuliya gravatar image

How do I determine if a task should be executed asynchronously or synchronously?

edit retag flag offensive close delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-12-20 05:49:12 -0500

SupportProcessMakerIO gravatar image

To define in the BPMN task element as asynchronous, set the asyncBefore extension attribute wihin the task definition. Here is a code snippet <bpmn:scripttask id="Task_1" name="Task 1" pmio:asyncbefore="true"> To execute a task asynchronously, in the BPMN task element set the asyncBefore extension attribute within the task definition using the following code snippet: <bpmn:scripttask id="Task_1" name="Task 1" pmio:asyncbefore="true">.

To execute a task synchronously, set the asyncBefore attribute to "false".

edit flag offensive delete publish link more

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

Add answer

[hide preview]

Question tools

Follow
1 follower

Stats

Asked: 2017-12-20 04:56:19 -0500

Seen: 24 times

Last updated: Dec 20 '17