RPA Call
The RPA (Robotic Process Automation) component provides the capability for the application to utilise external software to gather data from existing web pages. The first type of RPA supported in Camlin Connect applications is a Cypress automation script and this is configured to operate similar to an API call in that it has input and return variables.
Unlike an API transaction an RPA is always synchronous and the flow will wait until the RPA transaction has completed before continuing with the flow. The RPA request is sent via a HTTP Post message to a Node application running Cypress that can automate the website interactions and return with a response to the RPA block.
Data from Camlin Connect variables can be sent to the Node application by using variables in a similar way to an API call, but restricted to query parameters unlike the API which can handle other types. However the best way to add information from Camlin Connect variables is to insert the variable data into the Cypress script by using the var:var_name:var method which will replace that part of the script with the current value for the variable 'var_name'.
RPA Settings | Attribues | Description |
---|---|---|
RPA Basics |
|
|
RPA Configuration | Request
|
|
Response
| The Node application sends back a JSON object containing an array of variables that will be retrieved using the Json path configured in the default value of the variable chosen, similarly to how an API works. For instance the variable would be configured with a default value something like: $.balance | |
Application Settings | camlin.rpa.cypress.node.url | To configure the location of the Node application running Cypress the variable camlin.rpa.cypress.node.url can be configured in your application with a default value containing the URL of the Node application. |