<?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 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/298959#M252089</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello world,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have 2 problems I am facing when deploying a workflow.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;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.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Problem 1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;At the moment I have 4 steps in the workflow. startTask - reviewTask - approveTask - end&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The information that is placed into startTask is visible in the reviewTask. I then have a few fields that the reviewer fills in. In the approveTask the fields from startTask are visible but the additional fields added during the reviewTask is not visible.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am not sure what additional I need to add in order for the information to be captured and passed through. I have tried so many different ways I can but it always returns (none).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Problem 2&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This is a bit more of an advanced setup which I believe is out of my capabilities but I was wondering if I could just get some more information about it. Is it possible to have a constraint list "ie:item1, item2, item3" then if the user who has started the workflow selects item1 in the list then it would be assigned to assignee1, if the user selects item2 then the workflow will be assigned to assignee2 and so forth. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would greatly appreciate any assistance and if any additional information is needed please let me know.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Jul 2013 10:11:57 GMT</pubDate>
    <dc:creator>intrinsic</dc:creator>
    <dc:date>2013-07-12T10:11:57Z</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>

