<?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>Is there any way to update the process variable of another process using appian</title><link>https://community.appian.com/discussions/f/general/4650/is-there-any-way-to-update-the-process-variable-of-another-process-using-appian</link><description>Is there any way to update the process variable of another process using appian OOB feature Below are some options but they have their own limitations. 1. Send and received message node: messaging is not synchronous 2. Set external pv: Cloud approved</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Is there any way to update the process variable of another process using appian</title><link>https://community.appian.com/thread/16894?ContentTypeID=1</link><pubDate>Fri, 10 Apr 2015 20:42:26 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bba27819-ad2d-42e5-80a5-a7b95478d4d9</guid><dc:creator>Chris</dc:creator><description>If message receipt is too slow, you could always utilize a DB - have the updating process change a DB field where your receiving process queries in a loop every so often (1 minute or so, etc).  Little more overhead, but depends how time sensitive your process is.&lt;br /&gt;&lt;br /&gt;In our environment, the send message service has almost no lag - are you seeing major lag times with this feature?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there any way to update the process variable of another process using appian</title><link>https://community.appian.com/thread/16870?ContentTypeID=1</link><pubDate>Fri, 10 Apr 2015 08:08:53 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7ada4cfe-9d9a-4565-a11b-55afeda5171b</guid><dc:creator>ajinkyab277</dc:creator><description>Hi Chetan,&lt;br /&gt;&lt;br /&gt;This is good suggestion,But &amp;#39;Set external pv&amp;#39; is not OOB smart service.&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;Ajinkya&lt;br /&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there any way to update the process variable of another process using appian</title><link>https://community.appian.com/thread/16826?ContentTypeID=1</link><pubDate>Thu, 09 Apr 2015 10:31:23 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:af9be64a-225f-4e15-9304-8fe16a6ce6ef</guid><dc:creator>chetany</dc:creator><description>Hi Ajinkya, I think I have a solution. Since you need both synchronous behavior and you also want to capture the PV in process history, you can do the following: Let us suppose you want to set the variable &amp;quot;pv1&amp;quot; in process1 and also want to capture it in process history.  Now, create another dummy pv in  that process, let us say it is &amp;quot;dummy_pv1&amp;quot; (it should be of same type as pv1). While creating &amp;quot;dummy_pv1&amp;quot; set it to  &amp;quot;hidden&amp;quot; so that it is not captured in process history. Now, from process2,  you want to set &amp;quot;pv1&amp;quot; of process1. Use Set-PV smart service, and instead set &amp;quot;dummy_pv1&amp;quot; of process1. In process1, have a rule(trigger) which will execute when &amp;quot;dummy_pv1&amp;quot;  is not null. In the trigger flow, add a script task which updates the value of pv1 by copying the value from &amp;quot;dummy_pv1&amp;quot;. So, in this way, your &amp;quot;pv1&amp;quot; value will change. In effect, you have changed the value of &amp;quot;pv1&amp;quot; from process2 and also pv1 will be captured in process history.  I know this is a &amp;quot;hack&amp;quot;, but it will work. You will also need to take care of the activation and deactivation the trigger(rule)&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there any way to update the process variable of another process using appian</title><link>https://community.appian.com/thread/16824?ContentTypeID=1</link><pubDate>Thu, 09 Apr 2015 09:58:20 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:45fa1479-96a3-4880-b24c-647953d31eda</guid><dc:creator>ajinkyab277</dc:creator><description>Hi Chetan ,&lt;br /&gt;My process models are time sensitive. I mean it will affect the functionality if there is considerable amount of time lag.&lt;br /&gt;Thanks&lt;br /&gt;Ajinkya&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there any way to update the process variable of another process using appian</title><link>https://community.appian.com/thread/16823?ContentTypeID=1</link><pubDate>Thu, 09 Apr 2015 09:55:56 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8ca77375-b300-4749-aca1-adb36969334e</guid><dc:creator>chetany</dc:creator><description>Why not use option 1? It is OOB. Just send a message to a destination process and update the PV in that process when you receive that message. Moreover, it can be targeted to a specific process by specifying pp!id. In my opinion, asynchronous behavior is preferable, so I don&amp;#39;t think it is a limitation. Or, Do you insist on having synchronous workflow?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>