Getting the value from from external form via UserTask

A JSON String is not a String.
Try it as

{
   "variables": [
      {
          "name": "dinner_decision",
          "value": "\"ayan\""
      }
   ]
}

See also: How to insert/update String variable with GraphQL on completeTask

Since your worker will be sending Variables back in the TaskComplete API, you shouldn’t set the Outputs… that will just make things confusing.

1 Like