on 2024 Oct 03 2:39 PM
Hello,
I am calling a web service with destination task in an autmation and need to extract information from the body of the response object.
Getting Goods Receipt details
Get the following response. Need to extrat the value of QuantityInBaseUnit.
Just create a custom script.
And then the code is just:
return myInput.inputs[0].d.results[0].QuantityInBaseUnit;
You'll of course have to bind the output of the Call Web Service to the custom script.
But all of this is if you want to store it in a variable. You don't need a custom script because you can use the expression editor to get the value you want directly (below is me using the root of Northwind service to get name of the first entity):
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
79 | |
10 | |
8 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.