cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Cloning a Command in SAP Automation Pilot

Ron_Hagan
Product and Topic Expert
Product and Topic Expert
612

I am able to successfully trigger the HttpRequest command in AP and it retrieves a 200 response from the GET request.

Then I cloned the HttpRequest and gave it a different name, putting it into one of my catalogs.

When I trigger the cloned command, using the same exact values/parameters that I did with HttpRequest, for some reason, there is nothing in the Output Values.

I'm stumped on this one.  Has anyone run into this before and if so, what do I need to do to correct it?

Thanks in advance!

Ron

Accepted Solutions (1)

Accepted Solutions (1)

kostadin_karpachev
Product and Topic Expert
Product and Topic Expert
0 Likes

Hello Ron,

Here is the difference between cloning a custom command you've created and a provided one (like the HttpRequest):
- when you clone a custom crafted command, then all of its parts are cloned (apart from the new name you give it and the catalog it resides in);
- when you clone a provided command, then only the input and output keys sections are cloned. The steps in the command that perform the actual logic are not cloned from provided commands, hence you would have to add that logic yourself (in your case, you would add an executor with the provided HttpRequest command and use 'Automap parameters' option to fill the expressions for you).

Best regards,
Kostadin

Ron_Hagan
Product and Topic Expert
Product and Topic Expert
0 Likes
That makes sense. Thank you, Kostadin!

Answers (0)