You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
Hi everyone,
I'm trying to add the value from the rest response over the current date;
To access the variable i am using;
{{webhookResponse.body.table.body.rows.valueColumns.value.get(0)}}
This gives me a decimal number like 87.5 which represent hours.
I need to add this value on current date with plusHours method. I tried many methods but i couldn't make it;
{{now.plusHours( {{webhookResponse.body.table.body.rows.valueColumns.value.get(0)}} )}}
{{now.plusHours({{asNumber}}{{webhookResponse.body.table.body.rows.valueColumns.value.get(0)}})}}
{{#webhookResponse.body.table.body.rows.valueColumns}}{{now.plusHours({{value.get(0)}})}}{{/webhookResponse.body.table.body.rows.valueColumns}}
None of these methods work.
On cloud i am using Create Variable action to assign this value on a variable but on datacenter Create Variable action not available. So I am trying to use access directly to variable.
I'm open to all advice, thanks !
Hi @Ömer
Once inside a set of curly-brackets you do not need to repeat them. Please try this:
{{now.plusHours(webhookResponse.body.table.body.rows.valueColumns.value.get(0).asNumber)}}
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.