ERP Data Hub Use ERP Data action details for flows
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.
Roles and availability
Available as part of ERP Data Hub.
- Role requirements
- This action requires roles granted by delegated development or assigned to the user. For more information, see User access to Workflow Studio flows.
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.
- 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.
- 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.
- 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.
- 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.
- System
- Data type: Reference
Name of the connected ERP system. For more information, see Working with ERP systems in ERP Data Hub.
Outputs
You can use these outputs as inputs for other items.
- 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.