Use ERP Data action details for flows
Summarize
Summary of Use ERP Data action details for flows
TheUse ERP Dataaction enables ServiceNow customers to integrate and test ERP data within Workflow Studio flows using models managed in the Zero Copy Connector for ERP. This action facilitates reading from or updating ERP systems directly in the ServiceNow AI Platform, allowing seamless incorporation of ERP operations into automated workflows.
Show less
Roles and Availability
- Available exclusively as part of the Zero Copy Connector for ERP.
- Requires appropriate roles granted via delegated development or assigned user roles to access Workflow Studio flows.
Inputs
Customers must provide specific inputs aligned with their ERP model and operation:
- ModelName: Select the existing ERP model that includes the read or update operation.
- ModelOperation: Specify whether to perform a Read or Update operation on the ERP system.
- Required Fields: Supply required input parameters as defined in the ERP model operation.
- Optional Fields: Provide optional input parameters if applicable.
- System: Reference the connected ERP system from which data is retrieved or to which updates are sent.
Dynamic values can be added through the pill picker to enhance flexibility in flow design.
Outputs
The action returns multiple outputs that can be used in subsequent flow steps:
- Action status: Provides runtime details with a status code and message about the action execution.
- Don’t Treat As Error: Boolean flag to control whether the action status is reported as an error or success.
- Error Message: Contains any error messages generated during the action.
- Response: Returns the requested ERP data as a dynamic object according to the model’s output parameters.
Practical Use
This action is essential for customers aiming to automate ERP data interactions within ServiceNow workflows. By testing and incorporating ERP models via this action, customers can enhance their AI Platform capabilities with real-time ERP data, improving operational efficiency and data accuracy.
After you're done creating and managing your model in Zero Copy Connector for ERP, 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 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 Zero Copy Connector for ERP.
- 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 Zero Copy Connector for ERP. For more information, see Exploring Zero Copy Connector for ERP models.
- ModelOperation
- Data type: Dynamic Choice
Whether to Read or Update the ERP system. The read or update entity must already be defined in Zero Copy Connector for ERP. For more information, see Add an entity to a model.
- Required Fields
- 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 Zero Copy Connector for ERP. For more information, see Manage input parameters for a Zero Copy Connector for ERP model operation.
- Optional Fields
- 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 a Zero Copy Connector for ERP model operation.
- System
- Data type: Reference
Name of the connected ERP system. For more information, see Working with ERP systems in Zero Copy Connector for ERP.
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 a model.