Change Record creation through Azure Pipeline is giving an error

NupurT
Giga Explorer

I have a requirement to create a change ticket in ServiceNow through a Azure pipeline on Azure DevOps.
This pipeline will run every month and will create change record with the start date as current date on which pipeline ran and end date as next day.
The yaml file is :

NupurT_0-1714125282066.png

The error I am getting after running the pipeline :

NupurT_2-1714125496113.png


The interesting part is when I am hard coding date values as string, for reference - '04-26-2024 00:00:00', the pipeline is running successfully.

Can you please tell me what type of value does these fields accept ? As SNOW is not returning specific information about the error.

 



0 REPLIES 0