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.

Schedule CHG Creation and Create TASK per Selected CI

Community Alums
Not applicable

Hi All,

 

I have a requirement, can you please help me to achieve it. The ask is - 

 

1- Create a daily change record (CHG)
2- Get all hosts from ABC Import Set and identify these CIs whose status is = RETIRED. In the change, create one task per CI detected but a maximum of 20 tasks
3- Task001 = Planning task to identify all CIs which which should be removed

4- Task002- 0021 = Implementation to clean the first 20 CIs from ABC through an API call:

 

5- Create a report to show all CIs removed with the associated change number for historical reasons.

 

Thanks,

Piyush Kumar

0 REPLIES 0