<?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 Need something like activiti:formProperty for ServiceTask. Why is it not available? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/need-something-like-activiti-formproperty-for-servicetask-why-is/m-p/188771#M141901</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am thinking of using ServiceTask with arbitrary properties that would be great to have in process definition. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Unfortunately ServiceTask only allows "activiti:field" and that forces your ServiceTask Java class to have only predefined "fields" - properties, basically you can't handle arbitrary number and named "properties" with that layout. You need "activiti:formProperties" or something like it for that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can do it with the "pseudo" lists like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;activiti:field name="propNames" stringValue="name1, name2, …"&amp;gt;&amp;lt;/activiti:field&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;activiti:field name="propValues" expression="${val1}, ${val2}, …" &amp;gt;&amp;lt;/activiti:field&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then split the lists in the code and assign: name1=val1; name2=val2, …&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But this looks real ugly &lt;img id="smileysad" class="emoticon emoticon-smileysad" src="https://connect.hyland.com/i/smilies/16x16_smiley-sad.png" alt="Smiley Sad" title="Smiley Sad" /&gt; (it's OK actually, but feels somewhat unprofessional and "hacky")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a way to get that functionality. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am new to Activiti, so maybe missing some simple thing. Hoping someone already solved that problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;VT&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Jun 2014 05:09:13 GMT</pubDate>
    <dc:creator>vtsurkan</dc:creator>
    <dc:date>2014-06-13T05:09:13Z</dc:date>
    <item>
      <title>Need something like activiti:formProperty for ServiceTask. Why is it not available?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/need-something-like-activiti-formproperty-for-servicetask-why-is/m-p/188771#M141901</link>
      <description>I am thinking of using ServiceTask with arbitrary properties that would be great to have in process definition. Unfortunately ServiceTask only allows "activiti:field" and that forces your ServiceTask Java class to have only predefined "fields" - properties, basically you can't handle arbitrary numbe</description>
      <pubDate>Fri, 13 Jun 2014 05:09:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/need-something-like-activiti-formproperty-for-servicetask-why-is/m-p/188771#M141901</guid>
      <dc:creator>vtsurkan</dc:creator>
      <dc:date>2014-06-13T05:09:13Z</dc:date>
    </item>
    <item>
      <title>Re: Need something like activiti:formProperty for ServiceTask. Why is it not available?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/need-something-like-activiti-formproperty-for-servicetask-why-is/m-p/188772#M141902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;A service task can have any extension element you define. These extension elements are parsed by Activiti and available in the BpmnModel instance of a process definition. The RepositoryService has a method to get the BpmnModel with a process definition identifier.&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, 16 Jun 2014 09:32:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/need-something-like-activiti-formproperty-for-servicetask-why-is/m-p/188772#M141902</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2014-06-16T09:32:12Z</dc:date>
    </item>
  </channel>
</rss>

