Difference between revisions of "Services"

From Wisevoice Wiki
Jump to: navigation, search
 
(5 intermediate revisions by the same user not shown)
Line 2: Line 2:
  
 
Two integration types are supported at the moment, REST and UiPath.
 
Two integration types are supported at the moment, REST and UiPath.
 +
 +
==REST Services==
 +
 +
[[File:service1.png|600px]]
 +
 +
REST services allow you to configure the url, headers and body of the request. When configuring the service fields you can insert values from the user's session using the {{<entity name>}} syntax .
 +
 +
Services also support synchronous answers. To inject data in the user's session the api should return a json object with the keys and values you want to inject.
 +
 +
==UiPath Services==
  
 
[[File:service2.png|600px]]
 
[[File:service2.png|600px]]
  
REST services
+
To configure a UiPath service you need to have an active UiPath integration.
 +
 
 +
When configuring the UiPath integration you will fill the UiPath orchestrator credentials.
 +
 
 +
When configuring the UiPath service you can select witch job you want to trigger, the robot that will execute the job and the JSON parameters that will be sent to the job.
 +
 
 +
When generating the UiPath call, the request engine will also inject a token in the JSON parameters. The token allows the UiPath job to make a callback after finishing the processing.
 +
 
 +
[[File:service3.png|600px]]

Latest revision as of 09:18, 19 November 2019

Service components handle calls to external business logic. They can be used to send and receive data to and from the business logic services.

Two integration types are supported at the moment, REST and UiPath.

REST Services

Service1.png

REST services allow you to configure the url, headers and body of the request. When configuring the service fields you can insert values from the user's session using the {{<entity name>}} syntax .

Services also support synchronous answers. To inject data in the user's session the api should return a json object with the keys and values you want to inject.

UiPath Services

Service2.png

To configure a UiPath service you need to have an active UiPath integration.

When configuring the UiPath integration you will fill the UiPath orchestrator credentials.

When configuring the UiPath service you can select witch job you want to trigger, the robot that will execute the job and the JSON parameters that will be sent to the job.

When generating the UiPath call, the request engine will also inject a token in the JSON parameters. The token allows the UiPath job to make a callback after finishing the processing.

Service3.png