In the smart value of {{webResponse.body.results.get(0).id}}, can the 0 part of get(0) be expressed as a variable?
Hello @青山 明 ,
Add a create variable step variable in your automation and assign the value {{webResponse.body.results.get(0).id}} to it.
Then you can access variable as {{Variable_Name}}.
Hope this helps !
Do you have any specific examples or samples?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Here is one such example, which i used for lookup objects.
1. I did lookup objects.
2. Then I created variable as ApprovalGroup.
3. Then I can use it as {{ApprovalGroup}} in my automation.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It seems a little different. What I want to know is whether indicators can be defined as variables in smart values.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The smart value of {{webResponse.body.results.get(0).id}} can be written as {{webResponse.body.results.get({{variable}}).id}}.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
yes, very much. It works !
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can I write it like {{webResponse.body.results.get({{variable}}).id}}?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes that will work.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is useless. I get an error like below.
Failed to get value for webResponse.body.results.get({{variable: {{webResponse.body.results.get({{variable}}).id}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
put log action and see what value you are getting in variable.
Add log action step and print {{variable}} and verify what value variable is holding.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
An error occurs when writing {{webResponse.body.results.get({{variable}}).id}}. Do you understand the question?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Just to double check, isn't it possible to write {{webResponse.body.results.get({{variable}}).id}}?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.