Author Message
MichaelPfliegner
Joined: Dec 13, 2016
Messages: 2
Offline
For a POC we are currently trying to build an Engagement Designer Workflow that is dependent on the current time.
The call intercept workflow is supposed to route the call to a specific number if it is between 10pm and 8am (Out of Office time).
The string "timeOfEvent" that can be used within the StartSchema returns the value in the format "Date + Time + Timezone".
Is it possible to split this string into three substrings? How can we implement a time dependency?

Thanks
Michael
AnuragAggarwal
Joined: Jun 1, 2014
Messages: 154
Offline
you can split the string into substrings using substring function, then get the required hour, parseInt to get integer if you need, and compare it to 10 pm or 8am
Go to:   
Mobile view