Hi Rajdeep,ACS currently doesn't allow you to employ JS code inside a
workflow. This has been done seeking security measures employed to make
ACS more robust.What it does is, functionalities like the one you are
requesting here, not possible with ACS anymore.Engineering is working on
having features added in upcoming releases where workflow variables will
be provided for use by application users.it is not possible at the
moment.Regards,Vipul