Can't complete a task and send variables using the Tasklist REST API

Hi!

So… JSON String is not a String containing JSON.
It’s a language error somewhere.
Make sure to put all your variable values in "" blocks.

eg.

{
"variables": [
      {
             "name":"decision",
             "value": "\"aprobada\""
      }
   ]
}

or

{
    "variables": [
        {"name": "fechaInicio", "value": "\"10.10.2023\""},
        {"name": "fechaFin", "value": "\"10.11.2023\""},
        {"name": "razon", "value": "[\"vacaciones\"]"}
    ]
}
1 Like