You are here: Function Reference > Alphabetical Listing > M > MailWIP

MailWIP

Use this procedure/function to send the current work-in-process to another user via email.

Syntax

MailWIP (Address)

Parameter

Description

Address

Enter a valid email address.

The system defaults to the email address window which lets the user select a valid recipient. This window appears if the email address is omitted or incorrect.

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

If the MailWIP procedure succeeds in sending the WIP via email, the status of the form set will be changed to Transmitted and no longer appear as normal WIP in the sender’s list.

Note If the WIP is already following a routing slip’s workflow, the form set will be sent to the next recipient in the existing slip.

Example

Here are some examples:

Procedure

Result

Explanation

MailWIP( )

1 or 0

The default presents the user with the email system’s Address window, which lets the user choose the destination.

MailWIP( "TOM" )

1 or 0

If TOM is a valid email address for the email system, the form set will be sent. Otherwise, the Address window appears and the user chooses the correct address.

See also