<?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: Activiti Designer - Dynamic Properties in Custom Task in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/activiti-designer-dynamic-properties-in-custom-task/m-p/46988#M26528</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It was only a Analytical Issue. Now I understood that this scenario is hard to implement and better way is to create 2 different CST &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Since creating CST is not a big coding problem&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Nov 2011 10:02:56 GMT</pubDate>
    <dc:creator>robertkujawa</dc:creator>
    <dc:date>2011-11-17T10:02:56Z</dc:date>
    <item>
      <title>Activiti Designer - Dynamic Properties in Custom Task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-designer-dynamic-properties-in-custom-task/m-p/46979#M26519</link>
      <description>HiI'd like to bring up issue concerning dynamic properties in Custom Service Tasks. The idea is to fill property container from other source . In general scenario:- dropdown property items can be populated from database, some files, etc- properites can changes theirs content in runtime- adding/remov</description>
      <pubDate>Thu, 10 Nov 2011 09:42:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-designer-dynamic-properties-in-custom-task/m-p/46979#M26519</guid>
      <dc:creator>robertkujawa</dc:creator>
      <dc:date>2011-11-10T09:42:16Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti Designer - Dynamic Properties in Custom Task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-designer-dynamic-properties-in-custom-task/m-p/46980#M26520</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;Okay, that sounds like a good addition. Would you like to contribute it?&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>Sat, 12 Nov 2011 18:47:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-designer-dynamic-properties-in-custom-task/m-p/46980#M26520</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2011-11-12T18:47:02Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti Designer - Dynamic Properties in Custom Task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-designer-dynamic-properties-in-custom-task/m-p/46981#M26521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Actually, we've thought about this before. The solution we came up with was to define an interface in Designer that would need to be implemented in an Eclipse extension by you as developer. You could then link the class to the custom service task by class name (we would have to provide an option for that). At runtime, Designer would simply instantiate the class that acts as a provider for the dropdown box and let it do its work to get the options.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What did you have in mind?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Nov 2011 09:57:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-designer-dynamic-properties-in-custom-task/m-p/46981#M26521</guid>
      <dc:creator>tiesebarrell</dc:creator>
      <dc:date>2011-11-13T09:57:36Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti Designer - Dynamic Properties in Custom Task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-designer-dynamic-properties-in-custom-task/m-p/46982#M26522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I can propose some solution. I think I can develop such mechanism using Extension Point but first I have to better understanding some other mechanisms such a how properties are populated to UI, how their are manage, how we can refresh them etc&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2011 12:15:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-designer-dynamic-properties-in-custom-task/m-p/46982#M26522</guid>
      <dc:creator>robertkujawa</dc:creator>
      <dc:date>2011-11-15T12:15:56Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti Designer - Dynamic Properties in Custom Task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-designer-dynamic-properties-in-custom-task/m-p/46983#M26523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;tiesebarrell : I have in mind exactly the same scenario as you&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2011 13:31:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-designer-dynamic-properties-in-custom-task/m-p/46983#M26523</guid>
      <dc:creator>robertkujawa</dc:creator>
      <dc:date>2011-11-15T13:31:26Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti Designer - Dynamic Properties in Custom Task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-designer-dynamic-properties-in-custom-task/m-p/46984#M26524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;OK. After drunk few cups of coffee, revised source code I get into conclusions how this probably should be implemented (it's only a proposals)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) According to my topic &lt;/SPAN&gt;&lt;A href="http://forums.activiti.org/en/viewtopic.php?f=8&amp;amp;t=2718" rel="nofollow noopener noreferrer"&gt;http://forums.activiti.org/en/viewtopic.php?f=8&amp;amp;t=2718&lt;/A&gt;&lt;SPAN&gt; which I posted few days ago, I think we should extend this interface by adding some methods or properties which will be responsible for dynamic part of Custom Service Task. This approach will reduce and simplified code, since only one extension is involved and also reduce extra mapping between CST and dynamic properties (all in one class) in case if we have two EP (Extensions Point), one for CST and one for dynamic data.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2) Another question is how we can identify CST and populating dynamic data. I mean, if we have two identical CST and we want to change data only in one of them how we can recognize, since where aren't (maybe I'm wrong) special identification mechanism &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I omitted something and this is important, don't hesitate to mention this &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2011 16:25:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-designer-dynamic-properties-in-custom-task/m-p/46984#M26524</guid>
      <dc:creator>robertkujawa</dc:creator>
      <dc:date>2011-11-15T16:25:27Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti Designer - Dynamic Properties in Custom Task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-designer-dynamic-properties-in-custom-task/m-p/46985#M26525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Robert,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not at work for the next couple of days, so it may be a while before I get back to you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I agree that this would best fit an approach to CSTs where the CSTs are already defined in an extension, not in a regular JAR (there's no real easy way to maken the instantiation work and get to Eclipse stuff). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To identify CSTs, I believe we now use fully qualified class names and I would suggest we maintain it that way. I think the values should be looked up by instantiating the class and asking it for the possible values, but storage in the model can remain the way it is. We already have a similar option for comboboxes with statically defined values, so it should be simple to have a "Repository" implementation for CSTs 1 and 2 (so two extensions to the same extension point, two implementation classes) and ask each one of them if they can provide values for a CST of type &amp;lt;FullyQualifiedName&amp;gt;. If so, we take the values and create a combobox. If not, we move on to the next extension.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;With regards to your second question, do you mean having two fields on 1 CST that need different data? In that case I think we need Field IDs, which we don't have at the moment. However, if we allow you to specify that ID string in the @PropertyItems annotation instead of static values, I think we could make a nice match with the existing functionality and get down to the field specific level&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does this make sense for your use case?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2011 21:18:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-designer-dynamic-properties-in-custom-task/m-p/46985#M26525</guid>
      <dc:creator>tiesebarrell</dc:creator>
      <dc:date>2011-11-15T21:18:15Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti Designer - Dynamic Properties in Custom Task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-designer-dynamic-properties-in-custom-task/m-p/46986#M26526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;tiesebarrell,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;By identify CST I mean&amp;nbsp; there are two equal CST on the canvas. For example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;First is called "Gate1" and second "Gate2" which only names are different, but body remains the same and same amount of properties inside. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So the question is: how I can recognized particular CST to populate data only to one them (i.e new combo items)?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Nov 2011 09:20:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-designer-dynamic-properties-in-custom-task/m-p/46986#M26526</guid>
      <dc:creator>robertkujawa</dc:creator>
      <dc:date>2011-11-16T09:20:49Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti Designer - Dynamic Properties in Custom Task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-designer-dynamic-properties-in-custom-task/m-p/46987#M26527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;robert, do you mean you would want to populate the combobox differently for one cst than for the other, using the same extension? so you need the context of the particular cst's id to be able to keep them apart? I never thought of that use case to be honest. At the moment that would be hard to do I suppose, although in principle we should be able to supply the id as context. I'm wondering how you would be able to use the id to determine what to do?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2011 09:46:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-designer-dynamic-properties-in-custom-task/m-p/46987#M26527</guid>
      <dc:creator>tiesebarrell</dc:creator>
      <dc:date>2011-11-17T09:46:36Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti Designer - Dynamic Properties in Custom Task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-designer-dynamic-properties-in-custom-task/m-p/46988#M26528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It was only a Analytical Issue. Now I understood that this scenario is hard to implement and better way is to create 2 different CST &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Since creating CST is not a big coding problem&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2011 10:02:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-designer-dynamic-properties-in-custom-task/m-p/46988#M26528</guid>
      <dc:creator>robertkujawa</dc:creator>
      <dc:date>2011-11-17T10:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti Designer - Dynamic Properties in Custom Task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-designer-dynamic-properties-in-custom-task/m-p/46989#M26529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;- dropdown property items can be populated from database, some files, etc&lt;BR /&gt;- properites can changes theirs content in runtime&lt;BR /&gt;- adding/removing properties in runtime&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I just have the same problem: I want to fill the PropertyItems of a COMBOBOX_Choice by an Array/List that depends on a config-file. But there is only the "static" way &lt;/SPAN&gt;&lt;CODE&gt;@PropertyItems({ ACCOUNT_TYPE_SAVINGS_LABEL, ACCOUNT_TYPE_SAVINGS_VALUE})&lt;/CODE&gt;&lt;SPAN&gt; ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is something, discussed in this thread, implemented yet? An Interface or a possibility to change the PropertyItems?&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;Pascal&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Aug 2012 09:37:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-designer-dynamic-properties-in-custom-task/m-p/46989#M26529</guid>
      <dc:creator>pascal1</dc:creator>
      <dc:date>2012-08-02T09:37:16Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti Designer - Dynamic Properties in Custom Task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-designer-dynamic-properties-in-custom-task/m-p/46990#M26530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There was only a discussion here. As far as I know, no definitive plan was drafted to implement these things. If you have ideas, please post them.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Aug 2012 09:39:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-designer-dynamic-properties-in-custom-task/m-p/46990#M26530</guid>
      <dc:creator>tiesebarrell</dc:creator>
      <dc:date>2012-08-02T09:39:49Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti Designer - Dynamic Properties in Custom Task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-designer-dynamic-properties-in-custom-task/m-p/46991#M26531</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;I'm really interested in the option of use a combobox which is populated from an external datasource (url, database or something like that).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In my opinion, it could be done in two ways:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) as already suggested in this post, load the value list from a class (which should be referenced in the annotation). The class should be available in the classpath of the eclipse designer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2) "transform" the combox in a text field with an help option where a new window would appear (when clicked) with a list (or tree) of data. The user could then select the data from the tree, and when the window in closed the selected values should be passed to the form. In the property annotation it would be necessary to indicate the source (java class) for the data.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm available to contribute for both of the options.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;André Macedo.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Aug 2014 16:16:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-designer-dynamic-properties-in-custom-task/m-p/46991#M26531</guid>
      <dc:creator>cortelos</dc:creator>
      <dc:date>2014-08-29T16:16:29Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti Designer - Dynamic Properties in Custom Task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-designer-dynamic-properties-in-custom-task/m-p/46992#M26532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey was this ever implemented?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Nov 2016 22:23:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-designer-dynamic-properties-in-custom-task/m-p/46992#M26532</guid>
      <dc:creator>javaj3d1</dc:creator>
      <dc:date>2016-11-07T22:23:09Z</dc:date>
    </item>
  </channel>
</rss>

