<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: Session sharing between multiple background work items in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/session-sharing-between-multiple-background-work-items/qaa-p/12127016#M4531435</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;Kind regards, Rob Dielemans&lt;/P&gt;</description>
    <pubDate>Wed, 15 Jan 2020 10:15:31 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2020-01-15T10:15:31Z</dc:date>
    <item>
      <title>Session sharing between multiple background work items</title>
      <link>https://community.sap.com/t5/technology-q-a/session-sharing-between-multiple-background-work-items/qaq-p/12127015</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
  &lt;P&gt;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?&lt;/P&gt;
  &lt;P&gt;Thanks in Advance!&lt;/P&gt;
  &lt;P&gt;Aswin&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jan 2020 07:15:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/session-sharing-between-multiple-background-work-items/qaq-p/12127015</guid>
      <dc:creator>Aswin</dc:creator>
      <dc:date>2020-01-14T07:15:53Z</dc:date>
    </item>
    <item>
      <title>Re: Session sharing between multiple background work items</title>
      <link>https://community.sap.com/t5/technology-q-a/session-sharing-between-multiple-background-work-items/qaa-p/12127016#M4531435</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;Kind regards, Rob Dielemans&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jan 2020 10:15:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/session-sharing-between-multiple-background-work-items/qaa-p/12127016#M4531435</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2020-01-15T10:15:31Z</dc:date>
    </item>
    <item>
      <title>Re: Session sharing between multiple background work items</title>
      <link>https://community.sap.com/t5/technology-q-a/session-sharing-between-multiple-background-work-items/qaa-p/12127017#M4531436</link>
      <description>&lt;P&gt;Thanks for your help Rob!, I followed your last option and I am able to resolved the locking issues with that.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Aswani&lt;/P&gt;</description>
      <pubDate>Fri, 15 May 2020 10:08:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/session-sharing-between-multiple-background-work-items/qaa-p/12127017#M4531436</guid>
      <dc:creator>Aswin</dc:creator>
      <dc:date>2020-05-15T10:08:47Z</dc:date>
    </item>
  </channel>
</rss>

