func (p *CrittercismPlugin) SetDate(job *job.Job, f *gotelemetry.Flow) {
	data, found := f.TextData()

	if !found {
		job.ReportError(gotelemetry.NewError(400, "Cannot extract text data from flow"+f.Tag))
		return
	}

	data.Text = time.Now().Format("Monday, January 2")

	job.PostFlowUpdate(f)
	job.Logf("Set app name to flow %s", f.Tag)
}
func (p *CrittercismPlugin) SetAppName(job *job.Job, f *gotelemetry.Flow) {
	data, found := f.TextData()

	if !found {
		job.ReportError(gotelemetry.NewError(400, "Cannot extract text data from flow"+f.Tag))
		return
	}

	data.Text = p.appName

	job.PostFlowUpdate(f)
	job.Logf("Set app name to flow %s", f.Tag)
}