<?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: Creating task variables using java api in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/creating-task-variables-using-java-api/m-p/30013#M12767</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you explain more ! , what do you mean by replacing , is it completing the old task ? , the new task doesn't belong to any process , do you want to get the task form data of the old one and save it to the new one ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 08 Oct 2017 13:55:53 GMT</pubDate>
    <dc:creator>bhchemss</dc:creator>
    <dc:date>2017-10-08T13:55:53Z</dc:date>
    <item>
      <title>Creating task variables using java api</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/creating-task-variables-using-java-api/m-p/30008#M12762</link>
      <description>Dear allIs it possible to add new task variables using java api?&amp;nbsp;Ex : User task initially has 3 form properties , and using java api we use something like :task.addFormProperty(Variable_Name , VAriable_Type ,Readable , writable , Required);So is that possible?Thanks</description>
      <pubDate>Thu, 05 Oct 2017 13:44:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/creating-task-variables-using-java-api/m-p/30008#M12762</guid>
      <dc:creator>aabb_activiti</dc:creator>
      <dc:date>2017-10-05T13:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: Creating task variables using java api</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/creating-task-variables-using-java-api/m-p/30009#M12763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's possible to set Variables on task with Java API&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;taskService.setVariable(&lt;A href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" rel="nofollow noopener noreferrer"&gt;String&lt;/A&gt;&amp;nbsp;taskId,&lt;A href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" rel="nofollow noopener noreferrer"&gt;String&lt;/A&gt;&amp;nbsp;variableName,&lt;A href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" rel="nofollow noopener noreferrer"&gt;Object&lt;/A&gt;&amp;nbsp;value)&lt;BR /&gt;&lt;BR /&gt;Or Locally with :&lt;BR /&gt;&lt;BR /&gt;&lt;P&gt;setVariableLocal(&lt;A href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" rel="nofollow noopener noreferrer"&gt;String&lt;/A&gt;&amp;nbsp;taskId,&lt;A href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" rel="nofollow noopener noreferrer"&gt;String&lt;/A&gt;&amp;nbsp;variableName,&lt;A href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" rel="nofollow noopener noreferrer"&gt;Object&lt;/A&gt;&amp;nbsp;value)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.activiti.org/javadocs/index.html?_ga=2.260827917.1407447134.1506926362-219430293.1487752770" title="https://www.activiti.org/javadocs/index.html?_ga=2.260827917.1407447134.1506926362-219430293.1487752770" rel="nofollow noopener noreferrer"&gt;Activiti - Engine 5.22.0 API&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Hope this help&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Oct 2017 07:15:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/creating-task-variables-using-java-api/m-p/30009#M12763</guid>
      <dc:creator>bhchemss</dc:creator>
      <dc:date>2017-10-06T07:15:57Z</dc:date>
    </item>
    <item>
      <title>Re: Creating task variables using java api</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/creating-task-variables-using-java-api/m-p/30010#M12764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply . However this is not my problem . I want to add a form property to a user task or a process variable to a process programaticaly.&lt;/P&gt;&lt;P&gt;Is this possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Oct 2017 19:17:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/creating-task-variables-using-java-api/m-p/30010#M12764</guid>
      <dc:creator>aabb_activiti</dc:creator>
      <dc:date>2017-10-07T19:17:02Z</dc:date>
    </item>
    <item>
      <title>Re: Creating task variables using java api</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/creating-task-variables-using-java-api/m-p/30011#M12765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah I see ,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am afraid that you only can get the form properties defined in your XML with Java API !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Oct 2017 22:11:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/creating-task-variables-using-java-api/m-p/30011#M12765</guid>
      <dc:creator>bhchemss</dc:creator>
      <dc:date>2017-10-07T22:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: Creating task variables using java api</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/creating-task-variables-using-java-api/m-p/30012#M12766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes , that is true. But there is an approach but i cant get the last step done:&lt;/P&gt;&lt;P&gt;1-Create a user task&amp;nbsp;&lt;/P&gt;&lt;P&gt;2- add your new form properties&amp;nbsp;&lt;/P&gt;&lt;P&gt;3- replace old user task with a new one&lt;/P&gt;&lt;P&gt;I can do 1 and 2 but iam not able to replace the old task with new one.&lt;/P&gt;&lt;P&gt;Do you have any idea?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Oct 2017 13:22:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/creating-task-variables-using-java-api/m-p/30012#M12766</guid>
      <dc:creator>aabb_activiti</dc:creator>
      <dc:date>2017-10-08T13:22:41Z</dc:date>
    </item>
    <item>
      <title>Re: Creating task variables using java api</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/creating-task-variables-using-java-api/m-p/30013#M12767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you explain more ! , what do you mean by replacing , is it completing the old task ? , the new task doesn't belong to any process , do you want to get the task form data of the old one and save it to the new one ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Oct 2017 13:55:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/creating-task-variables-using-java-api/m-p/30013#M12767</guid>
      <dc:creator>bhchemss</dc:creator>
      <dc:date>2017-10-08T13:55:53Z</dc:date>
    </item>
    <item>
      <title>Re: Creating task variables using java api</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/creating-task-variables-using-java-api/m-p/30014#M12768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ofcourse!!&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please consider the following workflow:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="example workflow" class="image-1 jive-image j-img-original" src="https://connect.hyland.com/legacyfs/online/alfresco/16693_Capture.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Assume that user2 UserTask have initially one formProperty.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The number of form properties i need is dynamic and related to a given input.So, im trying to create new usertask (name: user3) and add as much form properties as i want .Finally i replace user2 with user3 .&lt;/P&gt;&lt;P&gt;I hope you can help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Oct 2017 15:47:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/creating-task-variables-using-java-api/m-p/30014#M12768</guid>
      <dc:creator>aabb_activiti</dc:creator>
      <dc:date>2017-10-08T15:47:06Z</dc:date>
    </item>
  </channel>
</rss>

