If a form is selected while creating or editing a task filter, the form ID will also be included in the task filter. Subsequently, when the filter is used to list tasks, they will be listed against the associated form ID by default.
Added this condition
if (slectedFormid is there) {
data.properties.formId = selectedForm;
data.criteria.processVariables = [{name: "formId", operator: "eq", value: selectedForm}];
}
Issue Tracking
JIRA: Issue Type: BUG/ FEATURE
Changes
If a form is selected while creating or editing a task filter, the form ID will also be included in the task filter. Subsequently, when the filter is used to list tasks, they will be listed against the associated form ID by default.
Added this condition