The following article shows how to integrate a yunIO services via the Nintex Gateway.
The Nintex Gateway is an on-premises application that enables Nintex Automation Cloud to access on-premises resources.

Prerequisites #

  • Install and configure the Nintex Gateway.
  • Make sure that the Nintex Gateway has a valid API key for authentication.
  • Install yunIO version 1.26.3 or higher.
  • Set up Basic Authentication in yunIO, see Online Help: Access Control.

Creating a yunIO Service for Nintex Gateway #

  1. Create a service in yunIO. The depicted example uses the BAPI SD_RFC_CUSTOMER_GET to search and extract customer data from SAP.
  2. Click run to testrun the service in yunIO (1). For more information, see Online Help: Testing a Service.
  3. Navigate to Settings and select Nintex Gateway as the OpenAPI Target Kind to add predefined Nintex Gateway properties to the service definition.
    nintex-gateway-target
  4. Navigate to Services and click download-file to download the service definition (2).
    yunio-Services-Function-Download
  5. Open the service definition and check if the following properties are available at the end of the service definition:
    "securityDefinitions": {
         "basic": {
             "type": "basic",
             "x-ntx-connection-properties": {
                 "type": "object",
                 "required": [
                     "x-ntx-gateway-id",
                     "x-ntx-gateway-apikey",
                     "x-ntx-gateway-xtension-baseurl",
                     "username",
                     "password"
                 ],
                 "properties": {
                     "x-ntx-gateway-id": {
                         "type": "string",
                         "title": "Select Nintex Gateway"
                     },
                     "x-ntx-gateway-apikey": {
                         "type": "string",
                         "title": "Nintex Gateway API key"
                     },
                     "x-ntx-gateway-xtension-baseurl": {
                         "type": "string",
                         "title": "On-premises service URL",
                         "description": "Base URL of the web service.",
                         "pattern": "^(https?:\/\/[^\/?#]+)(?:[\/]|\/.+|)$"
                     },
                     "username": {
                         "type": "string",
                         "title": "On-premises application username"
                     },
                     "password": {
                         "type": "string",
                         "title": "On-premises application password"
                     }
                 }
             }
         }
     },
     "security": [
         {
             "basic": []
         }
     ],
     "x-ntx-render-version": 2,
     "x-ntx-host": ""
    }
    

Configuring a yunIO Xtension in Nintex #

  1. Open your Nintex Automation Cloud tenancy.
  2. Click Xtensions (1) in the dashboard to open the Xtensions page.
  3. Click nintex-add (2) in the Private connector list.
  4. Click [Choose a file] (3). Navigate to the yunIO service definition from Creating a yunIO Service for Nintex Gateway.
    nintex-xtensions1
  5. Wait for the Nintex Automation Cloud to validate the file.
  6. Click [Next]. Nintex Workflow Cloud detects the basic authentication security template.
  7. Click [Next].
  8. Edit the Name of the Xtension. The entered name becomes the name of the action group in the workflow.
  9. Edit the Description of the Xtension. This appears in the Private connector list in the Xtensions page.
  10. Optional: select or upload an icon for the Xtension.
  11. Click [Publish] (4).
    nintex-xtensions2

Configuring a yunIO Connection in Nintex #

  1. Click Connections (5) in the dashboard to open the Connections page.
  2. Click [Add Connection] (6) in the Connector list.
    nintex-connections
  3. Select the yunIO connector from Configuring a yunIO Xtension in Nintex.
  4. Click [Next].
  5. Configure the connection:
    • Connection name - enter a name to identify the connection.
    • Select Nintex Gateway - select your Nintex Gateway.
    • Nintex Gateway API key - enter a valid API key of your Nintex Gateway.
    • On-premises service URL - enter the base URL of your yunIO service, including the HTTPS.
    • On-premises application username - enter your yunIO username.
    • On-premises application password - enter your yunIO password. nintex-connection-settings
  6. Click [Connect].

Using the yunIO Service in a Nintex workflow #

After an Xtension and a Connection is created, the yunIO service can be used in a workflow.

  1. Drag&Drop the yunIO Xtension from Configuring a yunIO Xtension in Nintex into the workflow (7).
  2. Select the connection from Configuring a yunIO Connection in Nintex (8).
    nintex-gateway-workflow
  3. Parameterize the input fields (9).