ZIS action: Getting the current date
The following snippet illustrates a step in a flow that uses the Transform action to get the current date, and pass it to the next state in the ZIS flow. For more information about an action's date and time capabilities, see Dates in the jq documentation.
"GetCurrentDate": {
"Type": "Action",
"ActionName": "zis:common:transform:Jq",
"Parameters": {
"expr": "now | strftime(\"%Y-%m-%d\")",
"data.$": "$.input"
},
"ResultPath": "$.zendesk.current_date",
"Next": "YourNextFlowState"
},