<?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 User task with form property having default value is not settting in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/user-task-with-form-property-having-default-value-is-not/m-p/131665#M92535</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;&amp;nbsp; I have created user task with one of the form property defined with default value, but this value is not setting for user task.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;userTask id="HumanTask" name="HumanTask" activiti:candidateGroups="User"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;extensionElements&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &amp;lt;activiti:formProperty id="State" name="CurrentState" type="string" expression="${CurrentState}" default="ACTIVE"&amp;gt;&amp;nbsp; &amp;lt;/activiti:formProperty&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;activiti:taskListener event="all" expression="#{customTaskListner.notify(task)}"&amp;gt;&amp;lt;/activiti:taskListener&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/&amp;lt;extensionElements&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/userTask &amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But when I use the following print statement in user task listener , the value is getting as null&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; system.out.println( delegateTask.getVariableLocal("CurrentState"));&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; is it not possible to set the user task form property with default value, so that local variable is created automatically for the user task?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Jul 2013 10:39:31 GMT</pubDate>
    <dc:creator>ganeshr</dc:creator>
    <dc:date>2013-07-23T10:39:31Z</dc:date>
    <item>
      <title>User task with form property having default value is not settting</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/user-task-with-form-property-having-default-value-is-not/m-p/131665#M92535</link>
      <description>Hi,&amp;nbsp; I have created user task with one of the form property defined with default value, but this value is not setting for user task. &amp;lt;userTask id="HumanTask" name="HumanTask" activiti:candidateGroups="User"&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;extensionElements&amp;gt;&amp;nbsp;&amp;nbsp; &amp;lt;activiti:formProperty id="State" name="CurrentState</description>
      <pubDate>Tue, 23 Jul 2013 10:39:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/user-task-with-form-property-having-default-value-is-not/m-p/131665#M92535</guid>
      <dc:creator>ganeshr</dc:creator>
      <dc:date>2013-07-23T10:39:31Z</dc:date>
    </item>
    <item>
      <title>Re: User task with form property having default value is not settting</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/user-task-with-form-property-having-default-value-is-not/m-p/131666#M92536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm not sure default values are supported … can you paste your xml again? It's not showing&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jul 2013 09:39:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/user-task-with-form-property-having-default-value-is-not/m-p/131666#M92536</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2013-07-24T09:39:18Z</dc:date>
    </item>
    <item>
      <title>Re: User task with form property having default value is not settting</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/user-task-with-form-property-having-default-value-is-not/m-p/131667#M92537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Here is the bpm xml file..&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jul 2013 13:36:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/user-task-with-form-property-having-default-value-is-not/m-p/131667#M92537</guid>
      <dc:creator>ganeshr</dc:creator>
      <dc:date>2013-07-24T13:36:29Z</dc:date>
    </item>
    <item>
      <title>Re: User task with form property having default value is not settting</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/user-task-with-form-property-having-default-value-is-not/m-p/131668#M92538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No we don't have support for that. You should fill the default value yourself before the user task.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It would a good addition though, so could you create a JIRA issue?&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>Thu, 25 Jul 2013 10:08:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/user-task-with-form-property-having-default-value-is-not/m-p/131668#M92538</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2013-07-25T10:08:31Z</dc:date>
    </item>
  </channel>
</rss>

