Skip to content

Passing a timestamp value (like the current date/time from a script task) into an IFS API call from a workflow fails with a data-type conversion error.

Answer

Check the exact string format your script produces against what the workflow's date-time conversion actually expects — a JavaScript Date's default string output isn't automatically in a workflow-supported date-time format, so explicitly reformatting it (for example, from an ISO-style timestamp into the specific format the target API field expects) before passing it into the API call is usually the fix, not the underlying date value itself being wrong.

← Browse Workflows and automation questions