How is possible to pass the GlobalVariable directly in the HTTP body of a POST request ?
I’ve tried with:
{
“batch_code”: “MC01”,
“name”: “OMR-150-50-MC”,
“planned_start_dt”: “2019-05-14T22:05:00.000Z”,
“planned_end_dt”: “2019-05-15T07:35:00.000Z”,
“real_start_dt”: “2019-05-14T22:05:00.000Z”,
“real_end_dt”: “2019-05-15T07:35:00.000Z”,
“status”: “ONGOING”,
“unit”: {
“id”: ${GlobalVariable.unit_id},
“name”: “steril-3”
},
“recipe”: {
“id”: ${GlobalVariable.recipe_id},
“version”: 1
}
}
and also with :
{
“batch_code”: “MC01”,
“name”: “OMR-150-50-MC”,
“planned_start_dt”: “2019-05-14T22:05:00.000Z”,
“planned_end_dt”: “2019-05-15T07:35:00.000Z”,
“real_start_dt”: “2019-05-14T22:05:00.000Z”,
“real_end_dt”: “2019-05-15T07:35:00.000Z”,
“status”: “ONGOING”,
“unit”: {
“id”: “${GlobalVariable.unit_id}”,
“name”: “steril-3”
},
“recipe”: {
“id”: “${GlobalVariable.recipe_id}”,
“version”: 1
}
}
but variables are not replaced with the values.