Funnel action that creates a task for the lead, either from a configured TaskDef or, in legacy mode, as a freestanding task with its own due date and assignment rules. Registered under the JSON type "createTaskAction". When taskName is set, legacy handling creates a task on the lead directly: its due date is computed from frequency and periodMultiples, its title and description are rendered from titleMvel/descriptionMvel, and it is assigned to a group and organisation resolved from assignToGroupRule/assignToOrgRule. Otherwise, modern handling looks up TaskDef(s) on the funnel by createTaskName, createTaskCategory or createTaskTag and creates a lead task for each via the lead manager.

Group: Journeys

Extends: AbstractGoalAction


Properties

PropertyReturnsDescription
assignToGroupRuleStringA literal group name or MVEL expression used to resolve the group the legacy task is assigned to.
assignToOrgRuleStringA literal organisation identifier or MVEL expression used to resolve the organisation the legacy task is assigned to.
createTaskCategoryStringThe category used to look up the TaskDef(s) to create tasks from, in modern task handling.
createTaskNameStringThe name used to look up the single TaskDef to create a task from, in modern task handling.
createTaskTagStringThe tag used to look up the TaskDef(s) to create tasks from, in modern task handling.
descriptionMvelStringThe MVEL template used to render the legacy task's description.
frequencyStringThe unit of time used with periodMultiples to compute the legacy task's due date, eg days, hours or weeks.
periodMultiplesintThe number of frequency units added to the current date to compute the legacy task's due date.
runHourIntegerThe hour of day the legacy task's schedule should run at.
taskNameStringAn identifier for referring to this task from within the funnel definition. When set, this action uses legacy task handling instead of looking up a TaskDef.
titleMvelStringThe MVEL template used to render the legacy task's title.

Methods

getCreateTaskTag() · getCreateTaskName() · getCreateTaskCategory() · getFrequency() · getTaskName() · getPeriodMultiples() · getRunHour() · getAssignToOrgRule() · getAssignToGroupRule() · getTitleMvel() · getDescriptionMvel()

getCreateTaskTag()

Returns: String

The tag used to look up the TaskDef(s) to create tasks from, in modern task handling.

getCreateTaskName()

Returns: String

The name used to look up the single TaskDef to create a task from, in modern task handling.

getCreateTaskCategory()

Returns: String

The category used to look up the TaskDef(s) to create tasks from, in modern task handling.

getFrequency()

Returns: String

The unit of time used with periodMultiples to compute the legacy task's due date, eg days, hours or weeks.

getTaskName()

Returns: String

An identifier for referring to this task from within the funnel definition. When set, this action uses legacy task handling instead of looking up a TaskDef.

getPeriodMultiples()

Returns: int

The number of frequency units added to the current date to compute the legacy task's due date.

getRunHour()

Returns: Integer

The hour of day the legacy task's schedule should run at.

getAssignToOrgRule()

Returns: String

A literal organisation identifier or MVEL expression used to resolve the organisation the legacy task is assigned to.

getAssignToGroupRule()

Returns: String

A literal group name or MVEL expression used to resolve the group the legacy task is assigned to.

getTitleMvel()

Returns: String

The MVEL template used to render the legacy task's title.

getDescriptionMvel()

Returns: String

The MVEL template used to render the legacy task's description.

To get full access to the Kademi Hub existing customers can login here, or new customers can register here.