You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The function find_tasks() returns a list of tasks including their identifying id's. I cannot see a way to find what case that task corresponds to (e.g. a parent_id being equal to the id of the case that owns the task).
The response consists of a list of tasks with the status: inProgress, but there is no link to the cases with these tasks.
Possible Solutions
If the backend can return this information, have the json-response for a task contain the case id (parent_id), e.g.:
{
"_id": "~10128176",
"parent_id": "~23589374", <-----------------------
"_type": "case_task",
"createdAt": 1649142919313,
"createdBy": "user",
"description": "description"
"flag": false,
"group": "default",
"id": "~10128176",
"order": 1,
"owner": "user",
"startDate": 1649146266237,
"status": "InProgress",
"title": "Title",
"updatedAt": 1649142975316,
"updatedBy": "user"
}
Or maybe there is already a solution to this, but I have not been able to find it.
The text was updated successfully, but these errors were encountered:
I was just having the same problem with observables. The UI adds an additional parameter to the equivalent of the "params" structure in "__find_rows". I did a quick bodge to see how it would work & added in exactly what the UI put in:
I was just having the same problem with observables. The UI adds an additional parameter to the equivalent of the "params" structure in "__find_rows". I did a quick bodge to see how it would work & added in exactly what the UI put in:
Request Type
Feature Request
Problem Description
The function find_tasks() returns a list of tasks including their identifying id's. I cannot see a way to find what case that task corresponds to (e.g. a parent_id being equal to the id of the case that owns the task).
Steps to Reproduce
Possible Solutions
If the backend can return this information, have the json-response for a task contain the case id (parent_id), e.g.:
{
"_id": "~10128176",
"parent_id": "~23589374", <-----------------------
"_type": "case_task",
"createdAt": 1649142919313,
"createdBy": "user",
"description": "description"
"flag": false,
"group": "default",
"id": "~10128176",
"order": 1,
"owner": "user",
"startDate": 1649146266237,
"status": "InProgress",
"title": "Title",
"updatedAt": 1649142975316,
"updatedBy": "user"
}
Or maybe there is already a solution to this, but I have not been able to find it.
The text was updated successfully, but these errors were encountered: