Hello,
I have troubles getting my Project to start. I want to have a Process that I can start via REST-Api with variables. The first task is a service task that takes this variables and converts it to a object and stores this object inside a pool variable. Currently I give the pool variable as input to the connector, is this the correct approach? Or is there a way to access the variable inside a connector
Hi,
you should use a process contract to define expected inputs when starting the process.
You can then either store the input using a business variable or a process variable.
This variable can then be used in connector input expressions.
To start your process with a REST API call use the following API:
POST /API/bpm/process/:processId/instantiation
Payload is the valuated contract:
{
“ticket_account”:“CustomerA”,
“ticket_description”:“issue description”,
“ticket_subject”:“Issue 1”
}
HTH
Romain