cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Session sharing between multiple background work items

Aswin
Explorer
0 Likes
570

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

View Entire Topic
Former Member

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