Skip to main content
October 13, 2022
Question

Why a process is launched itself automatically after a deployment?

  • October 13, 2022
  • 7 replies
  • 0 views

Hi,

I have deployed a new process with the Deployer tool, and few minutes after, I'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 trigger set with a weekly value : saturday on 7:00 am

The process has been deployed today (friday 2022-10-13 at 12:00 am) so the day and hour does not match with the timer.

Would you have any explanation ? is this an Appian ou Deployer bug ?

Regards

7 replies

harshitb6843
October 13, 2022

Every scheduler process runs itself once after every deployment or after every save and publish. This is how scheduler processes work.

October 13, 2022

Thank you Harshit, Richard for your reply. I feel reassured.

richardm900458
October 13, 2022

yeah, i have seen that several times already and I don't like it really. Its not a bug in my mind, but not 100% convenient as well. 

csteward
October 13, 2022

For ALL 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.  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. 

This is also handy for situations where you may want to turn the process off later, especially temporarily.

October 13, 2022

That is a good idea, thank you for this tip Chris