Two different flow instance async task problem

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2016 06:37 AM
I have two different flow process A and B
Process A:startEvent—async Task A—endEvent
Process B:startEvent—async Task B—endEvent
async Task A:update Table A
async Task B:select Table A
when this two processes start at the same time,Task B can not get the latest records of Table A even if Task A has updated the records of Table A
Process A:startEvent—async Task A—endEvent
Process B:startEvent—async Task B—endEvent
async Task A:update Table A
async Task B:select Table A
when this two processes start at the same time,Task B can not get the latest records of Table A even if Task A has updated the records of Table A
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2016 04:19 AM
If both tasks are async .. there is no guarantee when they will be called or in what order.
If you need synchronisation you might need to model it explicitely, like using a signal event.
If you need synchronisation you might need to model it explicitely, like using a signal event.
