DigitalState / Platform-Communication-Bundle

OroPlatform bundle that provide multi-channel/Omni-Channel Message generation with query builder: SMS, Email, Inbox, IVR, Twitter, Facebook, etc -- DEVELOPMENT REPO
Other
3 stars 4 forks source link

Scheduled Communications #11

Open StephenOTT opened 7 years ago

StephenOTT commented 7 years ago

Ability to Schedule a communication for sending as a specific date.

Few scenarios:

  1. Generate messages right away so that messages are delivered to recipients at the Scheduled Time
  2. Generate messages at the scheduled time, so that messages are delivered any time after scheduled time.

@sadortun Please provide some insights when you get a chance, as you had some good text for these scenarios.

sadortun commented 7 years ago

I think this should be integrated with an Oro Workflow. When pressing SEND, the workflow can ask for the delivery time ( Now , or later) and then set the Communication in SENDING state or PENDING

StephenOTT commented 7 years ago

@sadortun where do you see the future date being stored? A cron cycle looking for delivery dates that have passed?

sadortun commented 7 years ago

You can store the sender At date inside the Communication. As you mentioned,The cron job that process the message awaiting to be sent can also check for this field to know when to start the transmission (KISS)

StephenOTT commented 7 years ago

Agreed. Was also looking at the Oro WorkflowBundle "Processes" as a possibility in tandem with cron

sadortun commented 7 years ago

@StephenOTT Got it working with the ORO Workflows

test