<?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: Workflow custom form, dynamic select list in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/workflow-custom-form-dynamic-select-list/m-p/286712#M239842</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;There are several ways to do that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The first, if you want to keep the property a string.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If so, just defining a custom constraint on this field for your model that fetches the existing sites and returns their name (or any string based on whatever you want) will do the deal.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The default template for lists will suit just fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The second, if you want it to be an association.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Then just use the default picker template and configure it so that it shows only your sites.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Jan 2014 11:00:24 GMT</pubDate>
    <dc:creator>scouil</dc:creator>
    <dc:date>2014-01-02T11:00:24Z</dc:date>
    <item>
      <title>Workflow custom form, dynamic select list</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/workflow-custom-form-dynamic-select-list/m-p/286711#M239841</link>
      <description>Hi,I have to create a custom form for my custom workflow. I need to add a select list that populates all the existing sites.How can I do that ? I guess it's going to be in :/Applications/alfresco-4.2.e/tomcat/webapps/share/WEB-INF/classes/alfresco/share-workflow-form-config.xml‍‍‍and then something</description>
      <pubDate>Tue, 31 Dec 2013 16:27:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/workflow-custom-form-dynamic-select-list/m-p/286711#M239841</guid>
      <dc:creator>vincent_roye</dc:creator>
      <dc:date>2013-12-31T16:27:35Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow custom form, dynamic select list</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/workflow-custom-form-dynamic-select-list/m-p/286712#M239842</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;There are several ways to do that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The first, if you want to keep the property a string.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If so, just defining a custom constraint on this field for your model that fetches the existing sites and returns their name (or any string based on whatever you want) will do the deal.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The default template for lists will suit just fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The second, if you want it to be an association.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Then just use the default picker template and configure it so that it shows only your sites.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jan 2014 11:00:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/workflow-custom-form-dynamic-select-list/m-p/286712#M239842</guid>
      <dc:creator>scouil</dc:creator>
      <dc:date>2014-01-02T11:00:24Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow custom form, dynamic select list</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/workflow-custom-form-dynamic-select-list/m-p/286713#M239843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Scouil,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for your answer. In my custom workflow, I need to know that site was chosen by the workflow initiator. The candidate group will be all the users belonging to X group from this site. What solution should I use ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you know how I could configure that in my custom workflow ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jan 2014 08:10:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/workflow-custom-form-dynamic-select-list/m-p/286713#M239843</guid>
      <dc:creator>vincent_roye</dc:creator>
      <dc:date>2014-01-03T08:10:00Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow custom form, dynamic select list</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/workflow-custom-form-dynamic-select-list/m-p/286714#M239844</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;Hum that's an interesting one.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Long time I haven't played with workflows so I'm not sure the following is actually possible. That's what I'd look at though if I were you:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- keep the site as an association. Select it with the picker template configured so that it shows only sites (&lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Forms#association.ftl" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Forms#association.ftl&lt;/A&gt;&lt;SPAN&gt; : A combination of startLocation and allowNavigationToContentChildren should do it)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Add a listener that will kick in after your task but before the next&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Here, in a small js, retrieve the site, grab your group and assign it as the group assignee.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It might be a bit tricky if activiti force the group assignee to be properly selected or something but I think it should work.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jan 2014 09:58:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/workflow-custom-form-dynamic-select-list/m-p/286714#M239844</guid>
      <dc:creator>scouil</dc:creator>
      <dc:date>2014-01-03T09:58:12Z</dc:date>
    </item>
  </channel>
</rss>

