(Example) Store Data from an eForm in Data Entities with a Data Entities Activity
This section gives procedures to store data from an eForm in Data Entities with a Data Entities activity.
Background and Setup
Good to Know
- This example uses the Sales Invoice app from the AgilePoint NX App Store.
For more information, refer to How to Get the App
- Sales Invoice is an app that creates an invoice for the products sold. This app provides a form to enter the details for the invoice. The invoice request is then routed for escalating approvals from the finance manager. Once it is approved, the invoice is routed for the approval of pending disbursement. At each step, e-mail notifications are sent with a link to view of the completed form to the person who initiated the sales invoice request.
Result
When you add the Sales Invoice app from App Store to your
Process Builder, and open the
process,
the process will look like this.
When you complete this example procedure, the finished
process
will look like this.
Step 1: Add Create Record Data Entity Activity
This step shows how to add Create Record activity from AgilePoint Data Entities tab to the Sales Invoice process to store the data in Data Entity. In this example, the data entered on the eForms stores in the Sales Invoice data entity.
How to Start
- Click App Builder.
- On the App Builder Home screen, click All Apps.
- On the All Apps screen, on the Sales Invoice app, click Edit .
- On the App Details screen, hover over the Sales Invoice process model, and click Edit .
Procedure
- On the Data Entities tab drag the Create Record activity onto your process.
- On the General Configuration screen, in the Display Name, enter Create Record.
- Click Next.
- On the Create Record Configuration screen, in the Entity Name list, select Invoice.
- In the Request Mapping field, click Schema Mapping .
- On the Schema Mapper screen, map the form fields to entity fields.
Form Fields Entity Fields InvoiceNumber_u InvoiceID FrieghtCharges_u FreightTerms Comment Description TotalInvoiceAmount_u TotalChargeAmount RequesterName_u InvoiceName
Step 2: Publish and Run the App
Procedure
- To publish the app, refer to (Example) Save, Check In, and Publish a Process-Based App.
- To run the app, refer to My Apps screen.
How to Get the App
This example is based on the Sales Invoice app from the AgilePoint NX App Store. Use this procedure to get the app.
Prerequisites
- AgilePoint NX OnDemand (public cloud), or AgilePoint NX PrivateCloud or AgilePoint NX OnPremises v7.0 or higher.
Good to Know
- This procedure is optional. It is provided so you can test the example with an out-of-the-box app.
- This is part of the Background and Setup procedures, but many users preferred this step to appear after the example, not before it.
Procedure
- Click App Store.
- In the CATEGORY section, click Sales.
- Click the Sales Invoice app.
- On the Sales Invoice screen, click Add.
- On the Trust App screen, click Trust it.
- Click Return to site.