<?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>Why a process is launched itself automatically after a deployment?</title><link>https://community.appian.com/discussions/f/process/26219/why-a-process-is-launched-itself-automatically-after-a-deployment</link><description>Hi, 
 I have deployed a new process with the Deployer tool, and few minutes after, I&amp;#39;ve noticed that this process has been launched itself automatically without any user action. 
 The only particular settings is that the process is configured with a Timer</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Why a process is launched itself automatically after a deployment?</title><link>https://community.appian.com/thread/102909?ContentTypeID=1</link><pubDate>Thu, 13 Oct 2022 17:02:01 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f76a387e-97c2-4200-9eb2-6a8f14eaa4e6</guid><dc:creator>Chris</dc:creator><description>&lt;p&gt;I setup one constant per scheduled process model, always a 1 to 1 ratio.&amp;nbsp;&amp;nbsp;That has worked best for me as it&amp;#39;s typically one at a time where I&amp;#39;m turning on or off, and this ensures a release to production isn&amp;#39;t toggling a constant that affects other processes which could be starting around the same time.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have some groups of processes that are held or released based on constants also, but generally not for scheduled activities.&amp;nbsp; Most common is with integrations with other systems, where we have some databases that request us to &amp;#39;hold&amp;#39; interactions (writes) at certain times (where the DB is still up), or the DB may be down for maintenance or unexpectedly.&amp;nbsp; If something occurs, I flip the constant to hold integrations which also flags sections on related forms to alert users that their transactions will be held temporarily.&amp;nbsp; This is also a work-around for the Write to DS nodes &lt;span style="text-decoration:underline;"&gt;&lt;strong&gt;not&lt;/strong&gt; &lt;/span&gt;having the &amp;quot;Pause on Error&amp;quot; setting as the Query DB node does, so the process can pause and release gracefully based on the constant value instead of throwing an error due to an offline connection (..resisting the urge to tag Peter to check on that enhancement request &lt;span class="emoticon" data-url="https://community.appian.com/cfs-file/__key/system/emoji/1f603.svg" title="Smiley"&gt;&amp;#x1f603;&lt;/span&gt;).&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve done some things in the past with checking the current time and using logic to hold or fire the process based on that, but as you mention that becomes a pain quickly when you need to start a process later after a failure, or adjust the schedule, or for testing, etc.&amp;nbsp; I&amp;#39;ve nixed that approach altogether.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;For constant settings that can change regularly (or for scheduled processes with frequent updates), I even have a process built out where I can manage them from my &amp;quot;COE Admin Console&amp;quot; rather than from /design.&amp;nbsp; Update Constant service to the rescue!&amp;nbsp;&amp;nbsp;&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;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/14/pastedimage1665680018711v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why a process is launched itself automatically after a deployment?</title><link>https://community.appian.com/thread/102908?ContentTypeID=1</link><pubDate>Thu, 13 Oct 2022 16:11:08 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:407aa156-6229-4054-8357-1b248bca83a4</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;To clarify, do you just set up a separate constant for each such process?&amp;nbsp; I can see advantages to that approach as well as the approach wherein there&amp;#39;s a shared constant for all timed processes (or certain groups thereof) in the environment.&amp;nbsp; Generally I&amp;#39;ve been too lazy to retrofit my system&amp;#39;s timed processes with these, and/or haven&amp;#39;t managed to compromise on a single unified approach.&lt;/p&gt;
&lt;p&gt;FWIW, In the past I&amp;#39;ve set up conditions where the hour has to match the timer&amp;#39;s launch hour, but that can be a giant pain to actually test (and ensure there aren&amp;#39;t timezone conversion mismatches that&amp;#39;ve snuck into the equation, etc).&amp;nbsp; I think, in general, I might like your suggestion more.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why a process is launched itself automatically after a deployment?</title><link>https://community.appian.com/thread/102907?ContentTypeID=1</link><pubDate>Thu, 13 Oct 2022 16:01:12 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a8e18f4c-f31f-44e4-9911-6bb9ef85d0ca</guid><dc:creator>cedric02</dc:creator><description>&lt;p&gt;That is a good idea, thank you for this tip Chris&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why a process is launched itself automatically after a deployment?</title><link>https://community.appian.com/thread/102906?ContentTypeID=1</link><pubDate>Thu, 13 Oct 2022 15:43:28 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e0a11948-18c8-4e73-8cd3-8d3806c718b3</guid><dc:creator>Chris</dc:creator><description>&lt;p&gt;For&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;em&gt;&lt;strong&gt;ALL&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/em&gt;of my scheduled processes, I use a boolean constant in the timer conditions, where the process will only fire if the constant is set to true.&amp;nbsp; Deploy the process to production along with the constant set as false, then you can flip the constant back to true after deployment has completed, which will cause the process to not run during deployment, but run as scheduled in the future.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This is also handy for situations where you may want to turn the process off later, especially temporarily.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why a process is launched itself automatically after a deployment?</title><link>https://community.appian.com/thread/102900?ContentTypeID=1</link><pubDate>Thu, 13 Oct 2022 13:02:05 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3c75c0d3-b940-4be4-ae51-690048fbf710</guid><dc:creator>cedric02</dc:creator><description>&lt;p&gt;Thank you Harshit, Richard for your reply. I feel reassured.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why a process is launched itself automatically after a deployment?</title><link>https://community.appian.com/thread/102893?ContentTypeID=1</link><pubDate>Thu, 13 Oct 2022 11:31:27 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:32b78cea-644e-4cbc-9a92-93e9418d7703</guid><dc:creator>Richard Michaelis</dc:creator><description>&lt;p&gt;yeah, i have seen that several times already and I don&amp;#39;t like it really. Its not a bug in my mind, but not 100% convenient as well.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why a process is launched itself automatically after a deployment?</title><link>https://community.appian.com/thread/102892?ContentTypeID=1</link><pubDate>Thu, 13 Oct 2022 11:19:25 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6d690085-9f9c-408f-8338-e5f050d304bb</guid><dc:creator>Harshit Bumb (Appyzie)</dc:creator><description>&lt;p&gt;Every scheduler process runs itself once after every deployment or after every save and publish. This is how scheduler processes work.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>