on ‎2020 Jan 14 7:15 AM
Hi,
I have 3 consecutive background tasks in a workflow definition, what we are observing is global data, locks, update processes are shared across the background tasks. Is there any way to create a separate session for each background task?
Thanks in Advance!
Aswin
Request clarification before answering.
Hi,
When you have many background tasks, all with various update dependencies then I suggest to reconsider this approach and try to put everything in 1 background task.
Another way is to find out if those background tasks trigger any events. Then make the background tasks asynchronous and add the events as terminating events.
And another way is to extend the code of the background tasks to first check if something is locked and if it is, throw a temporary error. that way it should get picked up by job SWWERRE.
Kind regards, Rob Dielemans
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your help Rob!, I followed your last option and I am able to resolved the locking issues with that.
Regards
Aswani
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 12 | |
| 9 | |
| 7 | |
| 5 | |
| 4 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.