Create User Smart Service and multiple users

Certified Senior Developer

Hi All,

I have a record type process variable  - MAC User (list), This record type contains the list of users and their information like name, email, last name etc. 

I'm trying to create the users within appian with the Create User Smart Service, but since its a list is not allowing and its throwing an error, do I have to do a loop for this? I was thinking the smart service could create more than one user at the time. 

If looping is the only option - can someone recommend what would the best way?

thanks in advance

  Discussion posts and replies are publicly visible

Parents
  • +1
    Certified Lead Developer

    Yes, you have to take it through a loop.

    There are two ways to do that,

    1. You can configure MNI in the Create User Smart Service node so that it executes for the users in MAC User (list)

    2. You can create a loop in process model using XOR and Script task to assign start index and iterating it through each items in MAC User (list)

    If you anticipate the total users to be less than 1000 you can go with MNI else create a manual loop in process

Reply
  • +1
    Certified Lead Developer

    Yes, you have to take it through a loop.

    There are two ways to do that,

    1. You can configure MNI in the Create User Smart Service node so that it executes for the users in MAC User (list)

    2. You can create a loop in process model using XOR and Script task to assign start index and iterating it through each items in MAC User (list)

    If you anticipate the total users to be less than 1000 you can go with MNI else create a manual loop in process

Children