Is it possible to write a full fledged Javascript function inside sandbox

I want to include this random name generator function in macro

I get the error ror in executeScript_Sandbox code: Unexpected identifier

Is it possible to include it in a macro?


You can use this for random function

1 Like

Thanks a lot @newuserkantu This really helps
Do you have any idea how we can use multiple if conditions using || or $ in if_v2

I think you can use this post there is a function with 2 conditions

parseInt ("${a}") > 5 && parseInt ("${a}") < 15

I think you can use this example.

1 Like

Thanks a lot for your help @newuserkantu