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.

UI Parameters Now Agent App Filtering

Zackery Reynold
Mega Sage

Is there a way to filter or set a condition for a UI Parameter for the new Now Mobile app?

This is created from a Function and Action Item.

I create UI Parameters and set Data Parameters to them.

 

We want to use it for our Assignment Group reference field on our Create Incident form. We are expecting to have a filter to show 403 Incident Assignment Groups but instead show 1,006 groups, which have approver groups that should not appear. 

 

Does anyone have any suggestions on what I could do to make this possible?

1 ACCEPTED SOLUTION

Zackery Reynold
Mega Sage

I created a case with ServiceNow and we found the issue.

 

Under the Field Values in the Action Item, you have to find Task Type in the drop-down, and select Incident.

 

I thought the Field Values were for creating the incident because we are setting the Data to look at the Incident table.

View solution in original post

2 REPLIES 2

Zackery Reynold
Mega Sage

In the UI Parameter, I set the Default Value Type to Source field, Input Type to Source field, and I had to set the Input Source to Auto fill. This allowed me to select the Button Parent Table as Incident and I set the Source Field to assignment_group.u_incident_assignment_group because that allows me to dot walk, but the Assignment Group field disappears.

Zackery Reynold
Mega Sage

I created a case with ServiceNow and we found the issue.

 

Under the Field Values in the Action Item, you have to find Task Type in the drop-down, and select Incident.

 

I thought the Field Values were for creating the incident because we are setting the Data to look at the Incident table.