<?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>topic Re: assigning user to a User task in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/assigning-user-to-a-user-task/m-p/5209#M2540</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe I dont understand the specifics, but why cant you add a simple script task after the start event, test for an assignee variable, if not set, then set it to unassigned and then move to the gateway.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again, maybe I am missing something in the translation.&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;&lt;P&gt;&lt;A href="https://migration33.stage.lithium.com/t5/tag/bp3/tg-p"&gt;&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Feb 2017 17:56:58 GMT</pubDate>
    <dc:creator>gdharley</dc:creator>
    <dc:date>2017-02-09T17:56:58Z</dc:date>
    <item>
      <title>assigning user to a User task</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/assigning-user-to-a-user-task/m-p/5208#M2539</link>
      <description>Above is a workflow diagram, here I have taken a start form with a people field to set assignee for check stock on start event.I'm using a inclusive gateway with condition whether assignee is empty or not, hence if assignee is not empty token moves to the check stock. But the scenario could be like</description>
      <pubDate>Thu, 09 Feb 2017 10:33:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/assigning-user-to-a-user-task/m-p/5208#M2539</guid>
      <dc:creator>dharamjeet</dc:creator>
      <dc:date>2017-02-09T10:33:08Z</dc:date>
    </item>
    <item>
      <title>Re: assigning user to a User task</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/assigning-user-to-a-user-task/m-p/5209#M2540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe I dont understand the specifics, but why cant you add a simple script task after the start event, test for an assignee variable, if not set, then set it to unassigned and then move to the gateway.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again, maybe I am missing something in the translation.&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;&lt;P&gt;&lt;A href="https://migration33.stage.lithium.com/t5/tag/bp3/tg-p"&gt;&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2017 17:56:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/assigning-user-to-a-user-task/m-p/5209#M2540</guid>
      <dc:creator>gdharley</dc:creator>
      <dc:date>2017-02-09T17:56:58Z</dc:date>
    </item>
    <item>
      <title>Re: assigning user to a User task</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/assigning-user-to-a-user-task/m-p/5210#M2541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Greg, you are right I can check the assignee variable if it is empty or not, but to perform a user task assignee is must.&lt;/P&gt;&lt;P&gt;In my scenario I need to start a process either by setting the assignee or without it, apart from that I need to maintain a process variable named 'status' as 'unassigned' in case when assignee is not provided which i can do in script task. I'm stuck at the point when no assignee is provided during start event and &amp;nbsp;I want to move to 'check stock' User task only if assignee is provided. So let say if I don't provide the assignee during start event ,at inclusive gate i can check for the assignee field if it is not present I pass the flow to script task,At this point I have to hold on to a state until i get the assignee before moving to check stock. I don't find a way to get assignee at this point because no task is assigned to any user then how should i get the assignee field?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2017 19:50:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/assigning-user-to-a-user-task/m-p/5210#M2541</guid>
      <dc:creator>dharamjeet</dc:creator>
      <dc:date>2017-02-09T19:50:33Z</dc:date>
    </item>
    <item>
      <title>Re: assigning user to a User task</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/assigning-user-to-a-user-task/m-p/5211#M2542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh, thats easy.&lt;/P&gt;&lt;P&gt;Use a task listener associated with the "assign" event on the "Check Stock" task.&lt;/P&gt;&lt;P&gt;If there is already an assignee, then fall out of the listener, if there is no assignee, set it on the task (task.setAssignee(id)) frm the variable the script populated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;&lt;P&gt;&lt;A href="https://migration33.stage.lithium.com/t5/tag/bp3/tg-p"&gt;&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2017 19:54:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/assigning-user-to-a-user-task/m-p/5211#M2542</guid>
      <dc:creator>gdharley</dc:creator>
      <dc:date>2017-02-09T19:54:47Z</dc:date>
    </item>
    <item>
      <title>Re: assigning user to a User task</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/assigning-user-to-a-user-task/m-p/5212#M2543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Appreciate your help Greg , Thank you so much, I'll try it.&lt;/P&gt;&lt;P&gt;I guess In this case when no assignee is provided I have to set it through listener you mean so &amp;nbsp;there is no meaning to maintain status as 'unassigned' since in both way it will get to check stock user task and I have to set the status to assigned.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2017 20:09:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/assigning-user-to-a-user-task/m-p/5212#M2543</guid>
      <dc:creator>dharamjeet</dc:creator>
      <dc:date>2017-02-09T20:09:47Z</dc:date>
    </item>
  </channel>
</rss>

