Skip to content

sample-formatting-template-example

Pipeline: sample-formatting-template-example

## Load dataset
@dm:recall
            name="sample-servicenow-incidents"
    --> @dm:head
            n=1
    --> @dm:eval
            recipient = "'john.doe@example.com'" &
            subject = "'eBonding from ServiceNow: ' + str(number) + ': ' + short_description" &
            message_mime_type = "'html'"
    --> @dm:apply-template-by-row
            template_name = "Email HTML Template" &
            output_col = "message"
    --> @dm:selectcolumns
            include="^message$"


Artifacts used in this Pipeline

Artifact Type Artifact Name Access
dataset sample-servicenow-incidents read
formatting-template Email HTML Template read


Bots used in this Pipeline

@dm:recall @dm:head @dm:eval @dm:apply-template-by-row @dm:selectcolumns