feat: validate if pair w same where conditions is already present in workflow

This commit is contained in:
karishmas6
2024-06-07 23:56:12 +05:30
parent 06bd0bfc39
commit 7b977804ef

View File

@@ -126,4 +126,14 @@ export class WorkflowGenerator {
};
private addPairToWorkflowAndNotifyClient = async(pair: WhereWhatPair, page: Page) => {
let matched = false;
// validate if a pair with the same where conditions is already present in the workflow
if (pair.where.selectors && pair.where.selectors[0]) {
}
};
}