// Execute Execute the specified workflow
Execute Execute the specified workflow
// Execute Execute the specified workflow
func (c *executionController) Execute(ctx context.Context, workflow *v1.Workflow) {
	cleanup := &sync.WaitGroup{}
	completion, cancel := context.WithCancel(ctx)
	wc := executioncontext.NewWorkflowContext(completion, cancel, cleanup, workflow)
	c.processTransitionsAndChanges(wc)
	log.Debugf("Performing cleanup...")
	cleanup.Wait()
	log.Debugf("Finished cleanup")
}
func ( c * executionController ) Execute ( ctx context . Context , workflow * v1 . Workflow ) { cleanup := & sync . WaitGroup { } completion , cancel := context . WithCancel ( ctx ) wc := executioncontext . NewWorkflowContext ( completion , cancel , cleanup , workflow ) c . processTransitionsAndChanges ( wc ) log . Debugf ( " " ) cleanup . Wait ( ) log . Debugf ( " " ) }
Execute Execute the specified workflow
Execute Execute the specified workflow