Example
This Data Stream example demonstrates how to use this Action Agent to write work orders to the AssetMaintenanceRequests entity in FinOps, using the OData service.
Refer to configuration to understand all configuration options of this Agent.
Step 1: Add the Agent
Drag the FinOps Agent onto the canvas and rename it. Link the input endpoint to the work order data, and the output to the printer, and save the Data Stream.
Step 2: Configure General
Select the Agent and click Configure. Keep the default Collection.
Step 3: Configure Service
Set the OData version and enter the authentication details.
In this case, we're using OData version 4 and authentication type of app credentials. Select the authentication URL, client ID, and secret ID.
Set the action and the entity. In this case, set the action to POST and entity to AssetMaintenanceRequests.
Step 4: Configure Input Mappings
Map the entity's properties to input attributes and set the data type.
Step 5: Configure Return Details
Set the result properties and how they should be returned. In this case, return the request identifier, priority, actual start, and work order identifier; and return the results as new.
Step 6: Results
Apply the changes, save the Data Stream and publish it.
Let's look at the Live Data View. Observe that configured result properties - the details of the new AssetMaintenanceRequests records - are printed as new events.
Files
See the Import, Export, and Clone - XMPro article for steps to import a Data Stream.
Last updated