This article will explain how to add a node to start a job in the UiPath orcestrator. It will also explain how to add a JSON payload to send information to this process. 

 

ui_path_Logo_SMALL_rgb_Orange_digital_147x50.png

After you have added your authentication node you will probably want to trigger a job from your UiPath Orchestrator services.

Add Start a Job Node to flow

In your flow below your Add Releases node click on + to open the mask to add nodes. Navigate to Extensions in the mask and then the UiPath symbol to see all Nodes associated with the UiPath extension. Choose the Start a specific job node from the list and it will be added to the flow. 

 

mceclip0.png

Figure 1: Add start a job node in the list

 

Clicking on the node will open up the edit node function where you can enter the credentials for your node. 

Finding and Adding Job Information

Fields in Node

mceclip1.png

Figure 2: Edit node fields for Start specific job Node

 

By clicking on + next to the field for Orchestrator Instance Information you can open up a window to enter information for your account and tenant. Ideally you already added this information when entering your authentication information in the Authentication Node. If not please refer to the support page for UiPath authentication

 

Finding Field Information in Start a Job Node

Access Token is a dynamic value created by when you run the Authentication node. Simply put the Cognigy code for the field where you stored the results here. 

Process Release Key and Organization Unit ID are both values which were fetched by the Get Releases Node written in Cognigy script. Keep in mind depending on which release you wish to use the value might differ. 

The Robot IDs for your process can be found using the Get Robots By Username Node.

Input Arguments is used to send data to UiPath Orchestrator in JSON format using the following JSON pattern. It is of course possible to add Cognigy Script as a value and transfer it to your UiPath flow (for example when information from the chat session should be added to documents, etc.):

{
    "key1": "value1",
    "key2": "value2",
    "key3": "value3",
}

 

With the exception of input arguments (which are process dependent), all information can also be added via Cognigy Tokens which were created by the extension. This means you do not have to look up the specific objects in the Context or Input.

mceclip2.png

Figure 3: Completed node information with Cognigy tokens

 

After saving the node when you run your flow your UiPath Assistant should run the process on the machine where you set up the process. 


Comments

0 comments

Please sign in to leave a comment.

Was this article helpful?
0 out of 0 found this helpful