Both 'Message throw & catch' VS 'Message Send & Receive' tasks are used to invoke services/Processes asynchronously. That is, once a throw task is executed or a Send task is executed, the token does not wait for the response, rather, it continues to the next task.
Both act almost similarly, however there is a slight difference
You cannot use a Send task to invoke a process that is instantiated with a message start event
AND
You cannot use a throw task to invoke a process that is instantiated with a Message Receive task
All the 4 tasks can be at any place with in a process.
A process can be started using a Message Receive task / Message Catch Event
And at the same time, a Message Receive task / Message Catch Event can even be in mid-process
When a process encounters one of these 2 in the middle of the process, the token waits at that point till it receives that message(from either a Throw task or a Send task)
Message Send and Receive : these tasks can be at any position of the process
Message throw and catch task : These tasks can be at any position of the process
Both act almost similarly, however there is a slight difference
You cannot use a Send task to invoke a process that is instantiated with a message start event
AND
You cannot use a throw task to invoke a process that is instantiated with a Message Receive task
All the 4 tasks can be at any place with in a process.
A process can be started using a Message Receive task / Message Catch Event
And at the same time, a Message Receive task / Message Catch Event can even be in mid-process
When a process encounters one of these 2 in the middle of the process, the token waits at that point till it receives that message(from either a Throw task or a Send task)
Message Send and Receive : these tasks can be at any position of the process
Message throw and catch task : These tasks can be at any position of the process
No comments:
Post a Comment