func (te *taskEvent) TaskName() string {
	return te.name
}
Returns task name
package instance
import (
	"time"
	coreevent "github.com/project-flogo/core/engine/event"
	"github.com/project-flogo/flow/model"
	"github.com/project-flogo/flow/support/event"
)
type taskEvent struct {
	time                                time.Time
	id                                  string
	err                                 error
	taskIn, taskOut                     map[string]interface{}
	status                              event.Status
	name, typeId, flowName, flowId, ref string
}
func (te *taskEvent) ActivityRef() string {
	return te.ref
}
func (te *taskEvent) FlowName() string {
	return te.flowName
}
func (te *taskEvent) FlowID() string {
	return te.flowId
}