Craig_Golby | 2023-03-20 17:40:26 UTC | #1
Within the "Request Body Template" of a Data Action that I have working, is the following line
"DateTimeStamp": "${input.DateTimeStamp}",
The DA is called from an Outbound Campaign, where it seems we don't have the powers of manipulation that we might have on an Inbound Flow, but ideally what I want to do with this is add 73 hours to it.
Any suggestions ???
Jason_Mathison | 2023-03-21 14:16:16 UTC | #2
What is the format of the DateTimeStamp?
Craig_Golby | 2023-03-23 12:15:15 UTC | #3
Hi Jason ... something like this ... 2023-03-22T21:00Z
Jason_Mathison | 2023-03-23 13:08:58 UTC | #4
I was hoping it would be a UNIX timestamp that is just a big number, that we could do a little math with. For that style of timestamp we would need something more like this idea is asking for:
https://genesyscloud.ideas.aha.io/ideas/OP-I-337
--Jason
Craig_Golby | 2023-04-17 08:59:05 UTC | #5
Thanks Jason, yeah, will vote for that as its certainly a way forward. Needed something now though so we have had to go a little 'off piste' to pull something together. The underlying purpose for this was that we wanted to add up to three phone numbers from a single record to a Dialler DNC List, with an Expiration Date.
What we have ended up with is this ...
- Campaigns calls a Data Action and passes in three phone numbers
- Data Action Fires an API that Triggers a Workflow, passing it the three phone numbers
- Workflow calculates +73 hours to Current Date Time
- Workflow calls Data Action, pointed at an API that populates DNC List with Phone numbers and Expiration Date
Like I say, its a bit longwinded, but we couldn't see a better way as we have multiple Call Lists, that all need to be aware of the same DNC List
Jason_Mathison | 2023-03-23 16:53:01 UTC | #6
That definitely seems like a reasonable way to implement your requirement given the current constraints.
--Jason
system | 2023-04-23 16:53:47 UTC | #7
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 19001