Example #1
0
// Adds a task associated with a flow taken from a board. This method automatically
// handles board prefixes; therefore, you must use the tags exactly as they are defined
// when in the board template.
func (e *PluginHelper) AddTaskWithClosureFromBoardForFlowWithTag(c PluginHelperClosureWithFlow, interval time.Duration, b *gotelemetry.Board, tag string) error {
	flows, err := b.MapWidgetsToFlows()

	if err != nil {
		return err
	}

	return e.AddTaskWithClosureForFlowWithTag(c, interval, flows, tag)
}