A Delivery-type activity lets you create a delivery action. It can be constructed using input elements.
To configure it, edit the activity and enter the delivery options.
Act on the delivery specified in the inbound transition. To do this, select the first option of the Delivery section of the window.
This option can be used when a previous workflow activity has already created or specified the delivery. This can have been done, like in the example below, by an activity of the same type having generated an outbound transition.
In the following example, the delivery is created for the first time. The population and the content are defined later. Next, the information for these three elements is re-entered into a new delivery activity using the inbound transition so that this can be sent.
Directly select the delivery concerned. To do this, select the Explicit option and select the delivery from the drop-down list of the Delivery field.
The list shows unfinished deliveries contained in the Deliveries folder by default. To access other campaigns, click the Select link icon.
Select the campaign from the drop-down list of the Folder field, or click Display sub-levels to display all of the deliveries contained in sub-folders:
After selecting the delivery action, you can display the content by clicking the Edit link icon.
Create a script to calculate the delivery. To do this, select the Computed by a script option and enter the script. You can open an input window by clicking the Edit… option. The following example recovers the identifier of the delivery:
Create a new delivery. To do this, select the New, created from a template option and select the delivery template which the delivery will be based on.
Click the Select link icon to browse the folders, and click the Edit link icon if you wish to view the content of the selected template.
Recipients can be specified by the inbound events, for example following a file import, or specified in the delivery action. They can also be stored in one or more files.
The content of the message can be defined in the delivery or the inbound event.
Action to execute
You can create the delivery, prepare it, start it, estimate the target or send a proof.
Select the type of action to be carried out:
The Act on a delivery activity used further on in the workflow lets you launch all remaining steps required for starting the delivery (target calculation, content preparation, delivery). For more on this, refer to Delivery control.
The following options are also available:
Generate an outbound transition
Creates an outbound transition that will be activated at the end of execution. You can choose whether or not to retrieve the target of the outbound delivery.
Do not recover target
Does not recover the target of the outgoing delivery action.
Refer to Delivery control.
The Script tab lets you modify the delivery parameters.
Create a new workflow and add activities as shown in the graphic below:
Open the Delivery activity and define the properties as follows:
Click OK to close the properties window. You have just configured an activity that consists of creating and preparing a new delivery based on a delivery template whose target will be specified within it.
Open the Approval activity and define the properties as follows:
In the Assignment type field, select a group in which you are registered. If you are connected using the ‘admin’ account, select the Administration group.
Next, enter a title and insert the following text in the message body:
Do you wish to approve delivery (<%= vars.recCount %> recipient(s))?
The Approval task is detailed in Approval.
Delivery identifier, if the Specified in the transition option is selected in the Delivery section.
Each inbound event must specify a target defined by these parameters.
This parameter only appears if the Specified by inbound event(s) option is selected in the Recipients section.
Full name of the file generated if the File(s) specified by inbound event(s) option is selected in the Recipients section.
Content identifier if the Specified by inbound events option is selected in the Content section.
This set of three values identifies the target resulting from the delivery. tableName is the name of the table which memorizes the identifiers of the target, schema is the schema of the population (usually nms:recipient) and recCount is the number of elements in the table.
The transition associated with the complement has the same parameters.
There are no output parameters when the Do not recover target option is selected.