- Overview
- Modify the Project
- Create an API Trigger for Process
- Map API parameters to Process parameters
- Summary
In this exercise you will learn:
- How to configure the API Call to Trigger Process
- How to modify the Process to map the other artifacts
- How to map Automation and Process parameters
-
Open your project Invoice Approval Process AD160-XXX. Choose process Get Invoice Details.
-
Select the Invoice Request Form, choose the 3 dots and then Remove to delete the form.
-
In the process builder canvas, on the Trigger tile, select +. Then choose API and finally New Api Trigger.
-
In the Create API Trigger window do the following:
-
Click on the Canvas in the background.
-
In the Process Details side panel, choose Inputs/Outputs and then Configure to configure inputs.
-
Configure four inputs. Enter the following names and types:
Name Type fileName
string folderName
string employeeName
string employeeMail
string Apply changes.
-
Select Project Properties.
-
Choose Configure Agent Version and select Agent version: Agent 3.7.XX and Save.
-
Choose Dependencies and select Add Dependency.
-
Under Package, select Document Management Repository.
-
Select Add button.
-
Close the Project Properties window.
With this package you can automate some operations on your Document Management Service repository.
-
Map parameters for Invoice Approval form. Select Invoice Approval Form and map:
-
Map parameters for Invoice Approval Notification Form. Select Invoice Approval Notification Form, under General, map employeeMail with Users.
-
Map parameters for Invoice Reject Notification Form. Select Invoice Reject Notification Form, under General, map employeeMail with Users.
-
Save changes.
You have now created API Triggers for the Business Process.
Continue to - Exercise 5 - Modify the Automation