Open a new tab with query result

  1. My goal:
    I want a button that runs a REST query, gets an URL in response and then open this URL in a new tab (with utils.openUrl)

  2. Issue:
    As events are run in parallel, new tab opens with an old result of the query

  3. Steps I've taken to troubleshoot:
    I tried to do all this in a JS Code with window.open() and call this Code with the button, but no new tab opens

1 Like

Ok, I found it.
I just had to use utils.openUrl() in my JS Code and it works

5 Likes