Hi,
We have a lot of automated tasks in a process which takes a lot of time to complete. Like REST calls to external system OR JMS message send and receive response.
I can do this using two options :
- Service Async task
- Send - receive task: Here we can have one task which will call the external program with correlation id as execution id and move to the next step which would be a receive task. Once we get a response from the external system we can signal the process.
Can someone validate what would be the correct approach.