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.

Retire CIs via Flow designer

Samiksha2
Mega Sage

Hi All,

 

I have created a catalog item to Retire the CIs

User can multiselect the CI (field - Select CIs(List collector- cmdb_ci table)).

When user select the CI/CIs then it will ask for approval and then the operational status of the selected CIs will set as Retired. 

I created a Flow Designer,

after approver approves it will go to the Look up records 

Samiksha2_0-1719392039613.png

 

 

Condition is Sys ID is Catalog Item list collector variable

 

Samiksha2_1-1719392038530.png

 

 

Flow is not going inside for each loop.

 

Please help in this.

 

Thanks,
Sam

 

1 ACCEPTED SOLUTION

Fabian Kunzke
Kilo Sage
Kilo Sage

Hey,

 

The variable contains multiple CI sysIDs. If you want to match that in a flow designer query, you need to use "is one of" instead of "is".

 

Regards

Fabian

View solution in original post

2 REPLIES 2

Fabian Kunzke
Kilo Sage
Kilo Sage

Hey,

 

The variable contains multiple CI sysIDs. If you want to match that in a flow designer query, you need to use "is one of" instead of "is".

 

Regards

Fabian

Thank you so much.