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
1692 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
Parents
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
Reply
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
Children
No Data