Skip to main content
October 25, 2024
Solved

Create User Smart Service and multiple users

  • October 25, 2024
  • 5 replies
  • 0 views

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

Best answer by somasundaram.d

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

5 replies

somasundaram.d
October 25, 2024

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

October 25, 2024

let me ask when entering the name, email etc in the smart sevice I can still user the MAC User List. name  relationship, or I have to index that also?

mikes0011
Brainy
October 25, 2024
I can still user the MAC User List. name  relationship

Can you clarify what you mean by this?  I'm really unclear what we're supposed to make of the phrase "MAC User list name relationship".  Is that something standard?