Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

ATF create a user step

afelez07
Mega Contributor

Hi everyone,


New to ATF and I need help better understanding this step.

 

I created 3 steps with the “Create a User” 

 

Step 4: Open a New Form

Step 5: Set Field Values

 

If I want to add the created users to a field in my form that is of type glide_list and reference sys_user, if select from the data pill picker on the far right it only allows me to select one of the steps 1-3. And if i click the magnifying glass to check the sys_user table, I don’t see the users I created in step 1-3. But I can select multiple other users and they are comma separated. 

 

4 REPLIES 4

Sardash
Giga Guru

@afelez07  -

The data pill picker only allows you to select one record from a previous step because each "Create a User" step returns a single  sys_id. It doesn’t automatically combine multiple sys_ids into a list.

ATF creates records only for the test run, so they don’t show up in the normal lookup.

-----------------------------------------------------------------------------------------------------------------------------

If my response helped, please mark it by selecting "Accept as Solution" and " Helpful."

afelez07
Mega Contributor

So if I want to populate the glide_list in the form with multiple users created in prev steps, what would be the right approach? Don’t want to go into the trouble of selecting random users from sys_user lookup

afelez07
Mega Contributor

So if I want to populate a glide_list with multiple users created in prev steps, what would be the right approach?

afelez07
Mega Contributor

@Sardash 

So if I want to populate the glide_list in the form with multiple users created in prev steps, what would be the right approach? Don’t want to go into the trouble of selecting random users from sys_user lookup