Automated activity context best practice

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

Parents
  • 0
    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 '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).
Reply
  • 0
    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 '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).
Children
No Data