Hi.
I’ve called ‘/API/bpm/userTask//contract’ and it returned :
{
“inputs”: ,
“constraints”:
}
but the task has many input fields in the view.
why the response is like that and what does this api must return?
Hello,
Could you describe the contract in the studio? Tab Execution.
You have to return a JSON who match this contract definition.
In the example you gave, it's look like you expect a field "inputs / Text / multiple" and a second field "constraints / Test / multiple" ?
Then the JSON must be
{
"inputs" : [ "A", "B", "C" ];
"constraints" : [ "D", "E", "F" ];
}