evaluateTemplate
Evaluates a JavaScript template (<%= ... %>).
evaluateTemplate
(template
)
Parameters
template
The template to evaluate.
Return value
The string after substituting the expressions between <% and %>.
Remarks
Example:
vars.filename = evaluateTemplate(activity.filename)
Features
Available in:
- Workflow