Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejson
{
    "person": {
        "firstName": "p_Alex",
        "lastName": "p_Johnson",
        "age": 48
    }
}

Send multiple messages

In case you need to send multiple messages, you can use the messages parameter like this:

...

See this example to construct a message out of advice parameters using a template:

Code Block
languageyaml
...
targetCommand: "mail.send"
...
params:
  message:
    value: "The customerId is: {{advice.params.customerId}}"
  ...

...