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
    I figured out why I received an 'InvalidUserException' error at the 'Send Email' node. The privacy setting for one of the groups in the recipient list was set to high. I did some more research and read that if you set the assignment for this node to 'Run as whoever started the process', the initiator has to be able to see the members in the group. Because the privacy setting on one of the groups was 'high', the initiator couldn't see those members and therefore, did not have the authority to send an email. Note that if the setting IS changed to 'Run as whoever designed the process', the recipient group needs to be publicly visible or the designer has to be a member.
Reply
  • 0
    Certified Senior Developer
    I figured out why I received an 'InvalidUserException' error at the 'Send Email' node. The privacy setting for one of the groups in the recipient list was set to high. I did some more research and read that if you set the assignment for this node to 'Run as whoever started the process', the initiator has to be able to see the members in the group. Because the privacy setting on one of the groups was 'high', the initiator couldn't see those members and therefore, did not have the authority to send an email. Note that if the setting IS changed to 'Run as whoever designed the process', the recipient group needs to be publicly visible or the designer has to be a member.
Children
No Data