You can set up Mirata forms to securely exchange data with other systems by following the steps detailed in this article. The initial two steps in the Admin Tool should be handled by someone with an understanding of your system's network APIs and security. Following that, non-technical form builders can seamlessly incorporate the integrations at the preferred points within their forms and workflows in the Designer.
While examples used in this article are for integrating with SAP, these steps are for integrating Mirata with any outside system.
For each system you want to integrate with, you’ll need to create a Connection. This only needs to be set up once per API and should be done by a System Administrator.
To create a Connection, go to the ADMIN tab in the Admin Tool and then go to the Connection Info tab on the left. Go to the Admin Tool Overview article for an overview of the Admin Tool
Provide the below information to create a Connection:
(*) Indicates required information
Now that you have your Connection set up, you’ll create an Backend Backend Action to communicate with the API that pulls data in from or sends data to another system.
To pull in data from or send data to another system, you will use Backend Actions. Backend Actions are a versatile way of creating network requests to interact with other systems. They can be used by the form designer to facility updates to/from the form, without needing to know the technical details of the integration system. To set up your integration, use an Backend Action with the type "HTTP Request".
To create an Backend Action, go to the ADMIN tab in the Admin Tool and then go to the Backend Action tab on the left. Go to the “Backend Actions” section of the Admin Tool Overview article for more details about Backend Actions
Provide the below information to create the Http Request Backend Action. If you’re unsure about any of the below details, please contact your System Administrator for the system you’re trying to integrate with.
(*) Indicates required information
Using Input Parameters: You can use Input Parameters in the HTTP Request Body and Url Path fields. To use them, wrap the Input Parameter's name in curly brackets. For example, use the Input Parameter "FirstName" in the request body as follows: "Hello {FirstName}...".
NOTE: The Input Parameters you create will be data that can be mapped directly to input fields on the form/workflow by your form builders. Make sure to use user-friendly names for Input Parameters so it’s easy for form builders to figure out what data to provide.
After you’ve set up your Http Request, you can go to the TEST tab in the top right of the Backend Action page to test the call from Mirata. If you set up any Input Parameters, you’ll see them here so you can provide values. After the test is run, you’ll see success or error messages as well as the API response, if available.
After you’ve tested your Backend Action and see the proper API response in Mirata, your Form Builders are now ready to use this Action in any of their forms.
In the Workflow Designer, you can add Backend Actions to transitions. When the Form User clicks to run a transition, the Actions associated with the transition will run. Go to the Workflow Designer Overview article for an overview of the Workflow Designer and transitions
In this example, we are sending an image attachment to an SAP Work Order whenever the form is approved by a supervisor. This is the Backend Action request in the Admin Tool:
Here are the steps you need to perform in the Designer:
To add an Backend Action to a transition, (1) go to the BACKEND ACTIONS tab and then (2) click the + button. Make sure you have the right (3) transition selected on the bottom (the Approve transition in this example).
This dialog will appear and you should:
After you click OK, you’ll see the Action listed in the BACKEND ACTIONS tab for the transition.
That’s it! Now if you run this transition in the Inbox, your API to send data to another system will run.
You can continue this process to add however many Actions as are needed.
You can pull data into an array (list, grid, or table) or dropdown field.
The end result for this example looks like this on the form:
This is the Backend Action request in the Admin Tool that returns the list of Work Order metadata based on a provided Partner Number:
And this is a sample of the response:
Here are the steps you need to perform in the Designer:
The end result for this example looks like this on the form:
This is the Backend Action in the Admin Tool that returns the list of Equipment Characteristic Values from SAP:
And this is a sample of the response:
Here are the steps you need to perform in the Designer: