Assignment for Unattended Smart Services

Certified Senior Developer
An application that has been in our TEST environment for several weeks recently generated an error (InvalidUserException) that was spawned when the process flow came to a 'Send E-Mail' node. I'm pretty certain the cause is due to the assignment on this node. I had it set to 'Run as whoever started the process' and I think it should be 'Run as whoever designed this process model', but I'm not sure why the error is only now showing up. The individual who started the process is not an administrator but has tested this process multiple times. Am I correct in assuming that the assignment for Send E-Mail, News Feed and Subprocess nodes should (always) be set to 'Run as whoever designed this process model' - which would be the application administrator (Administrator group) who updates/imports patches? When would it be set to 'Run as whoever started the process'? It seems as though that is the default. If i...

OriginalPostID-234736


Node Assignment.docx

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Senior Developer
    The security on the process model is associated with specific groups (not users), but this node was assigned to whoever started the process (i.e. someone who is a basic user). Once I changed the assignment on that node to whoever designed the process, the basic user was able to start and complete the process as designed. The emails were sent out correctly. We do use a system account (an 'application administrator' user) who is assigned to the 'administrator group' when deploying/importing our applications. This group has 'administrator' rights on the process model. We ran into the issue in the past with deprecated users!
Reply
  • 0
    Certified Senior Developer
    The security on the process model is associated with specific groups (not users), but this node was assigned to whoever started the process (i.e. someone who is a basic user). Once I changed the assignment on that node to whoever designed the process, the basic user was able to start and complete the process as designed. The emails were sent out correctly. We do use a system account (an 'application administrator' user) who is assigned to the 'administrator group' when deploying/importing our applications. This group has 'administrator' rights on the process model. We ran into the issue in the past with deprecated users!
Children
No Data