Hi @Jim_Grace Thank you very much for your response. I have tried out your suggestions, unfortunately its not working. I am thinking maybe the its because of the aggregate function that I am using max() on the generator expression.
Below the payload the I have imported:
{
“predictors”: [{
“name”: “Assign ASLXXX200mg_expiry date”,
“created”: “2024-02-29T16:15:17.115”,
“lastUpdated”: “2024-03-05T16:38:09.786”,
“translations”: ,
“externalAccess”: false,
“userGroupAccesses”: ,
“userAccesses”: ,
“access”: {
“manage”: true,
“externalize”: true,
“write”: true,
“read”: true,
“update”: true,
“delete”: true
},
“favorites”: ,
“lastUpdatedBy”: {
“id”: “B9NqFzULOIv”,
“code”: null,
},
“sharing”: {
“external”: false,
“users”: {},
“userGroups”: {}
},
“shortName”: “Predict ASLXXX200mg_expiry date”,
“output”: {
“id”: “ko8IE1WxZyg”
},
“outputCombo”: {
“id”: “HllvX50cXC0”
},
“generator”: {
“translations”: ,
“expression”: “max(#{ko8IE1WxZyg})”,
“description”: “expiry date”,
“slidingWindow”: false,
“missingValueStrategy”: “NEVER_SKIP”,
“displayDescription”: “expiry date”
},
“periodType”: “Daily”,
“organisationUnitLevels”: [
{
“id”: “zQb6PQONp9m”
}
],
“organisationUnitDescendants”: “SELECTED”,
“sequentialSampleCount”: 1,
“annualSampleCount”: 0,
“displayShortName”: “Assign ASLXXX200mg_expiry date”,
“displayFormName”: “Assign ASLXXX200mg_expiry date”,
“displayName”: “Assign ASLXXX200mg_expiry date”,
“favorite”: false,
“id”: “Zu5ZOYDOVRS”,
“attributeValues”: ,
“predictorGroups”: [
{
“id”: “OLX3faVLsm2”
}
]
}]
}