Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
Warning |
---|
Note: This tutorial is for the older UiPath Studio 19.5. Please refer to the latest Integration with UiPath Robotic Process Automation for the latest UiPath Studio 20.10, which provides a much simplified sign in and first run experience compared to previous releases. |
Table of Contents
...
Copy the value for serviceInstanceLogicalName from the response:
Code Block |
---|
[ { "serviceInstanceName": "DemoDefault", "serviceInstanceLogicalName": "DemoDefaultzous50676", "serviceType": "ORCHESTRATOR", "serviceUrl": "https://platform-community.azurewebsites.net" } ] |
...
Click on Configure Plugin for the first tool and select JSON Tool, then key in the following configuration:
JSON URL | |
Call Type | POST |
POST Method | Custom JSON Payload |
Custom JSON Payload | { "grant_type": "refresh_token", "client_id": "5v7PmPJL6FOGu6RB8I1Y4adLBhIwovQN", "refresh_token": "[refresh_token]" } |
Under Store to Workflow Variable, map the variables to store the tokens in the matching workflow variables i.e.
access_token | access_token |
id_token | id_token |
Click on Submit to save.
Click on Configure Plugin for the second tool and select JSON Tool, then key in the following configuration:
JSON URL | https://platform.uipath.com/odata/Jobs/UiPath.Server.Configuration.OData.StartJobs |
Call Type | POST |
POST Method | Custom JSON Payload |
Custom JSON Payload (Replace [Key] with the actual Release Key) | { "startInfo": { "ReleaseKey": "[Key]", "Strategy": "All", "RobotIds": [ ], "JobsCount": 0, "Source": "Manual" } } |
Request Headers (Replace [serviceInstanceLogicalName] with the actual Service Instance Logical Name | Authorization: Bearer #variable.access_token# X-UIPATH-TenantName: [serviceInstanceLogicalName] |
Under Store to Workflow Variable, map the status variable to the State attribute in the response JSON i.e.
...
status | value[0].State |
That’s it. The Joget process has been configured to invoke the UiPath Orchestrator API to start a job.
...