The Zurich release has arrived! Interested in new features and functionalities? Click here for more

Through catalog task i need update in dashboard active machines to make it false

mani55
Tera Contributor

i have one catalog form is there under that we have machine(hostname) variable is there. once catalog is submitted after it's create catalog task .in that catalog task what we need to do is we have security exception dashboard is there under that we have active machines report is there under that we need to make that active true to false so how we can archive.

1 ACCEPTED SOLUTION

Viraj Hudlikar
Tera Sage

Hello @mani55 

 

Use a Flow Designer flow triggered by the Catalog Task state change. The flow will find the corresponding machine record and update its active field to false.


Below are some sample screenshots that will help to set up the flow.

 

The trigger will be something like this. 

VirajHudlikar_0-1758693877322.png

 

Next, let's get the variable value, which we need to use further to get it updated.

VirajHudlikar_1-1758694006418.png

 

Now we have a variable that was selected by the user while submitting the request. Now we will use that value to fetch the actual record from the table where it resides.

VirajHudlikar_2-1758694095372.png

 

Now last step to update that record we fetched from previous step

VirajHudlikar_3-1758694198216.png

 

Now using the above sample flow, you can achieve the same.

 

If my response has helped you, hit the helpful button, and if your concern is solved, do mark my response as correct.

 

Thanks & Regards
Viraj Hudlikar.

 

View solution in original post

2 REPLIES 2

Viraj Hudlikar
Tera Sage

Hello @mani55 

 

Use a Flow Designer flow triggered by the Catalog Task state change. The flow will find the corresponding machine record and update its active field to false.


Below are some sample screenshots that will help to set up the flow.

 

The trigger will be something like this. 

VirajHudlikar_0-1758693877322.png

 

Next, let's get the variable value, which we need to use further to get it updated.

VirajHudlikar_1-1758694006418.png

 

Now we have a variable that was selected by the user while submitting the request. Now we will use that value to fetch the actual record from the table where it resides.

VirajHudlikar_2-1758694095372.png

 

Now last step to update that record we fetched from previous step

VirajHudlikar_3-1758694198216.png

 

Now using the above sample flow, you can achieve the same.

 

If my response has helped you, hit the helpful button, and if your concern is solved, do mark my response as correct.

 

Thanks & Regards
Viraj Hudlikar.

 

Ankur Bawiskar
Tera Patron
Tera Patron

@mani55 

Sorry please share screenshots of your form etc and phrase the question properly on what's your requirement and where are you stuck

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader