1. Tasks
  2. Copy Stub

Tasks

Copy Stub

Creates a new stub with the current stub's data and flow. The new stub cannot be considered an identical copy of the stub it was created from, since contact lists and stubposts are not copied to the new stub.

The task attaches an add_event sendaction that will reply to the stubpost with the new stub's stubref.

Basic usage

loading...

Parameters

subject

string

Sets the subject of the new stub.

Default: copied from ~~stub.stubref


Result

loading...

Properties

stubref

string

The stubref of the newly created stub.


sendActionsList

array

The _add_event action that has been attached by the task.

Examples

Setting the subject for the new stub

loading...