Hello Caio,
I think you are trying to complete a task in the BAW workflow from RPA.
If yes, then you can do so using the BAW REST API - https://<YOUR_HOST:PORT>/rest/bpm/wle/v1/task/<TASK_ID>?action=complete, this is HTTP POST.
In the body, you can set the values of the output variables of the task, let's say, if the task has two output values as "name" and "value", then the body will be -
{
"name": "NAME,
"value": "VALUE"
}
Please note: BAW REST APIs only support basic authentication.
Thanks!
------------------------------
Atanu Roy
Lead Engineer
London Stock Exchange Group
------------------------------
Original Message:
Sent: Mon August 05, 2024 03:06 PM
From: Caio Corsini Filho
Subject: API call to send info from RPA to BAW BPM
Hello. I am working on a BPM workflow in BAW, without case features. There is a part in my workflow where there is an RPA that needs to send 3 integer values and 1 string value to the BPM I am working on, which is then going to be shown to the user. How do I make such a API call to BPM? Should it be put, or post? What does the body should look like? And what headers should I use?
These are the variables where the values should be stored in BAW BPM.
I tried looking into the documentation but I couldn't really understand (Processing a user task by calling IBM BPM REST APIs))
------------------------------
Caio Corsini Filho
------------------------------