<?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 does not fetch the right value when printing inside the web api</title><link>https://community.appian.com/discussions/f/general/34326/process-model-does-not-fetch-the-right-value-when-printing-inside-the-web-api</link><description>I am facing an issue where I am setting a variable in the process model at first to be false and at the end I am setting it to be true, this change was made flawlessly across all the process models only this one. whenever I try to return the value via</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Process model does not fetch the right value when printing inside the web api</title><link>https://community.appian.com/thread/131041?ContentTypeID=1</link><pubDate>Tue, 12 Mar 2024 09:36:32 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3483b272-5c26-4f3a-ac78-a5eb4140562a</guid><dc:creator>Harshit Bumb (Appyzie)</dc:creator><description>&lt;p&gt;You will need to reduce down the nodes to keep them within 50. Divide the subprocess into two parts.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1 - Manipulations that are mandatory before you send the result back to API.&amp;nbsp;&lt;br /&gt;2 - Manipulations which can be done after the result has been sent.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Process model does not fetch the right value when printing inside the web api</title><link>https://community.appian.com/thread/131040?ContentTypeID=1</link><pubDate>Tue, 12 Mar 2024 09:34:07 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a35a530a-43fc-4e14-96f3-7449a2451f61</guid><dc:creator>hawraj9694</dc:creator><description>&lt;p&gt;we do have 50+ nodes inside the sub process, now how can I fetch it right in the web API?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Process model does not fetch the right value when printing inside the web api</title><link>https://community.appian.com/thread/131038?ContentTypeID=1</link><pubDate>Tue, 12 Mar 2024 09:29:57 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8f8ade80-57ff-4eda-b367-168496da9336</guid><dc:creator>Harshit Bumb (Appyzie)</dc:creator><description>&lt;p&gt;Okay. Can you post a picture of what does the subprocess look like? And by any chance, do you think the chained nodes are 50+? Because any chained node after 50 will work just like normal nodes.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Process model does not fetch the right value when printing inside the web api</title><link>https://community.appian.com/thread/131037?ContentTypeID=1</link><pubDate>Tue, 12 Mar 2024 09:25:54 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0e7ccd3d-f2b1-46fa-8dd7-ce2241b507c7</guid><dc:creator>hawraj9694</dc:creator><description>&lt;p&gt;Yes it do show true, and no it is not because broken chains.&lt;/p&gt;
&lt;p&gt;In the web API it workks if we placed the script task change before the subprocess and does not work after.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Process model does not fetch the right value when printing inside the web api</title><link>https://community.appian.com/thread/131035?ContentTypeID=1</link><pubDate>Tue, 12 Mar 2024 09:23:54 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e282b44a-b99b-48d1-94a6-ecf512d9b019</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Did you configure the sub process nodes to chain into the called process?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Process model does not fetch the right value when printing inside the web api</title><link>https://community.appian.com/thread/131034?ContentTypeID=1</link><pubDate>Tue, 12 Mar 2024 09:23:45 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:62e5dde2-9054-4f0d-b030-cb188a9daf34</guid><dc:creator>Harshit Bumb (Appyzie)</dc:creator><description>&lt;p&gt;Okay. And when you check the process history and variable&amp;#39;s values in the process instance, does it show true there? If yes, the only reason I can think of is the broken activity chaining somewhere.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Process model does not fetch the right value when printing inside the web api</title><link>https://community.appian.com/thread/131032?ContentTypeID=1</link><pubDate>Tue, 12 Mar 2024 09:21:18 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:183c1c27-d3ea-42d7-85f8-b13d0b642c3c</guid><dc:creator>hawraj9694</dc:creator><description>&lt;p&gt;I am sure that the name of the variable is success...&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/pastedimage1710235240649v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;yes all chains are enabled in the sub process&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Process model does not fetch the right value when printing inside the web api</title><link>https://community.appian.com/thread/131031?ContentTypeID=1</link><pubDate>Tue, 12 Mar 2024 09:20:45 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:dfb28f3e-5717-48d7-9c2b-118833e9ed7e</guid><dc:creator>Stefan Helzle</dc:creator><description>[quote userid="260998" url="~/discussions/f/general/34326/process-model-does-not-fetch-the-right-value-when-printing-inside-the-web-api"]all chains are enabled[/quote]
&lt;p&gt;Did you check that, including all sub processes and sub process nodes? How many nodes are in that chain and how long is that process running?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Process model does not fetch the right value when printing inside the web api</title><link>https://community.appian.com/thread/131030?ContentTypeID=1</link><pubDate>Tue, 12 Mar 2024 09:18:36 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e5324617-617b-4d8e-b8c2-723c1aa8e130</guid><dc:creator>Harshit Bumb (Appyzie)</dc:creator><description>&lt;p&gt;Are you sure the name of the variable you are updating is &amp;quot;success&amp;quot; with the same case? And you, by mistake, did not add the script task name instead of the variable name in the API&amp;#39;s success parameter? And do you also have the chaining enabled in the sub process?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>