In the Workflow Document Format I note we can define what time an activity is fired after a Wait Period.
For Activity Objects with a wait
type, you can define values for a specifiedTime
and timeZoneId
in the configurationArguments
object as per the example below:
{
"id":"51e1f568-0867-415a-ad8b-016a7980519e",
"key":"cad2a0f0-0df6-daf4-7b49-f8e2287abf2e",
"name":"",
"type":"Wait",
"outcomes":[
{
"key":"40cd2874-f16e-71d2-1a81-dfc6b40c2d6d",
"arguments":{ },
"metaData":{ }
}
],
"arguments":{ },
"configurationArguments":{
"waitDuration":1,
"waitUnit":"Days",
"specifiedTime":null,
"timeZoneId":76
},
"metaData":{ }
}
(I retrieved the example above by looking at the response that I get from the getInteractionById method).
Please can someone enlighten me how we can use these specifiedTime
and timeZoneId
key-value pairs? I'm assuming that if I want to send emails at 2pm in the afternoon (when the open rate is typically higher), then I can set these values here. Is that correct? If so, what format does the date need to be in and what are the respective integers for different tz time zones?