Time manipulation in the Script or Data Actions

Hello,

I'm trying to create a custom button in a callback script, upon clicking the button, the interaction will be scheduled 5 minutes later. I've tried to manipulate the time in Architect where ToString(AddMinutes(GetCurrentDateTimeUtc(), 5)) but it only gets the current time the call reached the callback block. If an agent tries to reschedule the callback again, it will be scheduled in the past.

Is there an API that we could use in Data Actions/Script that could help this ask?

Thank you!

I would suggest moving this question to the Architect room as Data Actions don't have any concept of time.

--Jason

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.