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
8 replies
Subscribers
6 subscribers
Views
5742 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Process
Automated activity context best practice
Colton Beck
over 8 years ago
I have a best practice question about which context automated activities should be run. Is there guidance on when it is appropriate to run an activity as whoever started the process vs whoever designed the process model? Should one be the default selection unless certain special criteria exist?
I've read the following documentation, but no best practice suggestions were mentioned:
forum.appian.com/.../Assignment_Tab.html
OriginalPostID-234781
Discussion posts and replies are publicly visible
Top Replies
judym598
over 8 years ago
+1
Certified Senior Developer
However, if it is a smart service (i.e., Send E-Mail...from the process, or news feed), or a 'Write to Data Entity' node - wouldn't it be best to assign it to 'Run as whoever designed the process' vs …
Parents
0
judym598
Certified Senior Developer
over 8 years ago
However, if it is a smart service (i.e., Send E-Mail...from the process, or news feed), or a 'Write to Data Entity' node - wouldn't it be best to assign it to 'Run as whoever designed the process' vs 'Run as whoever initiated the process'? I recently ran into an issue with this setting. Once I changed it (on the Email node) to 'Run as the designer', it worked just fine. Because the initiator was the person who started the initial process and this node was met along the way - the process failed (I received an 'InvalidUserException' error).
Cancel
Vote Up
+1
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
judym598
Certified Senior Developer
over 8 years ago
However, if it is a smart service (i.e., Send E-Mail...from the process, or news feed), or a 'Write to Data Entity' node - wouldn't it be best to assign it to 'Run as whoever designed the process' vs 'Run as whoever initiated the process'? I recently ran into an issue with this setting. Once I changed it (on the Email node) to 'Run as the designer', it worked just fine. Because the initiator was the person who started the initial process and this node was met along the way - the process failed (I received an 'InvalidUserException' error).
Cancel
Vote Up
+1
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data