Glific v0.3.1 Glific.Flows.Periodic View Source

A central place to define and execute all periodic flows. The current periodic flows in priority order are:

Monthly, Weekly, Daily A specific weekday (i.e - Monday, Tuesday, ..) OutOfOffice

All these flows are shortcode driven for now.

At some point, we will make this fleixible and let the NGO define the periodic interval

Link to this section Summary

Functions

Run all the periodic flows in priority order. Stop when we find the first one that we can execute

Link to this section Functions

Link to this function

run_flows(state, message)

View Source

Specs

run_flows(map(), Glific.Messages.Message.t()) :: map()

Run all the periodic flows in priority order. Stop when we find the first one that we can execute