<?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>Un-used Process Variables</title><link>https://community.appian.com/discussions/f/process/27263/un-used-process-variables</link><description>We have a process model (process A) with unused variables and we have a warning message in Process that &amp;quot;variableA&amp;quot; is unused. We went ahead deleted that variable and published the process. The sub process called in Process A has same variable name (</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Un-used Process Variables</title><link>https://community.appian.com/thread/129320?ContentTypeID=1</link><pubDate>Sat, 10 Feb 2024 00:12:02 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8937840f-3b2a-44d6-9435-233b8d41d021</guid><dc:creator>matthewm0011</dc:creator><description>&lt;p&gt;The Product team&amp;nbsp;has&lt;span&gt;&amp;nbsp;created a bug ticket for this behaviour: AN-229406&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Un-used Process Variables</title><link>https://community.appian.com/thread/121004?ContentTypeID=1</link><pubDate>Fri, 27 Oct 2023 20:30:14 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:dd3d9bb9-7226-4f9a-ac69-e6f4895c995b</guid><dc:creator>matthewm0011</dc:creator><description>&lt;p&gt;I have also run into this. I tried to create a minimal example below.&lt;/p&gt;
&lt;p&gt;The main process has a Boolean variable called &amp;#39;readOnly_bool&amp;#39;. It calls a sub process with a Boolean parameter called &amp;#39;readOnly_bool&amp;#39;.&amp;nbsp; The Boolean parameter is set with a literal (false()). When the process variable readOnly_bool is deleted&lt;span&gt;, the parameter setting is removed from the call to the sub process.&lt;br /&gt;&lt;br /&gt;Diagram of main process. Note the warning that process variable readOnly_bool is unused:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/14/pastedimage1698438150087v3.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Process variables for Test_Process&lt;br /&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/14/pastedimage1698437980509v2.png" /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Setup for the call to the sub process.&amp;nbsp; The parameter is set with a literal value.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/14/pastedimage1698438222827v4.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;After deletion of the process variable in the main process, the input variable is deleted:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/14/pastedimage1698438524004v5.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I&amp;#39;m using cloud.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Un-used Process Variables</title><link>https://community.appian.com/thread/106946?ContentTypeID=1</link><pubDate>Fri, 20 Jan 2023 16:53:24 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a0e1f4a0-d8bf-4c3f-9e34-4a185c68b18c</guid><dc:creator>Chris</dc:creator><description>&lt;p&gt;So&amp;nbsp;the parent process gave an &amp;quot;unused&amp;quot; warning for a process variable, but it was used as the input to the sub process?&amp;nbsp; Or the input to the sub process was &lt;em&gt;different&lt;/em&gt; but it was removed when you deleted the parent&amp;#39;s pv!variableA from the model?&lt;/p&gt;
&lt;p&gt;To confirm, what exactly was the input to the sub process&amp;#39;s variableA?&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If this was pv!variableA from the parent, was it not used anywhere else in the model (making the input irrelevant)?&lt;/p&gt;
&lt;p&gt;What version are you on, on-prem or cloud?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>