1. Tasks
  2. Set Message

Tasks

Set Message

Using a task to set or Amend the `message` post message text

Example Uses

  • Use this to set the message on the post
  • Used to give more context to send action tasks so that when looking at the stub, you can see what the action was about.

Basic usage

loading...

Parameters

message
required
string

The text you want to use to set / amend the post message.
You can use HTML syntax to modify, format and style the message.


method
required
string

The method of operation you wish to do when amending the post message. Option:

  • append Adds the contents of the message parameter to the end of the post's existing message
  • prepend Adds the contents of the message parameter to the beginning of the post's
  • replace Discards the post's message and replace it with the contents of the message parameter

Result

loading...

Properties

payload.message

End result of what the task has produced and applied to the post message.

Examples

These are some more complex examples

Append to Post Message

Add something to the end of the existing post message

loading...

Prepend to Post Message

Add something to the to the beginning of the existing post message.

loading...

Replace Post Message

Replaces the post message with the message parameter contents.

loading...