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.

Filter Affected CI Related List within Change Request

Khalnayak
Kilo Sage

Hi all,

I have the following requirement:

Affected CI Related List - Exclude all Non-Operational or Retired CIs from being selected
Impacted CI Related List - Exclude all Non-Operational or Retired CIs from being selected

find_real_file.png

find_real_file.png

find_real_file.png

 

I have tried to add a ref qualifier to the dictionary entry as below but that doesnt seem to work.

find_real_file.png

 

I can add a default filter to the affected CI and impacted CI but that filter can be removed by the user.

So ideally I want this done in the back end.

Can you please advise why the reference qualifier is not working and what else I can do?

Thanks.

Usmaan.

1 ACCEPTED SOLUTION

Kieran Anson
Kilo Patron

Update the AssociateCIToTask Script Include getURL function to achieve this.

find_real_file.png

View solution in original post

12 REPLIES 12

Khalnayak
Kilo Sage

@Ankur Bawiskar  work your magic please 

Khalnayak
Kilo Sage

@Jaspal Singh @asifnoor @Kieran Anson 

Kieran Anson
Kilo Patron

Update the AssociateCIToTask Script Include getURL function to achieve this.

find_real_file.png

Hi Kieran,

Thanks, can you copy paste the script here so I can use it please.

Also will this script display the breadcrumbs filter and will it be editable?