<?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 how to set variables in variable scope for user task in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-set-variables-in-variable-scope-for-user-task/m-p/96118#M66011</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;how to set taskentity variables?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For example, I have a user task called "Review Task", &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Using the api findTaskById, i got the taskentity of "Review Task" but the taskentity.getVariableInstances() returns me always null. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't want the variables to be set in global scope ( process instance variable level), i would like to access few variables in task scope and those variables are not task form data too. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I could see some api, execution.setLocalVariables() but this doesn't help me to access the variables through taskentity.getVariableInstances(). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How do you ensure that certain variables are available to task at task level (not process instance variable) so that I can access them by calling taskentity.getVariableInstances()?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Feb 2012 21:48:22 GMT</pubDate>
    <dc:creator>rohran</dc:creator>
    <dc:date>2012-02-03T21:48:22Z</dc:date>
    <item>
      <title>how to set variables in variable scope for user task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-set-variables-in-variable-scope-for-user-task/m-p/96118#M66011</link>
      <description>how to set taskentity variables?For example, I have a user task called "Review Task", Using the api findTaskById, i got the taskentity of "Review Task" but the taskentity.getVariableInstances() returns me always null. I don't want the variables to be set in global scope ( process instance variable l</description>
      <pubDate>Fri, 03 Feb 2012 21:48:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-set-variables-in-variable-scope-for-user-task/m-p/96118#M66011</guid>
      <dc:creator>rohran</dc:creator>
      <dc:date>2012-02-03T21:48:22Z</dc:date>
    </item>
    <item>
      <title>Re: how to set variables in variable scope for user task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-set-variables-in-variable-scope-for-user-task/m-p/96119#M66012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The best way to interact with tasks is via the TaskService.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This service abstracts all the complexity you are dealing with. You just can get a list of (local) variables.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Feb 2012 10:10:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-set-variables-in-variable-scope-for-user-task/m-p/96119#M66012</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2012-02-06T10:10:46Z</dc:date>
    </item>
  </channel>
</rss>

