<?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: Assignee Constraint and not able to view all fields during Workflow in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/assignee-constraint-and-not-able-to-view-all-fields-during/m-p/298961#M252091</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I had some support from another user who uses Alfresco. Below is the javascript I used in order to assign a user to the task by a selection the user selected in the task before it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;javascript&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;function doReviewTaskStart () {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;task.setAssignee('assignee name')&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;if ('workflow prefix_property name' == 'value from property');&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/javascript&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Below is an example with actual values in it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;javascript&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;function doExecutiveTaskStart () {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;task.setAssignee('John')&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;if ('research_animal' == 'Giant Panda');&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/javascript&amp;gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Jul 2013 16:46:35 GMT</pubDate>
    <dc:creator>intrinsic</dc:creator>
    <dc:date>2013-07-23T16:46:35Z</dc:date>
    <item>
      <title>Assignee Constraint and not able to view all fields during Workflow</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/assignee-constraint-and-not-able-to-view-all-fields-during/m-p/298959#M252089</link>
      <description>Hello world,I have 2 problems I am facing when deploying a workflow.I am using Eclipse Juno with Activiti to create the workflows and I am deploying them into an Alfresco 4.2 Community version (on my laptop) for testing.Problem 1At the moment I have 4 steps in the workflow. startTask - reviewTask -</description>
      <pubDate>Fri, 12 Jul 2013 10:11:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/assignee-constraint-and-not-able-to-view-all-fields-during/m-p/298959#M252089</guid>
      <dc:creator>intrinsic</dc:creator>
      <dc:date>2013-07-12T10:11:57Z</dc:date>
    </item>
    <item>
      <title>Re: Assignee Constraint and not able to view all fields during Workflow</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/assignee-constraint-and-not-able-to-view-all-fields-during/m-p/298960#M252090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;After working for 2 days trying to find the solution I finally found it. Due to my lack of experience it was a really simple fix.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;By simply adding a javascript file with the below code, the information on task 2, task 3 and so on are now captured and are presented in the tasks that follow.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;javascript&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;function doReviewTaskComplete () {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;execution.setVariable('retest_reviewComment', task.getVariable('retest_reviewComment'));&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/javascript&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I didn't know you had to add javascript at the end of each task in order to capture the new data. But at least I figured it out.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Jul 2013 19:54:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/assignee-constraint-and-not-able-to-view-all-fields-during/m-p/298960#M252090</guid>
      <dc:creator>intrinsic</dc:creator>
      <dc:date>2013-07-14T19:54:51Z</dc:date>
    </item>
    <item>
      <title>Re: Assignee Constraint and not able to view all fields during Workflow</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/assignee-constraint-and-not-able-to-view-all-fields-during/m-p/298961#M252091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I had some support from another user who uses Alfresco. Below is the javascript I used in order to assign a user to the task by a selection the user selected in the task before it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;javascript&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;function doReviewTaskStart () {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;task.setAssignee('assignee name')&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;if ('workflow prefix_property name' == 'value from property');&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/javascript&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Below is an example with actual values in it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;javascript&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;function doExecutiveTaskStart () {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;task.setAssignee('John')&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;if ('research_animal' == 'Giant Panda');&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/javascript&amp;gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jul 2013 16:46:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/assignee-constraint-and-not-able-to-view-all-fields-during/m-p/298961#M252091</guid>
      <dc:creator>intrinsic</dc:creator>
      <dc:date>2013-07-23T16:46:35Z</dc:date>
    </item>
  </channel>
</rss>

