<?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>Process Model Id</title><link>https://community.appian.com/discussions/f/process/25810/process-model-id</link><description>Hi All, 
 Is there anyway to start a process model by using Process Model Id or Process UUID?</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Process Model Id</title><link>https://community.appian.com/thread/100890?ContentTypeID=1</link><pubDate>Fri, 09 Sep 2022 17:42:31 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0131da9d-a3ef-4815-932b-7a48db889fee</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;If you really need to store the UUID somewhere, you can use that plug-in to retrieve details about the process model (including ID) from the UUID, then use the ID for whatever you want.&amp;nbsp; Though I&amp;#39;m not really clear why you need to do this run-around; it seems like probably more trouble than it&amp;#39;s worth.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Process Model Id</title><link>https://community.appian.com/thread/100879?ContentTypeID=1</link><pubDate>Fri, 09 Sep 2022 16:02:50 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5caee53d-1215-4502-802c-f33e68fca369</guid><dc:creator>deepakg681722</dc:creator><description>&lt;p&gt;Thanks for the Correction Mike. I really appreciate it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Process Model Id</title><link>https://community.appian.com/thread/100876?ContentTypeID=1</link><pubDate>Fri, 09 Sep 2022 15:13:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:39dd572f-2b37-4724-a22d-d6e5939191fc</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;that&amp;#39;s not actually true - it would accept process model ID also (the process model type constant actually evaluates to the PM ID).&amp;nbsp; The reason we want to use a constant anyway is, the PM ID is environment-specific.&lt;br /&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/14/pastedimage1662736456952v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Process Model Id</title><link>https://community.appian.com/thread/100841?ContentTypeID=1</link><pubDate>Fri, 09 Sep 2022 10:50:10 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c71f5164-78c5-4e7a-9d2d-1619cf0ee62e</guid><dc:creator>ramanjaneyar9446</dc:creator><description>&lt;p&gt;Yeah I got Stewart Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Process Model Id</title><link>https://community.appian.com/thread/100831?ContentTypeID=1</link><pubDate>Fri, 09 Sep 2022 09:02:49 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3ef8261e-a295-4e61-a517-c36f35bfc683</guid><dc:creator>Stewart Burchell</dc:creator><description>&lt;p&gt;I hope I haven&amp;#39;t confused you by my reference to a constant - it was just meant to illustrate how I know that you can use the Process Model Id in the two different start process functions.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Process Model Id</title><link>https://community.appian.com/thread/100830?ContentTypeID=1</link><pubDate>Fri, 09 Sep 2022 08:55:32 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:29041375-ef0e-42b4-b912-fe5962cc9127</guid><dc:creator>ramanjaneyar9446</dc:creator><description>&lt;p&gt;Thanks for the Info Stewart,&lt;/p&gt;
&lt;p&gt;Could you please help me out what can constant hold as datatype? and I need to pass dynamic values to the constant which refers to the process model.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Process Model Id</title><link>https://community.appian.com/thread/100829?ContentTypeID=1</link><pubDate>Fri, 09 Sep 2022 08:45:00 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1e96b2ed-ad48-449d-ad10-bc464b0b4f05</guid><dc:creator>Stewart Burchell</dc:creator><description>&lt;p&gt;As a side note - I&amp;#39;ve seen systems designed where what gets executed next is dynamic (fetched form a database table based upon some rules) and whilst incredibly clever they can be very hard to debug when things don&amp;#39;t behave as expected.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Process Model Id</title><link>https://community.appian.com/thread/100828?ContentTypeID=1</link><pubDate>Fri, 09 Sep 2022 08:41:54 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:68faaf66-0442-486a-92c1-73078d011057</guid><dc:creator>ramanjaneyar9446</dc:creator><description>&lt;p&gt;Thanks for your Harshit,&lt;/p&gt;
&lt;p&gt;My requirement is getting details of process model like Process model Id, UUID and Process Model Name, will fetch those details and start a process by UUID or Id. Database table is generic type we can get multiple&amp;nbsp; process model details.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Process Model Id</title><link>https://community.appian.com/thread/100827?ContentTypeID=1</link><pubDate>Fri, 09 Sep 2022 08:40:03 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:87e280aa-06b6-41f4-9d3e-a13740728eff</guid><dc:creator>Stewart Burchell</dc:creator><description>&lt;p&gt;Not with the UUID but, yes, with the Id.&lt;/p&gt;
&lt;p&gt;If you look at what the actual value is in a constant that references a process model you&amp;#39;ll see that it is the Process Model Id. You can do this like this:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;fn!tointeger(cons!XXX_MY_PROCESS_MODEL)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;and if you look at a!startProcess() and&amp;nbsp;a!startProcessLink() you&amp;#39;ll see you&amp;#39;d normally reference the target process model using a constant. So this will tell you that you can just pass the integer value of the process model id instead.&lt;/p&gt;
&lt;p&gt;If you want to design something dynamic (which is what it sounds like you might be exploring) note that the process model id may not be the same for the same process model in different environments. However the process model UUID is the same. So you could, say, have some logic that returns the UUID of the process you want to call, and then derive the process id from that UUID and then you can be sure it&amp;#39;ll work in all of your environments (you could use fn!getprocessmodeldetailsbyuuid() to do this, using the UUID, and then extracting the Id from the details returned. There may be a more elegant way that I&amp;#39;m not aware of to do this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Process Model Id</title><link>https://community.appian.com/thread/100826?ContentTypeID=1</link><pubDate>Fri, 09 Sep 2022 08:38:35 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e3386aee-d251-4d16-9b3c-039f35452aa2</guid><dc:creator>Harshit Bumb (Appyzie)</dc:creator><description>&lt;p&gt;You can use a constant then. Type - Process Model&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Process Model Id</title><link>https://community.appian.com/thread/100825?ContentTypeID=1</link><pubDate>Fri, 09 Sep 2022 08:38:06 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9ce5d0e6-0fd2-408f-a333-3be430c59bda</guid><dc:creator>deepakg681722</dc:creator><description>&lt;p&gt;in this smart service you have to provide consant of process model to start the process model.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Process Model Id</title><link>https://community.appian.com/thread/100823?ContentTypeID=1</link><pubDate>Fri, 09 Sep 2022 08:37:15 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a2d8c8cd-df78-403e-99d5-3d641c5ac1e5</guid><dc:creator>ramanjaneyar9446</dc:creator><description>&lt;p&gt;By this plugin will get process model details by UUID but I need to start process.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Process Model Id</title><link>https://community.appian.com/thread/100822?ContentTypeID=1</link><pubDate>Fri, 09 Sep 2022 08:34:15 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:04bebbad-a239-40d4-8055-1669589937da</guid><dc:creator>ramanjaneyar9446</dc:creator><description>&lt;p&gt;I need to start a process by Start process smart service.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Process Model Id</title><link>https://community.appian.com/thread/100821?ContentTypeID=1</link><pubDate>Fri, 09 Sep 2022 08:34:00 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9302b2fe-be18-4911-bdd8-66976fefd1e3</guid><dc:creator>Harshit Bumb (Appyzie)</dc:creator><description>&lt;p&gt;You can use this plugin&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;getprocessmodeldetailsbyuuid()&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Process Model Id</title><link>https://community.appian.com/thread/100820?ContentTypeID=1</link><pubDate>Fri, 09 Sep 2022 08:28:31 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c633055e-b638-42bd-8c79-742b44ae04bf</guid><dc:creator>deepakg681722</dc:creator><description>&lt;p&gt;From where you want to start the process? From site, Email, Action ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>