Journey action that attaches one or more files to the lead. Files can come from up to three sources, all optional and independently applied: the email attachments carried by the triggering funnel event (when attachEventFiles is true), the result of an MVEL expression, and the result of evaluating a kcode field. Each evaluated result may be a file, an asset, or a list of either, and each is added as a new file on the lead. Always proceeds to the configured next node.
Group: Journeys
Extends: AbstractGoalAction
Properties
| Property | Returns | Description |
|---|---|---|
| attachEventFiles | boolean | Whether the email attachments carried by the triggering funnel event should be attached to the lead as files. |
| kcodeField | String | Identifier of a kcode field evaluated against the lead's profile, whose result (a file, an asset, or a list of either) is attached to the lead as a file. |
| mvelExpression | String | MVEL expression evaluated against the lead and funnel event, whose result (a file, an asset, or a list of either) is attached to the lead as a file. |
Methods
isAttachEventFiles()
Returns: boolean
Whether the email attachments carried by the triggering funnel event should be attached to the lead as files.
getMvelExpression()
Returns: String
MVEL expression evaluated against the lead and funnel event, whose result (a file, an asset, or a list of either) is attached to the lead as a file.
getKcodeField()
Returns: String
Identifier of a kcode field evaluated against the lead's profile, whose result (a file, an asset, or a list of either) is attached to the lead as a file.