<?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>Edit a process instance to resume a Write To MDS Entity node</title><link>https://community.appian.com/discussions/f/process/25568/edit-a-process-instance-to-resume-a-write-to-mds-entity-node</link><description>Hi, 
 In Production context, a process raised an error on a Write To Multiple DS Entity node because of a mandatory field is set to null. 
 When editing the process, I can see that some process variables are editable (&amp;quot;Modify&amp;quot; button is visible) but the</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Edit a process instance to resume a Write To MDS Entity node</title><link>https://community.appian.com/thread/99908?ContentTypeID=1</link><pubDate>Mon, 22 Aug 2022 13:14:55 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:85bf5953-02a3-4711-9a60-22a24e6019f2</guid><dc:creator>cedric02</dc:creator><description>&lt;p&gt;Thanks a lot Mike for these further&amp;nbsp;informations.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Edit a process instance to resume a Write To MDS Entity node</title><link>https://community.appian.com/thread/99907?ContentTypeID=1</link><pubDate>Mon, 22 Aug 2022 13:07:39 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4c18847b-a420-4a47-af84-f728bfdff035</guid><dc:creator>Mike Schmitt</dc:creator><description>[quote userid="50421" url="~/discussions/f/process/25568/edit-a-process-instance-to-resume-a-write-to-mds-entity-node/99846#99846"]what would be a &amp;quot;Terminated&amp;quot; end node ?[/quote]
