这份文档还在翻译中,预期年底前完成。欢迎您提供宝贵的意见及建议。

What is a Dispatch workflow?

A Dispatch workflow is a facility whereby you can create a message sending plan using a template. The currently supported template is the failover template. This template allows you attempt to send a message via one channel, and if success conditions are not met with the specified time limit then fall back to sending the message via another channel.

In the following example the success condition is the message is read within 600 seconds.

   "failover":{
      "expiry_time": 600,
      "condition_status": "read"
    }

Failover can also happen immediately if the message sending fails.