Why does it print });}); whenever I try to run javascript in IFTTT rules macro?

Implicit2570
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 10, 2021

I am trying to run javascript using IFTTT Run Javascript action. I wrote <script> tags in code or No format block in IFTTT but it is printing });}); this thing. Please give some inputs on how to run javascript in IFTTT macro Body and if possible how to access the return result from Javascript function.

1 answer

0 votes
Alex Medved _ConfiForms_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 10, 2021

Hi

So, I believe this question is about ConfiForms app (I have added this tag into the question, and the "action" you have mentioned is not available in cloud, so I believe the other (question) tags are not correct)

To answer this shortly: because this is what noformat/code macro do - they just print out the code you put. You cannot execute it, as it is not a code really, it is "escaped"

In order to put the code into your page and execute it later from ConfiForms you need to use something like a HTML macro or analogs

Alex

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events