&lt;p&gt;That&amp;#39;s what it would be.&amp;nbsp; We can usually just say a &amp;quot;terminate node&amp;quot;, but some users might hear &amp;quot;end node&amp;quot; and not realize they should *specifically not* use a &amp;quot;terminate&amp;quot; node (which is just an end node with a different configuration), hence my choosing the explicit language in use above.&lt;/p&gt;
[quote userid="50421" url="~/discussions/f/process/25568/edit-a-process-instance-to-resume-a-write-to-mds-entity-node/99846#99846"]An end&amp;nbsp;event configured with Result tab set with &amp;quot;Terminate process&amp;quot; ?&amp;nbsp;[/quote]
&lt;p&gt;oh - yes; though i&amp;#39;d think most designers would be very used to using terminate nodes (at least, i hope?!?) - but yes, to be clear, i mean an end node with the &amp;quot;terminate&amp;quot; setting enabled.&amp;nbsp; Hence the way I worded it repeatedly above.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Edit a process instance to resume a Write To MDS Entity node</title><link>https://community.appian.com/thread/99846?ContentTypeID=1</link><pubDate>Sat, 20 Aug 2022 18:43:17 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:57c9d0d2-7e70-4ab4-b1f1-7ad9654f5c46</guid><dc:creator>cedric02</dc:creator><description>&lt;p&gt;Thank you Mike for these precisions.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote userid="50400" url="~/discussions/f/process/25568/edit-a-process-instance-to-resume-a-write-to-mds-entity-node/99798#99798"]Yes, a regular end event.&amp;nbsp; When there are active (or failed) nodes in a running instance, a regular (non-terminating) end event won&amp;#39;t cause the instance to &amp;quot;complete&amp;quot; in the sense that a parent flow would continue - so non-terminating ends can be used safely when trying to fix instances.[/quote]
&lt;p&gt;When you say a &amp;quot;Non terminated&amp;quot; end node is a regular&lt;span&gt;&amp;nbsp;one, what would be a &amp;quot;Terminated&amp;quot; end node ?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;An end&amp;nbsp;event configured with Result tab set with &amp;quot;Terminate process&amp;quot; ?&amp;nbsp; (just to be sure ;-) )&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Edit a process instance to resume a Write To MDS Entity node</title><link>https://community.appian.com/thread/99814?ContentTypeID=1</link><pubDate>Fri, 19 Aug 2022 18:49:28 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0e052276-0d34-4009-a52c-a5de5e58472d</guid><dc:creator>Mike Schmitt</dc:creator><description>[quote userid="2401" url="~/discussions/f/process/25568/edit-a-process-instance-to-resume-a-write-to-mds-entity-node/99813#99813"]I&amp;#39;m sure in the past I&amp;#39;ve seen an error when publishing related to &lt;em&gt;&lt;strong&gt;some nodes not having an incoming path&lt;/strong&gt;&lt;/em&gt;[/quote]
&lt;p&gt;AFAIK it does do this for nodes without outgoing flows.&amp;nbsp; But I agree, I feel like it used to be different - but alas, no really feasible way to check.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Edit a process instance to resume a Write To MDS Entity node</title><link>https://community.appian.com/thread/99813?ContentTypeID=1</link><pubDate>Fri, 19 Aug 2022 18:47:38 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2e4ec837-85a6-473f-990e-4a6a825b8a31</guid><dc:creator>Chris</dc:creator><description>[quote userid="50400" url="~/discussions/f/process/25568/edit-a-process-instance-to-resume-a-write-to-mds-entity-node/99808#99808"]I feel like this might be the only reason that all nodes need an incoming flow in the model itself (i.e. to provide actually predictable starting conditions.&amp;nbsp; i&amp;#39;m not sure what the behavior is, for instance, if such a process is started as a subprocess - do they all still fire, or does something else happen?&amp;nbsp; i&amp;#39;d test and find out, but there are only so many hours in a day lol)[/quote]
&lt;p&gt;Just ran a quick test, same behavior as a sub - all nodes fire..&lt;/p&gt;
&lt;p&gt;I&amp;#39;m sure in the past I&amp;#39;ve seen an error when publishing related to &lt;em&gt;&lt;strong&gt;some nodes not having an incoming path&lt;/strong&gt;&lt;/em&gt;, but apparently that&amp;#39;s old news..&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Edit a process instance to resume a Write To MDS Entity node</title><link>https://community.appian.com/thread/99808?ContentTypeID=1</link><pubDate>Fri, 19 Aug 2022 18:38:53 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8038da30-5172-4eb6-aaf4-8bf62f039be8</guid><dc:creator>Mike Schmitt</dc:creator><description>[quote userid="2401" url="~/discussions/f/process/25568/edit-a-process-instance-to-resume-a-write-to-mds-entity-node/99807#99807"]then when started for debugging, all nodes fire..[/quote]
&lt;p&gt;I feel like this might be the only reason that all nodes need an incoming flow in the model itself (i.e. to provide actually predictable starting conditions.&amp;nbsp; i&amp;#39;m not sure what the behavior is, for instance, if such a process is started as a subprocess - do they all still fire, or does something else happen?&amp;nbsp; i&amp;#39;d test and find out, but there are only so many hours in a day lol)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Edit a process instance to resume a Write To MDS Entity node</title><link>https://community.appian.com/thread/99807?ContentTypeID=1</link><pubDate>Fri, 19 Aug 2022 18:37:01 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6c270ef7-7091-4d8f-bea5-1250a05e09b5</guid><dc:creator>Chris</dc:creator><description>[quote userid="50400" url="~/discussions/f/process/25568/edit-a-process-instance-to-resume-a-write-to-mds-entity-node/99801#99801"]...but since we don&amp;#39;t need to connect them to an incoming flow, why even do that?&amp;nbsp; Just add it and provide an end event, then start it manually?&amp;nbsp; Or are you handling some other special use case in this way?[/quote]
&lt;p&gt;I do this purely because I did not know that in an already-running instance, nodes do not need an incoming flow......&amp;nbsp; No other use case, news to me! &lt;span class="emoticon" data-url="https://community.appian.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I feel like that has not &lt;em&gt;always&lt;/em&gt; been allowed, but cannot confirm..&lt;/p&gt;
&lt;p&gt;Interestingly enough, I was just able to &lt;strong&gt;publish&lt;/strong&gt; a model in this fashion - then when started for debugging, all nodes fire..&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/14/pastedimage1660934217632v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Edit a process instance to resume a Write To MDS Entity node</title><link>https://community.appian.com/thread/99801?ContentTypeID=1</link><pubDate>Fri, 19 Aug 2022 18:27:55 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:359da93d-2d7d-45e3-b7b1-d8e8b134aea5</guid><dc:creator>Mike Schmitt</dc:creator><description>[quote userid="2401" url="~/discussions/f/process/25568/edit-a-process-instance-to-resume-a-write-to-mds-entity-node/99796#99796"] I run my data-fixing script tasks off of the Start Event[/quote]
&lt;p&gt;...but since we don&amp;#39;t need to connect them to an incoming flow, why even do that?&amp;nbsp; Just add it and provide an end event, then start it manually?&amp;nbsp; Or are you handling some other special use case in this way?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Edit a process instance to resume a Write To MDS Entity node</title><link>https://community.appian.com/thread/99798?ContentTypeID=1</link><pubDate>Fri, 19 Aug 2022 18:23:02 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bd867c6d-2446-40ba-b036-52cbe8963fa6</guid><dc:creator>Mike Schmitt</dc:creator><description>[quote userid="50421" url="~/discussions/f/process/25568/edit-a-process-instance-to-resume-a-write-to-mds-entity-node/99794#99794"]You mean adding it &amp;quot;anywhere&amp;quot;, but not connected to the others existing nodes ?[/quote]
&lt;p&gt;Correct.&amp;nbsp; When adding it to an already-running instance, it doesn&amp;#39;t need to follow anything.&amp;nbsp; This is a handy feature.&lt;br /&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/14/pastedimage1660933454898v1.png" /&gt;&lt;/p&gt;
[quote userid="50421" url="~/discussions/f/process/25568/edit-a-process-instance-to-resume-a-write-to-mds-entity-node/99794#99794"]what do you mean by &amp;quot;&lt;span&gt;non-terminating end node&amp;quot; ? you mean an &amp;quot;End event&amp;quot; &lt;/span&gt;[/quote]
&lt;p&gt;Yes, a regular end event.&amp;nbsp; When there are active (or failed) nodes in a running instance, a regular (non-terminating) end event won&amp;#39;t cause the instance to &amp;quot;complete&amp;quot; in the sense that a parent flow would continue - so non-terminating ends can be used safely when trying to fix instances.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m emphasizing &amp;quot;non-terminating&amp;quot; here because lots of people (me included) use Terminate nodes in most situations, until a non-terminating one is needed specifically (like in a process flow where some parallel flows might need to end early while the main flow continues).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Edit a process instance to resume a Write To MDS Entity node</title><link>https://community.appian.com/thread/99796?ContentTypeID=1</link><pubDate>Fri, 19 Aug 2022 17:52:15 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:77d9a15b-4f27-47b5-b084-1d0eb3e7f4f1</guid><dc:creator>Chris</dc:creator><description>&lt;p&gt;I use the same theory as Mike.&amp;nbsp; I run my data-fixing script tasks off of the Start Event most often, you can have the incoming flow from any node that &lt;span style="text-decoration:underline;"&gt;will never be started automatically again&lt;/span&gt; (to prevent it from overwriting data later).&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/14/pastedimage1660931474845v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Edit a process instance to resume a Write To MDS Entity node</title><link>https://community.appian.com/thread/99794?ContentTypeID=1</link><pubDate>Fri, 19 Aug 2022 17:31:23 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:765b1099-e0ff-4f8d-ab1c-d09049f602eb</guid><dc:creator>cedric02</dc:creator><description>&lt;p&gt;Thank&amp;nbsp;you Mike, that is a very good idea to have a way to control the data, before to&amp;nbsp;resume the process.&lt;/p&gt;
&lt;p&gt;- However, I&amp;#39;m not sure to understand where you would place your new Script Task. You mean adding it &amp;quot;anywhere&amp;quot;, but not connected to the others existing nodes ?&lt;br /&gt;&lt;br /&gt;- what do you mean by &amp;quot;&lt;span&gt;non-terminating end node&amp;quot; ? you mean an &amp;quot;End event&amp;quot; node with no trigger ?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Edit a process instance to resume a Write To MDS Entity node</title><link>https://community.appian.com/thread/99783?ContentTypeID=1</link><pubDate>Fri, 19 Aug 2022 15:18:41 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bbb0f22b-1d7a-489e-8b76-abe81f61093a</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;Harshit&amp;#39;s answer is correct - if you end up doing this often like me, here&amp;#39;s one revision of the technique that I prefer:&lt;/p&gt;
&lt;p&gt;instead of placing the script task right before the &amp;quot;write...&amp;quot; node, instead just add a script task and follow it with a non-terminating end node.&amp;nbsp; Run the script task to push a new value into whatever CDT field(s) you need to update.&amp;nbsp; Then you can check current variable values in the monitor and ensure they&amp;#39;re correct.&amp;nbsp; *Then* just right-click on the WTDS node that originally failed and click &amp;quot;start&amp;quot;.&amp;nbsp; The main point here is that it allows you to be sure of your fix before trying the WTDS node again and potentially having another failure and/or writing something you didn&amp;#39;t really mean to write, if your script task didn&amp;#39;t do what you expected it to on the first try.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Edit a process instance to resume a Write To MDS Entity node</title><link>https://community.appian.com/thread/99780?ContentTypeID=1</link><pubDate>Fri, 19 Aug 2022 11:09:42 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:20023fe4-595a-403d-b92e-14eb6bfd13d9</guid><dc:creator>deepakg681722</dc:creator><description>&lt;p&gt;That&amp;#39;s Great.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Edit a process instance to resume a Write To MDS Entity node</title><link>https://community.appian.com/thread/99779?ContentTypeID=1</link><pubDate>Fri, 19 Aug 2022 10:53:59 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:67c0ba8e-7851-4f74-899e-b46504528da7</guid><dc:creator>cedric02</dc:creator><description>&lt;p&gt;Thank you Deepakg, I understand now my problem :&amp;nbsp;I&amp;nbsp;was&amp;nbsp;in the &amp;quot;Edit process View&amp;quot; window (and no &amp;quot;Monitor process View&amp;quot;).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Edit a process instance to resume a Write To MDS Entity node</title><link>https://community.appian.com/thread/99778?ContentTypeID=1</link><pubDate>Fri, 19 Aug 2022 10:39:15 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d1a15528-c94a-4380-a52c-3104cb3e348a</guid><dc:creator>deepakg681722</dc:creator><description>&lt;p&gt;To see the variables of the running instance, you have to go to process details and there will a variable tab. From there you can see the variables.&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/14/pastedimage1660905670035v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Edit a process instance to resume a Write To MDS Entity node</title><link>https://community.appian.com/thread/99774?ContentTypeID=1</link><pubDate>Fri, 19 Aug 2022 09:52:40 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:867398e2-c0f7-4966-8251-b6e8a8085b5d</guid><dc:creator>cedric02</dc:creator><description>&lt;p&gt;for a next time (and for my information), could you explain me why&lt;span&gt;&amp;nbsp;I don&amp;#39;t see any way to add a new PV, as the &amp;quot;variables&amp;quot; tab from process properties is not visible from the monitor process instance view?&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;is it normal ?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Edit a process instance to resume a Write To MDS Entity node</title><link>https://community.appian.com/thread/99772?ContentTypeID=1</link><pubDate>Fri, 19 Aug 2022 09:46:12 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:36006622-4d8e-41e5-8bbd-91a9f94613a0</guid><dc:creator>cedric02</dc:creator><description>&lt;p&gt;Thanks a lot Harshit and Deepakg for your replies.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Edit a process instance to resume a Write To MDS Entity Smart Service</title><link>https://community.appian.com/thread/99770?ContentTypeID=1</link><pubDate>Fri, 19 Aug 2022 09:39:48 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:626a0fca-a490-47f3-b2c6-72d3f0331b9c</guid><dc:creator>deepakg681722</dc:creator><description>&lt;p&gt;you can add a new script task just before the writetoDS smart service and i the script task update the required field with the value and start this script task from monitor view. Make sure you close the edit process view before start the script task.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Edit a process instance to resume a Write To MDS Entity Smart Service</title><link>https://community.appian.com/thread/99769?ContentTypeID=1</link><pubDate>Fri, 19 Aug 2022 09:39:31 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b3c2414a-3b3a-438a-8b32-dbcad32315f0</guid><dc:creator>Harshit Bumb (Appyzie)</dc:creator><description>&lt;p&gt;Hi there,&lt;/p&gt;
&lt;p&gt;Another way can be to add a script task before the write to M DSE Smart service and in the output tab of that node, construct your CDT and save it in the write PV.&amp;nbsp;&lt;br /&gt;After saving it, close the editing window to see the changes in the monitoring window and then start from the script task by right-clicking on it and selecting &amp;quot;Start&amp;quot;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>