<?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 Injecting Field Expressions instead of String in custom task in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/injecting-field-expressions-instead-of-string-in-custom-task/m-p/92025#M62881</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi there,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I just played around with the latest version 5.8.1 and the example for extending the Eclipse Designer. I am really impressed how easy it was to create my own task with my self-defined properties.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For our current use case we need to have some construct like this in the resulting bpmn:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;serviceTask id="serviceTask1" name="Special Service Task" activiti:class="myClass"&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;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;activiti:field name="delegateExpressionProp" expression="${someFixedExpression}" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;activiti:field name="stringValueProp" expression="myStringValue" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/extensionElements&amp;gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/serviceTask&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Our service task has two fields: the 'delegateExpressionProp' should be fixed for this task (no user input, but still in bpmn.xml output file) and 'stringValueProp' which is a required user-input field. No problem with the 'stringValueProp', but I don't see how we can handle the 'delegateExpressionProp':&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(1) the user may not change the value (read only or even better: invisible)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(2) we need the expression, but the output is using activiti:string instead of activiti:expression&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;activiti:field name="delegateExpressionProp"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;activiti:string&amp;gt;${someFixedExpression}&amp;lt;/activiti:string&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/activiti:field&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there any way to influence the behaviour without creating a custom export marshaller as described in the user guide?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your help,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Tobias&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Jan 2012 18:43:45 GMT</pubDate>
    <dc:creator>thilka</dc:creator>
    <dc:date>2012-01-27T18:43:45Z</dc:date>
    <item>
      <title>Injecting Field Expressions instead of String in custom task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/injecting-field-expressions-instead-of-string-in-custom-task/m-p/92025#M62881</link>
      <description>Hi there,I just played around with the latest version 5.8.1 and the example for extending the Eclipse Designer. I am really impressed how easy it was to create my own task with my self-defined properties.For our current use case we need to have some construct like this in the resulting bpmn:&amp;lt;serv</description>
      <pubDate>Fri, 27 Jan 2012 18:43:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/injecting-field-expressions-instead-of-string-in-custom-task/m-p/92025#M62881</guid>
      <dc:creator>thilka</dc:creator>
      <dc:date>2012-01-27T18:43:45Z</dc:date>
    </item>
    <item>
      <title>Re: Injecting Field Expressions instead of String in custom task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/injecting-field-expressions-instead-of-string-in-custom-task/m-p/92026#M62882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&amp;nbsp; Have exactly the same question just today.&amp;nbsp; Have you received any response or solved the problem yourself?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-dan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Mar 2012 19:21:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/injecting-field-expressions-instead-of-string-in-custom-task/m-p/92026#M62882</guid>
      <dc:creator>blezek</dc:creator>
      <dc:date>2012-03-05T19:21:36Z</dc:date>
    </item>
    <item>
      <title>Re: Injecting Field Expressions instead of String in custom task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/injecting-field-expressions-instead-of-string-in-custom-task/m-p/92027#M62883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have the same problem, too. Is there no possibility to do that?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;…I also tried to realize it with a custom ExportMarshaller, but it isn´t that easy like the UserGuide says, i think…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2012 11:26:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/injecting-field-expressions-instead-of-string-in-custom-task/m-p/92027#M62883</guid>
      <dc:creator>pascal1</dc:creator>
      <dc:date>2012-07-31T11:26:33Z</dc:date>
    </item>
  </channel>
</rss>

