<?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: Process Instance Variables in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/process-instance-variables/m-p/238519#M191649</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What I am looking for are what are the form properties of the start form for a process.&amp;nbsp; I am using the Vacation Request process that is part of the examples.&amp;nbsp; If I do not include all of the variables in the start form, Activiti will return a warning.&amp;nbsp; So, I want to get the list of form properties to I can verify all of the data will be populated before starting.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think that I am on the right track with this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;java&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; String processDefinitionId = processEngine.getRepositoryService().createProcessDefinitionQuery().processDefinitionKey(processName).latestVersion().list().get(0).getId();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; StartFormData startForm = processEngine.getFormService().getStartFormData(processDefinitionId);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; List&amp;lt;FormProperty&amp;gt; startFormProperties = startForm.getFormProperties();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/java&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The list that is returned is all of the start form properties, the field names and their type.&amp;nbsp; This appears to be what I am looking for.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The only aspect left is to find the activiti initiator variable name&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Jan 2016 12:33:28 GMT</pubDate>
    <dc:creator>michael_eyre</dc:creator>
    <dc:date>2016-01-28T12:33:28Z</dc:date>
    <item>
      <title>Process Instance Variables</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/process-instance-variables/m-p/238517#M191647</link>
      <description>I am working on an integration with Activiti and a java REST application.&amp;nbsp; The application is designed to receive JSON data and start the specified process instance by the key.&amp;nbsp; What I want to do is to get the list of starter variables for the process instance to verify all of the necessary values a</description>
      <pubDate>Wed, 27 Jan 2016 14:47:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/process-instance-variables/m-p/238517#M191647</guid>
      <dc:creator>michael_eyre</dc:creator>
      <dc:date>2016-01-27T14:47:15Z</dc:date>
    </item>
    <item>
      <title>Re: Process Instance Variables</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/process-instance-variables/m-p/238518#M191648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Mike.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The information about mandatory variables required at the process start is not part of the default BPMN model.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Possible solutions:&lt;/SPAN&gt;&lt;BR /&gt;&lt;UL&gt;* extend BPMN model (use extension elements)&lt;BR /&gt;* use current extensions (e.g. use reference to the form and describe required variables there)&lt;BR /&gt;* describe mandatory variables outside of BPMN model&lt;/UL&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jan 2016 08:04:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/process-instance-variables/m-p/238518#M191648</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2016-01-28T08:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: Process Instance Variables</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/process-instance-variables/m-p/238519#M191649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What I am looking for are what are the form properties of the start form for a process.&amp;nbsp; I am using the Vacation Request process that is part of the examples.&amp;nbsp; If I do not include all of the variables in the start form, Activiti will return a warning.&amp;nbsp; So, I want to get the list of form properties to I can verify all of the data will be populated before starting.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think that I am on the right track with this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;java&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; String processDefinitionId = processEngine.getRepositoryService().createProcessDefinitionQuery().processDefinitionKey(processName).latestVersion().list().get(0).getId();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; StartFormData startForm = processEngine.getFormService().getStartFormData(processDefinitionId);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; List&amp;lt;FormProperty&amp;gt; startFormProperties = startForm.getFormProperties();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/java&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The list that is returned is all of the start form properties, the field names and their type.&amp;nbsp; This appears to be what I am looking for.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The only aspect left is to find the activiti initiator variable name&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jan 2016 12:33:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/process-instance-variables/m-p/238519#M191649</guid>
      <dc:creator>michael_eyre</dc:creator>
      <dc:date>2016-01-28T12:33:28Z</dc:date>
    </item>
    <item>
      <title>Re: Process Instance Variables</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/process-instance-variables/m-p/238520#M191650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Michael,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;yes, that's option 2.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;initiator -&amp;gt; have a look org.activiti.engine.impl.bpmn.parser.handler.StartEventParseHandler#createProcessDefinitionStartEvent. could help. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jan 2016 13:05:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/process-instance-variables/m-p/238520#M191650</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2016-01-28T13:05:06Z</dc:date>
    </item>
    <item>
      <title>Re: Process Instance Variables</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/process-instance-variables/m-p/238521#M191651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Will this give me the name of the field that the initiator variable that the data will be put in or will it give me the value that was put into the initiator variable?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jan 2016 14:10:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/process-instance-variables/m-p/238521#M191651</guid>
      <dc:creator>michael_eyre</dc:creator>
      <dc:date>2016-01-28T14:10:10Z</dc:date>
    </item>
    <item>
      <title>Re: Process Instance Variables</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/process-instance-variables/m-p/238522#M191652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Michael,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;have a look on &lt;/SPAN&gt;&lt;CODE&gt;org.activiti.engine.test.bpmn.usertask.InitiatorTest#testInitiator&lt;/CODE&gt;&lt;SPAN&gt; in Activiti source. jUnit tests are the best way to describe the behaviour.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jan 2016 07:52:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/process-instance-variables/m-p/238522#M191652</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2016-01-29T07:52:45Z</dc:date>
    </item>
  </channel>
</rss>

