Business Process Security Context

I'm working on a business process that creates user groups on the fly using the system user action "Group_CreateNew" and I'm getting "UserManager role is required to create group" in the service center log.  Since a business process doesn't have a user context, how do I give the process context permission to execute this action?

Hi Randy,

You should reference the UserManager Role from the Users eSpace:

and then in your BPT process, use its GrantRole Action to grant the role:

(use GetUserId() for the "UserId" Parameter) before calling the Group_CreateNew Action.