Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
5 replies
Subscribers
5 subscribers
Views
3646 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Process
Whenever we add a timer in the start node of process model, it starts a process
vipins
over 8 years ago
Whenever we add a timer in the start node of process model, it starts a process instance when we click on "Save and Publish".
Any idea why it happens only for processes where timer is there in Start Node.
Any way to stop to run the process instance while clicking on the option?
Thanks in Advane,
Vipin
OriginalPostID-191803
OriginalPostID-191803
Discussion posts and replies are publicly visible
0
aviroop
over 8 years ago
On timer event, click on "Show advanced options" and then select New Expression.
Then paste this tostring(cons!YOUR_TIMER_CONSTANT)=tostring(totime(local(now(),timezoneid())))
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
jessek
A Score Level 2
over 8 years ago
Publishing a model with a timer start event always triggers that start event to fire and start a new process instance.
This is something that must be managed when using Timers to start process models in Appian. There are configuration options inside the Start Event that will allow you manage when the next process instance runs. One of the configuration options allows for the setting of a condition that must be met before the timer start event will fire. These can be used to avoid unwanted firing of process instances. See this link for more information:
forum.appian.com/.../Start_Event_-_Timer.html
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
mikec
over 8 years ago
Too get around this issue on save and publish we immediately cancel the instance that was triggered on the save and publish.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Chris
over 8 years ago
As mentioned above, we manage our timed-start models by utilizing a Boolean constant in the advanced settings. This constant is always set to true, unless we are working on the model - flipping it to false before publishing will prevent the model from running, the model is promoted with the constant set to false and we flip to true once all work has been completed, then timed starts can resume.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sikhivahans
over 8 years ago
@vipins Hi, I believe that a good discussion has been made at
forum.appian.com/.../e-188662
and I would like to suggest to go through the links in the post and the suggestions made by other users in it. Hope that gives you leads.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel