Skip to main content
September 14, 2023
Question

Adding user to specific group process model

  • September 14, 2023
  • 4 replies
  • 0 views

Hi All,

What is the best way to add a user just created with the Create User Smart Service to a specific group in my application, is there a specific smart service I can use for this in my process model?

thanks in advance

4 replies

mikes0011
Brainy
September 14, 2023

Generally speaking the "Add Group Members" smart service should be sufficient - are you having any particular trouble?

September 14, 2023

Yes, I'm trying to configure the user to be added but without selecting it manually. right now my process model creates the user in the system and then I want to add it to the group, but it only works if I manually select the user in the Add group members node.

shikhat
September 15, 2023

Hi, create the user using create user service , save the new user created in a process variable (output variable), pass that pv(user type) in the input of Add Group node.
Pass the group name as constant/select the group. That is the standard process.

Anything else that you wish to perform here ?