Whats the efficient way to write ECMA script to redirect to a provided url
In one of the OR step in my workflow I want to bring the annotate function for users. When the user click the annotate option I would like to redirect to the 'mnt/overlay/dam/gui/content/assets/annotate.html' appended with the payload. whats the easiest way to bring page redirect. Do I need to call any sling service from the script.
Thanks