amit_saroha
3 years agoNew Contributor III
Date Issue in Pipeline Parameter
Hi All,
I have a requirement to pass date in YYYY-MM-DD format and I am using the expression “Date.now().toLocaleDateString()” but I have the below issue.
When I use it in pipeline parameter “Effective_Date” then use _Effective_Date in the pipeline it fails but when I use it directly it works. When I pass something hardcoded in the pipeline parameter it also works e.g. 2022-01-01
Could you suggest what is happening here and what is needed to get it fixed?
Below is not working
Below is working