Solved

HTTP-Client Custom activity

  • 31 March 2021
  • 4 replies
  • 82 views

Badge +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

icon

Best answer by keng 31 March 2021, 17:12

View original

4 replies

Badge +3

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”

Userlevel 7
Badge +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.

 

Badge +3

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.

 

 

Userlevel 7
Badge +23

Thanks for confirming and sharing!

Reply