Async Service Task
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2016 02:28 AM
We have a requirement where my service task has to trigger an API to perform some operations and wait indefinitely until it gets a signal/async-event that the operation is successful and it can now move to next task.
Not sure if merely making an service task as async will help. What could be the better approach?
Not sure if merely making an service task as async will help. What could be the better approach?
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2016 02:48 AM
Hi Amit,
Making task async does not make service call asynchronous (see http://activiti.org/userguide/index.html#bpmnConcurrencyAndTransactions)
Use:
Regards
Martin
Making task async does not make service call asynchronous (see http://activiti.org/userguide/index.html#bpmnConcurrencyAndTransactions)
Use:
Activiti
start -> service call ————————> intermediate message/signal -> end
/\ /\
——— | |——————————————|————————————
\/ answer immediately |
take request ——— process request ——– send signal/message to activiti
called system
Regards
Martin
