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
4 replies
Subscribers
6 subscribers
Views
1690 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Process
We are seeing something unusual occur with one of our process models. When
davidc639
over 9 years ago
We are seeing something unusual occur with one of our process models.
When it is published, the process will immediately run an instance without consent.
I suspect it's because it has an autostart timer at the beginning of the process.
Is there a way to prevent this behavior?
OriginalPostID-188662
OriginalPostID-188662
Discussion posts and replies are publicly visible
0
Shyam Bommakanti
Certified Lead Developer
over 9 years ago
Check the start event properties, does it have any triggers setup?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sikhivahans
over 9 years ago
@davidc If you haven't made a search in the forum already, I would like to suggest you to go through following links:
https://forum.appian.com/suite/tempo/entry/e-182367
https://forum.appian.com/suite/tempo/entry/e-108038
The posts at above links gives you an idea of how you can control the behavior as per your requirements but to the best of my knowledge preventing the model from triggering the instance isn't possible.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
aayusha
Certified Senior Developer
over 9 years ago
What I generally prefer in this case is following.
To have an XOR gateway after the start event and configure a constant (Boolean type) in the XOR gateway. While publishing the process model I make sure the constant is set to false which will redirect the flow of the process instance to end event.
Note: The only constraint in this that one need to check the value of constant each time one publish the process model.
Now to remove this dependency, I generally put my logic in the sub-process and publish the sub-process process model and the main process (which is having a timer event) in never published.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Chris
over 9 years ago
We have used the method as aayusha suggest, but an alternative is to open the timer event advanced settings and choose your Boolean constant in an expression under Timer Conditions, causing the model to only fire if the constant is true(). This will result in the same behavior as the XOR configuration.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel