<?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 Starting a process by key ignores start form required fields in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/starting-a-process-by-key-ignores-start-form-required-fields/m-p/179786#M132916</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;This may be the expected functionality, but I was wondering if someone could explain why if it is.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I have a startEvent with some required formProperties in it - when I start a process by using &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;FormService.submitStartFormData(String processDefinitionId, Map&amp;lt;String, String&amp;gt; properties)&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt; and do not provide all of the required fields, I get an exception saying a property is required (as expected).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However if I start the process using &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;RuntimeService.startProcessInstanceByKey(String processDefinitionKey, Map&amp;lt;String, Object&amp;gt; variables)&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;, then it does not complain - essentially skipping the start form.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a reason why this would be the case? Is it expected? It seems unusual to me that you can pass a step on the flow in an invalid state.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks in advance,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Richard&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Mar 2015 15:11:33 GMT</pubDate>
    <dc:creator>richardmward</dc:creator>
    <dc:date>2015-03-12T15:11:33Z</dc:date>
    <item>
      <title>Starting a process by key ignores start form required fields</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/starting-a-process-by-key-ignores-start-form-required-fields/m-p/179786#M132916</link>
      <description>Hi,This may be the expected functionality, but I was wondering if someone could explain why if it is.If I have a startEvent with some required formProperties in it - when I start a process by using FormService.submitStartFormData(String processDefinitionId, Map&amp;lt;String, String&amp;gt; properties)‍ and</description>
      <pubDate>Thu, 12 Mar 2015 15:11:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/starting-a-process-by-key-ignores-start-form-required-fields/m-p/179786#M132916</guid>
      <dc:creator>richardmward</dc:creator>
      <dc:date>2015-03-12T15:11:33Z</dc:date>
    </item>
    <item>
      <title>Re: Starting a process by key ignores start form required fields</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/starting-a-process-by-key-ignores-start-form-required-fields/m-p/179787#M132917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No, the method that takes in the variables map is 'lower level' than the form one. It doesn't know about the forms, it just knows about variables (which may or may not map on form fields)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2015 09:16:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/starting-a-process-by-key-ignores-start-form-required-fields/m-p/179787#M132917</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2015-03-17T09:16:17Z</dc:date>
    </item>
  </channel>
</rss>

