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
| Property | Returns | Description |
|---|---|---|
| assignToGroupRule | String | A literal group name or MVEL expression used to resolve the group the legacy task is assigned to. |
| assignToOrgRule | String | A literal organisation identifier or MVEL expression used to resolve the organisation the legacy task is assigned to. |
| createTaskCategory | String | The category used to look up the TaskDef(s) to create tasks from, in modern task handling. |
| createTaskName | String | The name used to look up the single TaskDef to create a task from, in modern task handling. |
| createTaskTag | String | The tag used to look up the TaskDef(s) to create tasks from, in modern task handling. |
| descriptionMvel | String | The MVEL template used to render the legacy task's description. |
| frequency | String | The unit of time used with periodMultiples to compute the legacy task's due date, eg days, hours or weeks. |
| periodMultiples | int | The number of frequency units added to the current date to compute the legacy task's due date. |
| runHour | Integer | The hour of day the legacy task's schedule should run at. |
| taskName | 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. |
| titleMvel | String | The 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.