LaunchManager Class Properties

This section describes the LaunchManager class properties.

Description

True if the application's process id valid.

Description

Set the definition and re-initialize the AppDef.

Description

True if an approval process has been defined.

Description

True if an approval process is currently running on this application transaction.

Description

True if an approval process has previously been run on this application transaction.

Description

The approval process definition currently active on this application.

Description

Used to determine if this transaction can be re-submitted for approval. This will be true when:

  1. A transaction registry entry exists.

  2. An approval process has been defined.

  3. One or more approval processes were launched on this transaction, but none are currently running (they were either approved, denied, or terminated.

Example

If &launchMgr.resubmitEnabled = True Then
      &launchMgr.DoReSubmit();
 End-If;

Description

Used to determine if the submit action (which triggers launching of the Approval Framework) is currently enabled on this application transaction. Submit will be enabled when:

  1. A transaction registry entry exists.

  2. An approval process has been defined.

  3. No approval process has previously been launched on this transaction.

Example

If (&launchMgr.submitEnabled) Then
   &launchMgr.DoSubmit();
End-If;

Description

Used to determine if this transaction's approval process be restarted. This will be true if an approval process is currently running.

Description

Used to determine if the Approval Monitor is enabled. The monitor is enabled if an approval process is running.

Description

Preview is enabled if a process is not currently running on this transaction. The DoPreview() method only presents a preview of the approval process to be launched going forward. It is not meant for a review of prior processes.

Note: DoPreview does not display completed approval processes for this transaction.

Description

The approval process instance currently running. Can be null.

Description

The application transaction registry entry.

This property is read-only.

Description

Use this property to get or set the requester on whose behalf this transaction is to be submitted for approval. Note that this property is not read-only. Applications may change the requester even after constructing the LaunchManager, but with certain caveats.