<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Can I create a Picker of Process Models?</title><link>https://community.appian.com/discussions/f/user-interface/10549/can-i-create-a-picker-of-process-models</link><description>Is it possible to add a Picker to a form that selects from Process Models? (Like you see in the interface designer).</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Can I create a Picker of Process Models?</title><link>https://community.appian.com/thread/46143?ContentTypeID=1</link><pubDate>Thu, 15 Jun 2017 01:56:56 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:791303d1-ecbe-4d80-9e73-acc70f68643b</guid><dc:creator>rishirajk</dc:creator><description>Unfortunately it&amp;#39;s an internal plugin and I don&amp;#39;t have access to the plugin jar. But you can develop the plugin by using following plugin source code as reference :&lt;br /&gt;
&lt;a href="https://forum.appian.com/suite/tempo/records/item/lIBCLGOdlMUpdGVqW3dQaIKmclBmvvNEj8vu_cjb7T-5YiPr4Fu8ly5Yj1s09uenE4RYzA8zKyx7eiUjehE6c4co9Y9YmYyXyje4cU5tvLsZq51/view/summary"&gt;forum.appian.com/.../summary&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Following is the link of the API interface where you&amp;#39;ll be able to find the methods to implement this plugin&lt;br /&gt;
&lt;br /&gt;
&lt;a href="https://docs.appian.com/suite/help/17.2/api/com/appiancorp/suiteapi/process/ProcessDesignService.html"&gt;docs.appian.com/.../ProcessDesignService.html&lt;/a&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can I create a Picker of Process Models?</title><link>https://community.appian.com/thread/46125?ContentTypeID=1</link><pubDate>Wed, 14 Jun 2017 12:56:16 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2214a38d-37e4-45d2-b8b1-d2566ac53dff</guid><dc:creator>Jason Ruvinsky</dc:creator><description>Thanks, that&amp;#39;s a good potential solution. Is getprocessmodelsbyfolder available as a plugin on Forum?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can I create a Picker of Process Models?</title><link>https://community.appian.com/thread/46117?ContentTypeID=1</link><pubDate>Wed, 14 Jun 2017 05:54:07 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:79f2d3dd-2ff9-4fc8-a07f-410dadcb4edd</guid><dc:creator>rishirajk</dc:creator><description>You can try custom picker.  Following is SAIL recepie code  for custom picker that I modified to update for process models (Appian version 16.3):&lt;br /&gt;
&lt;br /&gt;
=load(&lt;br /&gt;
  local!pickedprocessModels: {},&lt;br /&gt;
  local!processModelLabels: index(getprocessmodelsbyfolder(32,a!pagingInfo(startIndex:1,batchSize:4 )),&amp;quot;name&amp;quot;),&lt;br /&gt;
  local!processModelAbbreviations: index(getprocessmodelsbyfolder(32,a!pagingInfo(startIndex:1,batchSize:4 )),&amp;quot;id&amp;quot;),&lt;br /&gt;
  a!formLayout(&lt;br /&gt;
    firstColumnContents: {&lt;br /&gt;
      a!pickerFieldCustom(&lt;br /&gt;
        label: &amp;quot;Process Models&amp;quot;,&lt;br /&gt;
       &lt;br /&gt;
        maxSelections: 3,&lt;br /&gt;
        suggestFunction: rule!test_filterRule(filter: _, labels: local!processModelLabels, identifiers: local!processModelAbbreviations),&lt;br /&gt;
        selectedLabels: if(&lt;br /&gt;
          count(local!pickedprocessModels) = 0,&lt;br /&gt;
          null,&lt;br /&gt;
          apply(&lt;br /&gt;
            rule!test_FilterDisplayRule(identifier: _, labels: local!processModelLabels, identifiers: local!processModelAbbreviations),&lt;br /&gt;
            local!pickedprocessModels&lt;br /&gt;
          )&lt;br /&gt;
        ),&lt;br /&gt;
        value: local!pickedprocessModels,&lt;br /&gt;
        saveInto: local!pickedprocessModels&lt;br /&gt;
      ),&lt;br /&gt;
      a!textField(&lt;br /&gt;
        label: &amp;quot;Selected Data&amp;quot;,&lt;br /&gt;
        value: toprocessmodel(local!pickedprocessModels),&lt;br /&gt;
        readOnly: true&lt;br /&gt;
      )&lt;br /&gt;
    }&lt;br /&gt;
  )&lt;br /&gt;
)&lt;br /&gt;
&lt;br /&gt;
Note: getprocessmodelsbyfolder is a custom function which returns all the details of process models in a folder. You can use constants of type process model and text with uuids instead but then you&amp;#39;ll have dependency on the models.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can I create a Picker of Process Models?</title><link>https://community.appian.com/thread/46113?ContentTypeID=1</link><pubDate>Tue, 13 Jun 2017 21:12:43 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5b0f7e99-f161-4502-9a67-21c5d804333d</guid><dc:creator>Jason Ruvinsky</dc:creator><description>Basically, in order for it to be able to be deployed as a common application to different environments, I can&amp;#39;t have any dependencies on process models from other applications that may or may not exist on the target environment.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can I create a Picker of Process Models?</title><link>https://community.appian.com/thread/46112?ContentTypeID=1</link><pubDate>Tue, 13 Jun 2017 21:10:58 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ccc3955e-77fd-4420-bbd5-c1085dbd7a25</guid><dc:creator>Jason Ruvinsky</dc:creator><description>Thanks Christine. The Decisions feature is very similar to what I want to do (start processes dynamically), however the issue I am running into is that I am creating a common application (for LDAP Sync) that will be deployed to multiple environments that will host different Appian applications. Each application may optionally have processes that need to run immediately after the LDAP sync completes, for instance to synchronize the user data into their respective databases. Currently I am at using environmental constants with the process IDs in them, or the solution in this thread: &lt;a href="https://community.appian.com/discussions/f/process/3673/is-there-a-way-to-get-the-process-model-id-from-its-uuid"&gt;community.appian.com/.../is-there-a-way-to-get-the-process-model-id-from-its-uuid&lt;/a&gt; &lt;br /&gt;
&lt;br /&gt;
However, an elegant solution would be to give the Administrator a form to configure this. In the back-end it would update the constants with the process IDs for all the processes it needs to kick off at the end of the LDAP sync nightly process.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can I create a Picker of Process Models?</title><link>https://community.appian.com/thread/46108?ContentTypeID=1</link><pubDate>Tue, 13 Jun 2017 20:33:06 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2e130394-3ffa-4be6-9bb0-cfe360c94db9</guid><dc:creator>ChristineLHutchison</dc:creator><description>Not sure the use case but Appian&amp;#39;s Decisions feature may help, as PM can be an output. So, you could pick something else that results in PM selection.&lt;br /&gt;
&lt;br /&gt;
Appian object output types - Decisions can return Appian objects as outputs which enables uses cases such as determining task assignment and dynamic process execution.&lt;br /&gt;
&lt;br /&gt;
&lt;a href="https://docs.appian.com/suite/help/17.2/Appian_Decisions.html"&gt;docs.appian.com/.../Appian_Decisions.html&lt;/a&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>