Follow these instructions to complete the automated approval processing:
- Switch to the mainProcess editor.
- Click the Invoke icon
on the palette.
- Click the Assign icon
on the palette.
- Click the AutoApproved label.
The Assign figure
was added.
- Switch to the Properties view.
- In the details section, click the Description tab.
- In the Display Name field, type Approved.
- Switch to the mainProcess editor.
- Click the connection between AutoApproved and Approved.
- Switch to the Properties view.
The Name field is set to Approved.
- Click the Properties tab.
- In the details section, click the Details tab.
- Click the Properties tab.
- From the From list, click Fixed Value.
- From the list, click Fixed Value.
- In the Description field, type Your application has been approved and is awaiting completion..
- From the To list, click Variable.
- From the list, click Variable.
- In the navigation tree, expand OutputVariable : applyOnlineResponseMsg > applyOnlineResult : applyOnlineResponse > response : string.
The Query field is set to /response.
- Click the Properties tab.
- Switch to the mainProcess editor.
- Click the Assign icon
on the palette.
- Click the Assign icon
on the palette.
The Approved figure
was added.
The Assign figure
was added.
- Switch to the Properties view.
- In the details section, click the Description tab.
- In the Display Name field, type HumanCompletion.
- Switch to the mainProcess editor.
- Click the connection between Approved and HumanCompletion.
- Switch to the Properties view.
The Name field is set to HumanCompletion.
- Click the Properties tab.
- In the details section, click the Details tab.
- Click the Properties tab.
- From the From list, click Property of a Variable.
- From the list, click Property of a Variable.
- From the From list, click Partner Reference.
- In the From list, type Endpoint Reference.
- In the From list, type Fixed Value.
- In the Description field, type This auto approved application needs to be completed..
- From the To list, click Variable.
- From the list, click Variable.
- In the navigation tree, expand HumanTaskData : HumanTaskBO > instruction : string.
The Query field is set to /instruction.
- Click the Properties tab.
- Switch to the mainProcess editor.
- Click the Assign icon
on the palette.
- Click the Invoke icon
on the palette.
- Click the HumanCompletion figure
.
The Invoke figure
was added.
- Switch to the Properties view.
- In the details section, click the Details tab.
The Display Name field is set to Invoke.
The Name field is set to Invoke.
- In the details section, click the Description tab.
- In the Display Name field, type CompleteTheLoan.
The Name field is set to CompleteTheLoan.
- Click the Properties tab.
- In the details section, click the Description tab.
- In the Display Name field, type CompleteTheLoan.
- In the details section, click the Details tab.
- Click Browse.
The Select a Partner window opens.
- In the Partner Name (? = any character, * = any String) field, type CompleteLoanHTInterface.
- Click OK.
- From the Operation list, click CompleteTheLoan.
- From the list, click CompleteTheLoan.
- Select the Use Data Type Variables check box.
- Click the ... label.
- Click the ... label.
The Select Variable for TaskInformation window opens.
- Click HumanTaskData.
- Click OK.
- Click the Properties tab.
- Switch to the mainProcess editor.
- Click the AutoApprovalTest figure
.
- From the pop-up menu, select Add Otherwise.