-
Task
-
Resolution: Fixed
-
L3 - Default
-
None
-
None
Baseline
We will implement Webhooks
Technical Outline for UiPath
- establish a RestController in the Bridge SpringBoot project that reacts on the UiPath events
- establish a configurable secret in the Bridge that is also used in UiPath' webhook configuration
- ensure authenticity of the messages we receive (procedure is described in the UiPath documentation)
- evaluate the payload (a JSON String, containing different attributes depending on the type of event we receive)
- filter if we know the job and need to update a task
Potential issues
- Security concerns since we open up a REST endpoint and UiPath does not support an authenticated Callback URL, only a signature for event payloads to verify authenticity of the message (this may be no major concern with on-premise installations though)
- More asynchronous actions in the bridge due to events we asynchronously receive on the callback controller (more structural complexity in the bridge)
- Event updates might be missed by the bridge (e.g. because it is not running when the event fires or the id of the job is not yet known and therefore the event is ignored) - can be partially mitigated with CAM-12112