<?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: Reassign task in Alfresco Javascript in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/reassign-task-in-alfresco-javascript/m-p/267445#M220575</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Sokolko,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Reassignment of a task is possible by having a condition in the user Task itself.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For Eg: You can have a condition in the task "Reassign : Yes/No" and based on the selection route the flow of the task accordingly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The listener code in the user task can be like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;check_CUN01=task.getVariable('reassign_check_CUN01');&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;execution.setVariable('reassign_check_CUN01',check_CUN01);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and the main config of the conditions can be: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;${reassign_check_CUN01=='No'}&amp;nbsp; [flow should route to next user]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;${reassign_check_CUN01=='Yes'} [flow should route to the person whom task should be reassigned]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This way you can reassign the task to a user based on the condition.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Robin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 May 2012 12:04:20 GMT</pubDate>
    <dc:creator>robin</dc:creator>
    <dc:date>2012-05-21T12:04:20Z</dc:date>
    <item>
      <title>Reassign task in Alfresco Javascript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/reassign-task-in-alfresco-javascript/m-p/267444#M220574</link>
      <description>Hello, all!I've searched across the web, but I still can't find a way to reassign a task to the specified user. I need something like "Reassign" button, but done with my own script during the workflow. Maybe anyone has any idea, how this can be done in Alfresco?</description>
      <pubDate>Fri, 04 May 2012 10:48:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/reassign-task-in-alfresco-javascript/m-p/267444#M220574</guid>
      <dc:creator>sokolko</dc:creator>
      <dc:date>2012-05-04T10:48:01Z</dc:date>
    </item>
    <item>
      <title>Re: Reassign task in Alfresco Javascript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/reassign-task-in-alfresco-javascript/m-p/267445#M220575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Sokolko,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Reassignment of a task is possible by having a condition in the user Task itself.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For Eg: You can have a condition in the task "Reassign : Yes/No" and based on the selection route the flow of the task accordingly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The listener code in the user task can be like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;check_CUN01=task.getVariable('reassign_check_CUN01');&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;execution.setVariable('reassign_check_CUN01',check_CUN01);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and the main config of the conditions can be: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;${reassign_check_CUN01=='No'}&amp;nbsp; [flow should route to next user]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;${reassign_check_CUN01=='Yes'} [flow should route to the person whom task should be reassigned]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This way you can reassign the task to a user based on the condition.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Robin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2012 12:04:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/reassign-task-in-alfresco-javascript/m-p/267445#M220575</guid>
      <dc:creator>robin</dc:creator>
      <dc:date>2012-05-21T12:04:20Z</dc:date>
    </item>
  </channel>
</rss>

