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
15 replies
Subscribers
5 subscribers
Views
4449 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Process
Anyone have a creative solution for adding a cancel button to a start form that
jorgea999
over 8 years ago
Anyone have a creative solution for adding a cancel button to a start form that doesn't start a process instance? I'm looking to use this on related actions, actions, and potentially quick tasks. Thanks.
OriginalPostID-173995
OriginalPostID-173995
Discussion posts and replies are publicly visible
0
jorgea999
over 8 years ago
I feel that having a cancel button that starts a process instance for no good reason is very wasteful. I felt fairly sure it wasn't possible, but I know there are a lot of Appian practitioners that hack the product and was wondering if they've run into this type of requirement.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Chris
over 8 years ago
We have the same feeling, but for Related Actions we just set the model to delete instantly upon completion so no memory resources are spent.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
mpontius
over 8 years ago
+1 for csteward! Easy, and it uses OOB functionality.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Chris
over 8 years ago
After years of upgrades with dozens of customizations, we are doing everything we can to replace them with OOTB functionality. I should also mention that out of habit we are using the Delete processes setting at 1 day after completion, vs 0. Back in Appian 5-6 or so this was the best practice, I forget exactly why but I think it was related to sub processes that were set to delete after 0 days would cause issues - maybe someone from Appian staff could chime in on that one.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 8 years ago
I know this is not related to the main topic of this post but since it was mentioned I thought I should clarify.
The recommendation mentioned above of deleting the process after 1 day instead of 0 days is only to prevent race conditions with sub-processes that update variables from the parent "by-reference". This is to make sure the change is pushed to the Analytics engine too before the sub-process gets deleted from the exec.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
<