<?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: Problem in Workflow agent determination in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/problem-in-workflow-agent-determination/qaa-p/10981646#M4034166</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have set the approval task as "general task" so WF runtime&amp;nbsp; will determine all users as agents in case no agents are found. You have 2 options to handle this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;All the set a fall back agents in agent determination rule. You can set WF-Admin (User, Position) as fall back agents in case no agents are found.&lt;/LI&gt;&lt;LI&gt;You can raise an exception in agent determination method and the workitem will go in error and will be picked up the WF admin for error resolution.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Sandy &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Mar 2015 11:45:37 GMT</pubDate>
    <dc:creator>SandySingh</dc:creator>
    <dc:date>2015-03-25T11:45:37Z</dc:date>
    <item>
      <title>Problem in Workflow agent determination</title>
      <link>https://community.sap.com/t5/technology-q-a/problem-in-workflow-agent-determination/qaq-p/10981643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am triggering a workflow for some event and I am determining agents by writing some code in business object and exporting that variable to workflow. But my problem is, when agent is not found that workitem will be displayed in all SAP user id's.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not able find out the reason, Please suggest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using Fork step before this workitem activity.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;M Chaitanya &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2015 11:05:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/problem-in-workflow-agent-determination/qaq-p/10981643</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-03-25T11:05:14Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Workflow agent determination</title>
      <link>https://community.sap.com/t5/technology-q-a/problem-in-workflow-agent-determination/qaa-p/10981644#M4034164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the task (TS) is General Task (which is normal) then it will go to everyone if no agent is determined.&lt;/P&gt;&lt;P&gt;You have to check your code and see why it returns no agents. At the very least put a check at the end that inserts&amp;nbsp; default agent (e.g. you) if no agents are found.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Rick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2015 11:22:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/problem-in-workflow-agent-determination/qaa-p/10981644#M4034164</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-03-25T11:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Workflow agent determination</title>
      <link>https://community.sap.com/t5/technology-q-a/problem-in-workflow-agent-determination/qaa-p/10981645#M4034165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chaitanya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to remove general task and have to select the agent determination as 'General forwarding not allowed'. Then you can restrict the agents based on position/Job/Org unit/Role.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your case Rule is also a best option. If no agents found, rule will be terminated and will set the workflow status as an error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vijay.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2015 11:26:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/problem-in-workflow-agent-determination/qaa-p/10981645#M4034165</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-03-25T11:26:49Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Workflow agent determination</title>
      <link>https://community.sap.com/t5/technology-q-a/problem-in-workflow-agent-determination/qaa-p/10981646#M4034166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have set the approval task as "general task" so WF runtime&amp;nbsp; will determine all users as agents in case no agents are found. You have 2 options to handle this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;All the set a fall back agents in agent determination rule. You can set WF-Admin (User, Position) as fall back agents in case no agents are found.&lt;/LI&gt;&lt;LI&gt;You can raise an exception in agent determination method and the workitem will go in error and will be picked up the WF admin for error resolution.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Sandy &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2015 11:45:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/problem-in-workflow-agent-determination/qaa-p/10981646#M4034166</guid>
      <dc:creator>SandySingh</dc:creator>
      <dc:date>2015-03-25T11:45:37Z</dc:date>
    </item>
  </channel>
</rss>

