Is there a way to see the computed

Is there a way to see the computed values of a variable client side during debugging? I created a JSONata variable and it's not working, but I am not sure how to see what value it has via the debugger.
2 Replies
agoralex
agoralexOP2mo ago
If it helps, the value is trying to use the first non-empty value of a series of query params. So the value I have in the variable value field is: {{ $system.page.query.utm_source ? $system.page.query.utm_source : ($system.page.query.sid2 ? $system.page.query.sid2 : ($system.page.query.sub2 ? $system.page.query.sub2 : '')) }} I got the variable to work, and I found I can see its value only so far by pushing it into a trigger and seeing if the trigger fired. Here is the fixed definition:
{{ $string(system.page.query.utm_source) ? $string(system.page.query.utm_source) : ($string(system.page.query.sid2) ? $string(system.page.query.sid2) : ($string(system.page.query.sub2) ? $string(system.page.query.sub2) : '')) }}
{{ $string(system.page.query.utm_source) ? $string(system.page.query.utm_source) : ($string(system.page.query.sid2) ? $string(system.page.query.sid2) : ($string(system.page.query.sub2) ? $string(system.page.query.sub2) : '')) }}
Would still be good to have variables show in the debug panel or have a console function to call to see the value
Unknown User
Unknown User4w ago
Message Not Public
Sign In & Join Server To View

Did you find this page helpful?