Use ERP Data action details for flows
Summarize
Summary of Use ERP Data action details for flows
TheUse ERP Dataaction in Workflow Studio enables ServiceNow customers to test and build flows that integrate ERP data using models created in Zero Copy Connector for ERP. This action allows you to read from or update an ERP system within the ServiceNow AI Platform, facilitating seamless data interaction between ERP and ServiceNow workflows.
Show less
Roles and Availability
This action is part of the Zero Copy Connector for ERP application and requires appropriate delegated development roles or user assignments to access Workflow Studio flows.
Inputs
- ModelName: Select the ERP model containing the read or update operation. The model must be preconfigured in Zero Copy Connector for ERP.
- ModelOperation: Choose whether to perform a Read or Update operation on the ERP system, with the entity already defined in the model.
- Required Fields: Provide values for all required input parameters defined for the operation within the model.
- Optional Fields: Optionally provide values for input parameters marked as optional in the model.
- System: Specify the connected ERP system to target for the operation.
Outputs
- Action status: Provides runtime details about the action, including a status code and message, useful for flow control.
- Don't Treat As Error: Boolean option to control whether the action status should be considered an error in the flow.
- Error Message: Contains any error messages generated by the action or ERP system operation.
- Response: Returns the requested ERP data as a dynamic object for use in subsequent flow steps.
Practical Use
ServiceNow customers can leverage the Use ERP Data action to efficiently incorporate ERP system data into automated workflows, enhancing process automation and data synchronization. By configuring the appropriate model, operation, and input parameters, users can retrieve or update ERP data directly from ServiceNow flows, improving integration and operational efficiency.
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 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 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.