You are here: Function Reference > Alphabetical Listing > S > SlipAppend

SlipAppend

Use this procedure/function to add an email address to the end of the routing slip associated with the form set.

Syntax

SlipAppend (Address, Mode)

Parameter

Description

Address

Enter an email address.

Mode

Choose from these options:

0 - linear recipient
1 - CC recipient

The default is zero (0).

The system optionally returns one (1) on success or zero (0) on failure.

This procedure only works with scripts associated with routing slips. This procedure lets you, via scripts, direct workflow during the routing process. Do not use this procedure in a typical field script situation.

The address name is appended to the end of the current routing slip. If the mode parameter is not zero (0), the new entry is appended as a carbon-copy (CC) recipient. For example, assume the following routing slip is defined:

CC

Recipient

 

@MyScript
EDJ

If the script executes the statements, SlipAppend("TOM",1); SlipAppend("CAR"), the slip will be adjusted to look as follows:

CC

Recipient

*

X

@MyScript EDJ
EDJ
TOM
CAR

Example

Here are some examples:

Procedure

Result

Explanation

SlipAppend ( "TOM" )

1 or 0

The email address is appended to the end of the current routing slip. The defaults is a linear recipient.

SlipAppend( "TOM", 1)

1 or 0

Appends the email address as a CC recipient.

See also