Solved
workflow javascript code component
Hi Team,
Can you please let me know how should i replace <%= new Date().getFullYear() %>. Correct script is <%= "<" + "%= new Date().getFullYear() %" + ">" %> in javascript code workflow.
Regards,
Nidhi
Hi Team,
Can you please let me know how should i replace <%= new Date().getFullYear() %>. Correct script is <%= "<" + "%= new Date().getFullYear() %" + ">" %> in javascript code workflow.
Regards,
Nidhi
Hi Nidhi,
I am not sure what is your requirement.
If you are calling any js functions within js activity. You can call as like below.
var test = new Date().getFullYear() ;
logInfo(test)
This will show you current year.
Thanks
Naveen S
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.