Funnel action that copies an existing lead file to a new file, evaluating the source and target file names via MVEL or using them literally. Registered under the JSON type "copyLeadFile". fileNameMvel and newFileNameMvel resolve the file to copy and the name to give the copy, either as plain text or as MVEL expressions evaluated against the lead, the current request and the root folder. The copy is attached to the lead itself, or to its source lead when setInSource is true.

Group: Journeys

Extends: AbstractGoalAction


Properties

PropertyReturnsDescription
fileNameMvelStringThe name of the existing lead file to copy, given either literally or as an MVEL expression depending on plainText.
newFileNameMvelStringThe name to give the copied file, given either literally or as an MVEL expression depending on newFilePlainText.
newFilePlainTextbooleanWhether newFileNameMvel is used literally rather than evaluated as an MVEL expression.
plainTextbooleanWhether fileNameMvel is used literally rather than evaluated as an MVEL expression.
setInSourcebooleanWhether the copied file is attached to the lead's source lead instead of the lead itself.

Methods

getFileNameMvel()

Returns: String

The name of the existing lead file to copy, given either literally or as an MVEL expression depending on plainText.

getNewFileNameMvel()

Returns: String

The name to give the copied file, given either literally or as an MVEL expression depending on newFilePlainText.

getSetInSource()

Returns: boolean

Whether the copied file is attached to the lead's source lead instead of the lead itself.

getPlainText()

Returns: boolean

Whether fileNameMvel is used literally rather than evaluated as an MVEL expression.

getNewFilePlainText()

Returns: boolean

Whether newFileNameMvel is used literally rather than evaluated as an MVEL expression.

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