Skip to main content
Solved

HTTP-Client Custom activity


Forum|alt.badge.img+3

I am attempting to create a workflow to disable snmp monitoring on a particular alert.

I have successfully used the http-client custom activity to toggle the alert enable/disable.

My issue is that I am attempting to email the http response from the activity, but I cannot figure out how to pass the response from the activity to the next downstream activity.

the docs say… “7. Click the Outputs to retrieve the output from the XML operation activity...”

 

Anybody have any insight or example that utilize the http-client activity in a multistep workflow?

 

Thanks,

 

Ken

Best answer by keng

Hi Mike,

 

Thanks for the response - I figured out a way to do what I wanted.

I am making an API call utilizing the HTTP-Client custom activity and I found no way to set the output variables.

But I can get at the activity response in the on_complete script and set a workflow variable that I can access with my email activity.

 

 

View original
Did this answer your question?

4 replies

Forum|alt.badge.img+3
  • Author
  • Bit
  • 7 replies
  • March 31, 2021

I figured out how to set a workflow variable through the script section of the activity as was shown in a related topic “Workflow Script API”


Mike Struening
Vaulter
Forum|alt.badge.img+23

@keng , are you saying you already figured it out?  If not, can you post a screenshot of your workflow and the area you can’t see any Input option?

Assuming you are using Qcommand > Operation > Execute, you should have outputs that you can assign as inputs for another item.

Want to be sure I’m looking at the same thing you are.

 


Forum|alt.badge.img+3
  • Author
  • Bit
  • 7 replies
  • Answer
  • March 31, 2021

Hi Mike,

 

Thanks for the response - I figured out a way to do what I wanted.

I am making an API call utilizing the HTTP-Client custom activity and I found no way to set the output variables.

But I can get at the activity response in the on_complete script and set a workflow variable that I can access with my email activity.

 

 


Mike Struening
Vaulter
Forum|alt.badge.img+23

Thanks for confirming and sharing!


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings