Variables passed via REST service are not set correctly.

Hello! Looks like I can’t pass variables values and use them in case I run pipeline as a REST service.

I have a simple test workflow with template variable input:

the filter condition is the following:

I’m trying to run pipeline via API, pass the variable value, but looks it still uses the default one. Either it is a bug, or the variables should be passed somehow differently.

The request details:
curl -X ‘POST’ \
https://api.hub.knime.com/deployments/rest:1f79f491-1f83-49be-874a-68ca0aa8c4b8/execution?reset=false&timeout=-1’ \
-H ‘accept: application/vnd.mason+json’ \
-H ‘Content-Type: application/json’ \
-d ‘{
“table-input”: {
“table-data”: [
[
“X0273T21000100001”,
53,
“F”,
“Caucasian”,
“Indigestion”,
160.484,
73.2,
“53 C F”,
“false”,
“09/11/1990 00:00:00.000”,
“None”
],
[
“X0273T21000100002”,
40,
“F”,
“Caucasian”,
“Indigestion”,
163.646,
93,
“40 C F”,
“true”,
“04/03/1991 00:00:00.000”,
“None”
],
[
“X0273T21000200001”,
50,
“F”,
“Caucasian”,
“Indigestion”,
158.027,
62.7,
“50 C F”,
“true”,
“05/15/1990 00:00:00.000”,
“High”
],
[
“X0273T21000200002”,
30,
“F”,
“Other”,
“Indigestion”,
158.419,
64.5,
“30 O F”,
“true”,
“02/24/1991 00:00:00.000”,
“None”
],
[
“X0273T21000300001”,
50,
“F”,
“Caucasian”,
“Indigestion”,
161.695,
67.6,
“50 C F”,
“false”,
“03/05/1991 00:00:00.000”,
“None”
],
[
“X0273T21000300002”,
43,
“M”,
“Caucasian”,
“Indigestion”,
188.234,
91,
“43 C M”,
“false”,
“05/23/1991 00:00:00.000”,
“None”
],
[
“X0273T21000300003”,
26,
“F”,
“Caucasian”,
“Indigestion”,
174.705,
74.1,
“26 C F”,
“false”,
“08/02/1990 00:00:00.000”,
“High”
],
[
“X0273T21000300004”,
47,
“M”,
“Caucasian”,
“Indigestion”,
175.228,
85.1,
“47 C M”,
“true”,
“01/21/1990 00:00:00.000”,
“None”
],
[
“X0273T21000300005”,
30,
“F”,
“Other”,
“Indigestion”,
150.288,
64,
“30 O F”,
“false”,
“02/18/1991 00:00:00.000”,
“High”
],
[
“X0273T21000300006”,
32,
“M”,
“Caucasian”,
“Indigestion”,
180.298,
67,
“32 C M”,
“true”,
“01/14/1991 00:00:00.000”,
“None”
]
],
“table-spec”: [
{
“USUBJID”: “string”
},
{
“AGE”: “int”
},
{
“SEX”: “string”
},
{
“RACE”: “string”
},
{
“DIS_POP”: “string”
},
{
“HEIGHT”: “double”
},
{
“WEIGHT”: “double”
},
{
“DEMOG”: “string”
},
{
“CONTROL”: “string”
},
{
“STARTED”: “string”
},
{
“SEVERITY”: “string”
}
]
},
“variable-input”: {
“race”: “Other”
}
}’

Response body:

{
  "id": "9cb56c21-b217-45c7-b4f4-327123056535",
  "createdAt": "2026-03-19T10:17:09.567Z[GMT]",
  "name": "Test_passing_variables_REST_service 2026-03-19 10.17.09",
  "creator": "account:app-pw:db1c9424-5848-4700-8d25-87fab90ab2a4",
  "state": "EXECUTION_FINISHED",
  "jobState": "LOADED",
  "workflowState": "EXECUTION_FINISHED",
  "startedExecutionAt": "2026-03-19T10:17:11.975605Z[Etc/UTC]",
  "finishedExecutionAt": "2026-03-19T10:17:12.076831Z[Etc/UTC]",
  "deploymentId": "rest:1f79f491-1f83-49be-874a-68ca0aa8c4b8",
  "nodeMessages": [
    {
      "node": "Container Input (Variable) 3:1:5",
      "messageType": "WARNING",
      "message": "Default variables are output"
    }
  ],
  "type": "execution",
  "scope": "account:team:5206ad8a-2ed0-48b9-8a02-b4ab6325915e",
  "creatorName": "mardol PRO",
  "initiatorId": "account:user:ee1307af-c776-43ae-9a6c-7c3ae6bd2b29",
  "initiatorName": "mardol",
  "isSwapped": false,
  "hasReport": false,
  "workflow": "/Users/mardol PRO/Data App Examples Space/Test_passing_avriables_REST_service",
  "workflowId": "*CS5AxYH8KVU_59xj",
  "spaceVersion": "1",
  "itemVersion": "1",
  "createdVia": "generic client",
  "executorID": "b36c92dd-5579-459c-93ff-2b35123a6a0d@001f6c12-9b8a-4e3d-b7c2-9a5e1f0d8c34",
  "executorId": "b36c92dd-5579-459c-93ff-2b35123a6a0d@001f6c12-9b8a-4e3d-b7c2-9a5e1f0d8c34",
  "executorName": "001f6c12-9b8a-4e3d-b7c2-9a5e1f0d8c34",
  "executionContext": "001f6c12-9b8a-4e3d-b7c2-9a5e1f0d8c34",
  "discardAfterSuccessfulExec": false,
  "discardAfterFailedExec": false,
  "errors": [],
  "actions": [],
  "configuration": {},
  "inputParameters": {
    "variable-input": {
      "race": "Caucasian"
    },
    "table-input": {
      "table-spec": [
        {
          "USUBJID": "string"
        },
        {
          "AGE": "int"
        },
        {
          "SEX": "string"
        },
        {
          "RACE": "string"
        },
        {
          "DIS_POP": "string"
        },
        {
          "HEIGHT": "double"
        },
        {
          "WEIGHT": "double"
        },
        {
          "DEMOG": "string"
        },
        {
          "CONTROL": "string"
        },
        {
          "STARTED": "string"
        },
        {
          "SEVERITY": "string"
        }
      ],
      "table-data": [
        [
          "X0273T21000100001",
          53,
          "F",
          "Caucasian",
          "Indigestion",
          160.484,
          73.2,
          "53 C F",
          "false",
          "09/11/1990 00:00:00.000",
          "None"
        ],
        [
          "X0273T21000100002",
          40,
          "F",
          "Caucasian",
          "Indigestion",
          163.646,
          93,
          "40 C F",
          "true",
          "04/03/1991 00:00:00.000",
          "None"
        ],
        [
          "X0273T21000200001",
          50,
          "F",
          "Caucasian",
          "Indigestion",
          158.027,
          62.7,
          "50 C F",
          "true",
          "05/15/1990 00:00:00.000",
          "High"
        ],
        [
          "X0273T21000200002",
          30,
          "F",
          "Other",
          "Indigestion",
          158.419,
          64.5,
          "30 O F",
          "true",
          "02/24/1991 00:00:00.000",
          "None"
        ],
        [
          "X0273T21000300001",
          50,
          "F",
          "Caucasian",
          "Indigestion",
          161.695,
          67.6,
          "50 C F",
          "false",
          "03/05/1991 00:00:00.000",
          "None"
        ],
        [
          "X0273T21000300002",
          43,
          "M",
          "Caucasian",
          "Indigestion",
          188.234,
          91,
          "43 C M",
          "false",
          "05/23/1991 00:00:00.000",
          "None"
        ],
        [
          "X0273T21000300003",
          26,
          "F",
          "Caucasian",
          "Indigestion",
          174.705,
          74.1,
          "26 C F",
          "false",
          "08/02/1990 00:00:00.000",
          "High"
        ],
        [
          "X0273T21000300004",
          47,
          "M",
          "Caucasian",
          "Indigestion",
          175.228,
          85.1,
          "47 C M",
          "true",
          "01/21/1990 00:00:00.000",
          "None"
        ],
        [
          "X0273T21000300005",
          30,
          "F",
          "Other",
          "Indigestion",
          150.288,
          64,
          "30 O F",
          "false",
          "02/18/1991 00:00:00.000",
          "High"
        ],
        [
          "X0273T21000300006",
          32,
          "M",
          "Caucasian",
          "Indigestion",
          180.298,
          67,
          "32 C M",
          "true",
          "01/14/1991 00:00:00.000",
          "None"
        ]
      ]
    }
  },
  "outputValues": {
    "table-output": {
      "table-spec": [
        {
          "USUBJID": "string"
        },
        {
          "AGE": "int"
        },
        {
          "SEX": "string"
        },
        {
          "RACE": "string"
        },
        {
          "DIS_POP": "string"
        },
        {
          "HEIGHT": "double"
        },
        {
          "WEIGHT": "double"
        },
        {
          "DEMOG": "string"
        },
        {
          "CONTROL": "string"
        },
        {
          "STARTED": "string"
        },
        {
          "SEVERITY": "string"
        }
      ],
      "table-data": [
        [
          "X0273T21000100001",
          53,
          "F",
          "Caucasian",
          "Indigestion",
          160.484,
          73.2,
          "53 C F",
          "false",
          "09/11/1990 00:00:00.000",
          "None"
        ],
        [
          "X0273T21000100002",
          40,
          "F",
          "Caucasian",
          "Indigestion",
          163.646,
          93,
          "40 C F",
          "true",
          "04/03/1991 00:00:00.000",
          "None"
        ],
        [
          "X0273T21000200001",
          50,
          "F",
          "Caucasian",
          "Indigestion",
          158.027,
          62.7,
          "50 C F",
          "true",
          "05/15/1990 00:00:00.000",
          "High"
        ],
        [
          "X0273T21000300001",
          50,
          "F",
          "Caucasian",
          "Indigestion",
          161.695,
          67.6,
          "50 C F",
          "false",
          "03/05/1991 00:00:00.000",
          "None"
        ],
        [
          "X0273T21000300002",
          43,
          "M",
          "Caucasian",
          "Indigestion",
          188.234,
          91,
          "43 C M",
          "false",
          "05/23/1991 00:00:00.000",
          "None"
        ],
        [
          "X0273T21000300003",
          26,
          "F",
          "Caucasian",
          "Indigestion",
          174.705,
          74.1,
          "26 C F",
          "false",
          "08/02/1990 00:00:00.000",
          "High"
        ],
        [
          "X0273T21000300004",
          47,
          "M",
          "Caucasian",
          "Indigestion",
          175.228,
          85.1,
          "47 C M",
          "true",
          "01/21/1990 00:00:00.000",
          "None"
        ],
        [
          "X0273T21000300006",
          32,
          "M",
          "Caucasian",
          "Indigestion",
          180.298,
          67,
          "32 C M",
          "true",
          "01/14/1991 00:00:00.000",
          "None"
        ]
      ]
    }
  }
}

Thank you in advance for your help!