<?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 OOTB feature available in appian to update the pv variables of the inflight instances apart from IFM (In-flight Modification) plugin? please suggest.</title><link>https://community.appian.com/discussions/f/general/35390/is-there-any-ootb-feature-available-in-appian-to-update-the-pv-variables-of-the-inflight-instances-apart-from-ifm-in-flight-modification-plugin-please-suggest</link><description>Is there any OOTB feature available in appian to programmatically update the pv variables of the inflight instances like any smart service, apart from IFM (In-flight Modification) plugin? please suggest.</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Is there any OOTB feature available in appian to update the pv variables of the inflight instances apart from IFM (In-flight Modification) plugin? please suggest.</title><link>https://community.appian.com/thread/137811?ContentTypeID=1</link><pubDate>Tue, 09 Jul 2024 15:13:31 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8b20e626-5db4-4f75-888c-dabcf5e24a5e</guid><dc:creator>Chris</dc:creator><description>&lt;p&gt;Agree, un-targeted messaging should be &lt;strong&gt;completely avoided&lt;/strong&gt; in my opinion.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;With targeting by process ID, we&amp;#39;ll have around 500 Receive Message events active at one time - that small range has not given us any concerns.&amp;nbsp; Based on what I&amp;#39;ve seen, I would feel comfortable scaling that up some if needed.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there any OOTB feature available in appian to update the pv variables of the inflight instances apart from IFM (In-flight Modification) plugin? please suggest.</title><link>https://community.appian.com/thread/137786?ContentTypeID=1</link><pubDate>Tue, 09 Jul 2024 00:14:47 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:33fb6fba-f206-46af-9e1e-4ed64997f22d</guid><dc:creator>Mathieu Drouin</dc:creator><description>&lt;p&gt;I may be wrong but I think that mostly applies if you send a msg without a destination process id and it has to scan all the listeners. I would obviously strongly advise to always provide a destination process id when sending a msg event but I agree that its not fool proof and could be dangerous in some environments.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/11/IMG_5F00_2743.jpeg" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there any OOTB feature available in appian to update the pv variables of the inflight instances apart from IFM (In-flight Modification) plugin? please suggest.</title><link>https://community.appian.com/thread/137766?ContentTypeID=1</link><pubDate>Mon, 08 Jul 2024 17:46:50 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8b4a6bfb-05a3-45f9-8052-6a9544c4afbc</guid><dc:creator>David Jimenez </dc:creator><description>&lt;p&gt;Totally agree with Stephan,, take into consideration the fact that having a lot of process instances waiting for messages can lead to performance issues....&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there any OOTB feature available in appian to update the pv variables of the inflight instances apart from IFM (In-flight Modification) plugin? please suggest.</title><link>https://community.appian.com/thread/137764?ContentTypeID=1</link><pubDate>Mon, 08 Jul 2024 17:34:17 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:482cf39b-355a-40f4-a123-42700b1e05ac</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Be aware that a larger number of active process instances, waiting for incoming messages, can have a severe impact on system performance and stability. I suggest to discuss your design with Appian before going on.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there any OOTB feature available in appian to update the pv variables of the inflight instances apart from IFM (In-flight Modification) plugin? please suggest.</title><link>https://community.appian.com/thread/137736?ContentTypeID=1</link><pubDate>Mon, 08 Jul 2024 09:57:32 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ebf5c99a-41e8-49d1-aeae-698e7e8ce67f</guid><dc:creator>Rajarajeswari</dc:creator><description>&lt;p&gt;Hi Chris,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks for your suggestions, i will try these options to see if it works for my design.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there any OOTB feature available in appian to update the pv variables of the inflight instances apart from IFM (In-flight Modification) plugin? please suggest.</title><link>https://community.appian.com/thread/137734?ContentTypeID=1</link><pubDate>Mon, 08 Jul 2024 09:54:31 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:10272b56-f822-443f-bbe9-edfe3666ffce</guid><dc:creator>Rajarajeswari</dc:creator><description>&lt;p&gt;Yes David it is the second case. That is what even i am thinking about, before that just want to explore other possible options.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there any OOTB feature available in appian to update the pv variables of the inflight instances apart from IFM (In-flight Modification) plugin? please suggest.</title><link>https://community.appian.com/thread/137688?ContentTypeID=1</link><pubDate>Sun, 07 Jul 2024 12:41:17 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:73d806dc-0578-4cbb-9fa6-f3adf4b4b36c</guid><dc:creator>Mathieu Drouin</dc:creator><description>&lt;p&gt;I&amp;#39;ve started using a similar approach recently.Though instead of resetting the PVs from the DB, I simply pass in a map of PVs that can be updated on the fly.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there any OOTB feature available in appian to update the pv variables of the inflight instances apart from IFM (In-flight Modification) plugin? please suggest.</title><link>https://community.appian.com/thread/137651?ContentTypeID=1</link><pubDate>Fri, 05 Jul 2024 21:07:49 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6308e02e-6bf3-4381-8d06-8fbbf6b6a59a</guid><dc:creator>David Jimenez </dc:creator><description>&lt;p&gt;DO yu want to do this only once? or is something that you will have to to do periodically?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If it&amp;#39;s the second case, I would suggest to change the way your process are implemented..... in order to support this behavior...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there any OOTB feature available in appian to update the pv variables of the inflight instances apart from IFM (In-flight Modification) plugin? please suggest.</title><link>https://community.appian.com/thread/137645?ContentTypeID=1</link><pubDate>Fri, 05 Jul 2024 15:22:29 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9edcfcc4-39af-44f5-a9ed-ff39eea5cf9d</guid><dc:creator>Chris</dc:creator><description>&lt;p&gt;There are a few ways you can achieve this type of design, if needed.&amp;nbsp; I&amp;#39;ve used similar setups in situations such as, process data can be updated outside of the regular flow / Related Action while the process is active, and the main process CDTs need to obtain the updates as well.&lt;/p&gt;
&lt;p&gt;To note, I have used the IFM Manager in a single one-off support situation, it worked but I would not recommend building this into your design, reserving it for unforeseen support situations only.&lt;/p&gt;
&lt;p&gt;Typically I will have the Related Action / outside flow update the &lt;strong&gt;&lt;em&gt;database&lt;/em&gt; &lt;/strong&gt;for the main process instance (query data, update, persist back to DB), then make a call to the process instance(s) with one of a few methods to &lt;strong&gt;&lt;em&gt;update it&amp;#39;s own CDTs&lt;/em&gt;&lt;/strong&gt;, such as with &lt;a href="https://docs.appian.com/suite/help/24.2/Messaging_Best_Practices.html"&gt;process messaging&lt;/a&gt;.&amp;nbsp; This works if your variables are always persisted to the DB.&amp;nbsp; The model is setup something like below:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/11/pastedimage1720191939251v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;When the process starts, the Main Flow moves on while the Update flow waits at a Receive Message node.&amp;nbsp; Once the outside process is complete it will message the main process, which starts the Reset node that queries data back from the DB via a!queryEntity(), updates it&amp;#39;s own CDTs, and returns to the Receive Message node to wait for further updates.&amp;nbsp; This is my preferred method since it is all OOTB, but you should review the &lt;a href="https://docs.appian.com/suite/help/24.2/Messaging_Best_Practices.html"&gt;Process Messaging Best Practices&lt;/a&gt; to determine if it is acceptable for your case.&lt;/p&gt;
&lt;p&gt;There are race conditions to be aware of as well, depending on your process you may consider pessimistic locking.&amp;nbsp; E.g. if an outside update is occurring at the same time your main process is being updated.&lt;/p&gt;
&lt;p&gt;Alternatively I&amp;#39;ll note some related plugins:&lt;/p&gt;
&lt;p&gt;- &lt;a href="/b/appmarket/posts/process-management-services"&gt;Process Management Services&lt;/a&gt; is one I&amp;#39;ve used in a similar setup as above, where instead of messaging we use the Start All Nodes service to call the main process to update it&amp;#39;s own data from the DB.&lt;/p&gt;
&lt;p&gt;- &lt;a href="/b/appmarket/posts/get-and-set-external-process-variables"&gt;Get and Set External Process Variables&lt;/a&gt; is an older plugin that can Set External PVs, you can send the data directly to the process variables without needing them persisted to the DB.&lt;/p&gt;
&lt;p&gt;Always with plugins, you run some risk of issues after upgrades, etc.&amp;nbsp; My preferred method is always whatever is OOTB.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there any OOTB feature available in appian to update the pv variables of the inflight instances apart from IFM (In-flight Modification) plugin? please suggest.</title><link>https://community.appian.com/thread/137627?ContentTypeID=1</link><pubDate>Fri, 05 Jul 2024 09:54:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0df9f9bb-3bf4-45f9-bc11-e43dce4e4bd9</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;That is not something I recommend. What problem do you want to solve?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there any OOTB feature available in appian to update the pv variables of the inflight instances apart from IFM (In-flight Modification) plugin? please suggest.</title><link>https://community.appian.com/thread/137626?ContentTypeID=1</link><pubDate>Fri, 05 Jul 2024 09:52:42 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f8e52e0e-3f11-4614-a056-651c0168e31a</guid><dc:creator>Rajarajeswari</dc:creator><description>&lt;p&gt;No not for support case, it is for part of the solution.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there any OOTB feature available in appian to update the pv variables of the inflight instances apart from IFM (In-flight Modification) plugin? please suggest.</title><link>https://community.appian.com/thread/137622?ContentTypeID=1</link><pubDate>Fri, 05 Jul 2024 08:21:36 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c34a8825-0cbf-4ee4-ab87-a278c2352c6d</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Is that for a rare support case or do you plan to make this part of the overall solution design?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there any OOTB feature available in appian to update the pv variables of the inflight instances apart from IFM (In-flight Modification) plugin? please suggest.</title><link>https://community.appian.com/thread/137621?ContentTypeID=1</link><pubDate>Fri, 05 Jul 2024 06:56:23 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f301ff2f-85c3-4b47-bffd-6f13c2f5b91a</guid><dc:creator>Rajarajeswari</dc:creator><description>&lt;p&gt;Hi David,&lt;/p&gt;
&lt;p&gt;Thanks for your suggestion, but this is not what iam looking for. My requirement is not to update the pv for just 1 instance, it is for multiple instances programatically.&amp;nbsp; I tried using IFM smart service and it is working. I want to check if there is any other better option than IFM.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there any OOTB feature available in appian to update the pv variables of the inflight instances apart from IFM (In-flight Modification) plugin? please suggest.</title><link>https://community.appian.com/thread/137610?ContentTypeID=1</link><pubDate>Thu, 04 Jul 2024 21:41:08 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e7e644bb-ae2c-4e69-897e-71626b662556</guid><dc:creator>David Jimenez </dc:creator><description>&lt;p&gt;Did you check this?&lt;/p&gt;
&lt;h3&gt;Changing process variables&lt;/h3&gt;
&lt;div class="header-link-wrapper"&gt;&lt;/div&gt;
&lt;p&gt;It&amp;#39;s possible to change the value of process variables in a process instance. The approach differs based on the type of the variable.&lt;/p&gt;
&lt;p&gt;To change process variables of system data types:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;From the toolbar, select the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Process Model Properties&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;icon to view the process variables.&lt;/li&gt;
&lt;li&gt;Select a process variable to update it.&lt;/li&gt;
&lt;li&gt;For a process variable of type multiple, insert the value with a comma separator. For example, to add an array of two values to a process variable of type Text, enter&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code class="language-plaintext highlighter-rouge"&gt;text string 1, text string 2&lt;/code&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;To change process variables of custom data types, you need to add a script task to your process model that stores the new value into the variable:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="https://docs.appian.com/suite/help/24.2/Monitoring_and_Editing_Processes.html#edit-mode"&gt;Edit the process&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Drag and drop a script task onto the canvas.&lt;/li&gt;
&lt;li&gt;Add a node input, and choose the custom data type as its type.&lt;/li&gt;
&lt;li&gt;Set the new values.&lt;/li&gt;
&lt;li&gt;Save the node input into the process variable that you want to update.&lt;/li&gt;
&lt;li&gt;Apply your changes to the process instance.&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.appian.com/suite/help/24.2/Monitoring_and_Editing_Processes.html#navigation-in-the-process-modeler"&gt;Switch to Monitor mode&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Close the tab open in Edit mode.&lt;/li&gt;
&lt;li&gt;Right-click on the new script task and select&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Start&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;To change an encrypted text value, you can use a technique similar to modifying values of custom data types:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="https://docs.appian.com/suite/help/24.2/Monitoring_and_Editing_Processes.html#edit-mode"&gt;Edit the process&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Drag and drop a User Input task onto the canvas.&lt;/li&gt;
&lt;li&gt;Add a node input of type Encrypted Text.&lt;/li&gt;
&lt;li&gt;Configure an interface that displays the encrypted text value and saves the updated value back into the node input.&lt;/li&gt;
&lt;li&gt;Save the node input into the process variable that you want to update.&lt;/li&gt;
&lt;li&gt;Apply your changes to the process instance.&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.appian.com/suite/help/24.2/Monitoring_and_Editing_Processes.html#navigation-in-the-process-modeler"&gt;Switch to Monitor mode&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Close the tab open in Edit mode.&lt;/li&gt;
&lt;li&gt;Right-click on the new User Input task and select&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Start&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.appian.com/suite/help/24.2/Monitoring_and_Editing_Processes.html"&gt;docs.appian.com/.../Monitoring_and_Editing_Processes.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there any OOTB feature available in appian to update the pv variables of the inflight instances apart from IFM (In-flight Modification) plugin? please suggest.</title><link>https://community.appian.com/thread/137574?ContentTypeID=1</link><pubDate>Thu, 04 Jul 2024 05:34:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8ce41b34-7a07-4ab0-91b5-4bc6c17a8ed7</guid><dc:creator>Rajarajeswari</dc:creator><description>&lt;p&gt;I basically want to update a pv variable for a list of inflight instances.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there any OOTB feature available in appian to update the pv variables of the inflight instances apart from IFM (In-flight Modification) plugin? please suggest.</title><link>https://community.appian.com/thread/137572?ContentTypeID=1</link><pubDate>Thu, 04 Jul 2024 05:29:54 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0f0bbac1-e391-4249-a4db-a5c458ef73fd</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;That is the only way. What are you looking for?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>