Forum Discussion
SpiroTaleski
5 years agoValued Contributor
You can try with the following expression in the child pipe:
Date.parse(JSON.parse(_StartDate))
Or to avoid sending the string {“_snaptype_localdatetime”:“1996-08-26T00:00:00.000”} to the child pipeline, from the parent pipeline try to send the date field(StartDate) as a string(not as a datetime), and then try to convert to date with Date.parse(_StartDate).
Regards,
Spiro Taleski
RoyB
5 years agoNew Contributor III
I’ve tried both of those, and each time it errors as not a number error
We managed to build a work around though, buy setting up some snaps to except the values as part of the incoming document rather than passing a parameter
Thanks for the help