---
sourceDocument: Xanadu Build or modify applications
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/xanadu/application-development

 Release :

    - xanadu

ft:locale :

    - en-US

ft:publication_title :

    - Xanadu Build or modify applications

ft:clusterId :

    - cadev

bundleId :

    - cadev

workflow :

    - Development, Data, and Analytics


---

# ERP Data Hub Use ERP Data action details for flows

# ERP Data Hub Use ERP Data action details for flows {#ariaid-title1}

* Release version: Xanadu
* 
* Updated August 1, 2024
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 minutes to read

After you're done creating and managing your model in ERP Data Hub, go to Workflow Studio and use the Use ERP Data action to test your model's inputs and outputs. You can then build a flow with the action to incorporate ERP (Enterprise Resource Planning) data into the ServiceNow AI Platform.
For information on using the Use ERP Data action to retrieve ERP data, see [Building flows to read or update the ERP system](https://servicenow-prod.fluidtopics.net/srHNtJNeEQ7Ea_J2CBkItQ "After you configure an operation in ERP Data Hub, you can build a flow in Workflow Studio to specify details for querying the ERP (Enterprise Resource Planning) system. For example, build a flow that filters by Order ID.").

## Roles and availability {#erp-canvas-flow-reference-2__section-subscription-roles}

Available as part of ERP Data Hub.

Role requirements{#erp-canvas-flow-reference-2__action-fd-roles}
:   This action requires roles granted by delegated development or assigned to the user. For more information, see [User access to Workflow Studio flows](https://www.servicenow.com/docs/access?context=user-access-flow-designer&version=xanadu&pubname=xanadu-build-workflows&ft:locale=en-US).

## Inputs {#erp-canvas-flow-reference-2__section-inputs}

Provide a value for each input that your action needs. To add dynamic values, you can also select data pills using the pill picker.{#erp-canvas-flow-reference-2__inputs-description}

ModelName
:   Data type: Dynamic Choice

    Name of the ERP model that contains the read or update operation. The model must already be created, and have the read or update operation defined in ERP Data Hub. For more information, see [Managing how models read and update the ERP system](QtXT~MOS7TWkXiBL5zgXsQ "After you create an ERP (Enterprise Resource Planning) model in ERP Data Hub, you can specify how it reads and updates the ERP system using parameters.").

ModelOperation
:   Data type: Dynamic Choice

    Whether to Read or Update the ERP system. The read or update entity must already be defined in ERP Data Hub. For more information, see [Add a read, update, or create entity to a model in ERP Data Hub](oXAxykOsZq_FAa9FheObbg "Specify the operation entity, which is the table or BAPI (Business Application Programming Interface) that ERP Data Hub uses for read, update, or create operations.").

Mandatory Field(s)
:   Data type: Dynamic Template

    Fields that are required for the operation. Fields must already be defined as required input parameters when you manage the model in ERP Data Hub. For more information, see [Manage input parameters for an ERP Data Hub model operation](t~v~Vs0D2yQvDxv0xX4Pcw "Specify how fields on the ERP (Enterprise Resource Planning) system map to input parameters and their values to define the inputs for an operation that reads or updates the system of record from ERP Data Hub.").

Optional Field(s)
:   Data type: Dynamic Template

    Fields that are optional for the operation. Fields must already be defined as optional input parameters when you managed the model. For more information, see [Manage input parameters for an ERP Data Hub model operation](t~v~Vs0D2yQvDxv0xX4Pcw "Specify how fields on the ERP (Enterprise Resource Planning) system map to input parameters and their values to define the inputs for an operation that reads or updates the system of record from ERP Data Hub.").

System
:   Data type: Reference

    Name of the connected ERP system. For more information, see [Working with ERP systems in ERP Data Hub](KKgU9GBny~1JfKqonD_Slg "An ERP (Enterprise Resource Planning) system represents a connection to a section of your ERP system of record. For example, sales orders or vendor invoices.").

## Outputs {#erp-canvas-flow-reference-2__section-outputs}

You can use these outputs as inputs for other items.{#erp-canvas-flow-reference-2__outputs-description}

Action status
:   Data type: Object

    Data pill that contains the current runtime details about the action. The Action Status object consists of a code and a message.

Don't Treat As Error
:   Data type: True/False

    Option to report the Action Status as an error or a success when returned to a flow.

Error Message
:   Data type: String

    String data pill containing the error message produced by the action, step, or system operation.

Response
:   Data type: Dynamic Object

    Requested data that's returned from the ERP system. For more information, see [Choose output parameters for an ERP model](yXu4q5jX0TIrTJoGlyYG4g "Specify output parameters for an ERP (Enterprise Resource Planning) system read or update operation in ERP Data Hub to define how fields and parameters are mapped from the ERP system to the ServiceNow AI Platform. Output parameters also define how returned data is stored on the ServiceNow AI Platform.").

