Skip to Main Content
Return to Navigation

LaunchManager Class Properties

This section describes the LaunchManager class properties.

hasTxn

Description

True if the application's process id valid.

definition

Description

Set the definition and re-initialize the AppDef.

hasAppDef

Description

True if an approval process has been defined.

hasAppInst

Description

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

hasEndedAppInst

Description

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

EOAW_CORE:DEFN:AppDef appDef

Description

The approval process definition currently active on this application.

resubmitEnabled

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;

submitEnabled

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;

restartEnabled

Description

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

monitorEnabled

Description

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

previewEnabled

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.

EOAW_CORE:ENGINE:AppInst appInst

Description

The approval process instance currently running. Can be null.

EOAW_CORE:DEFN:AWTxn txn

Description

The application transaction registry entry.

This property is read-only.

requester

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.