// MarkHandled Mark the specified change in the workflow as handled
MarkHandled Mark the specified change in the workflow as handled
// MarkHandled Mark the specified change in the workflow as handled
func (w *Workflow) MarkHandled(c *Change) {
	for i, change := range w.Spec.State.Changes {
		if change.ID == c.ID {
			w.Spec.State.Changes[i].Handled = true
			break
		}
	}
}
func ( w * Workflow ) MarkHandled ( c * Change ) { for i , change := range w . Spec . State . Changes { if change . ID == c . ID { w . Spec . State . Changes [ i ] . Handled = true break } } }
MarkHandled Mark the specified change in the workflow as handled
MarkHandled Mark the specified change in the workflow as handled