Hello Creatio Community,
I’m working on creating a custom complex filter logic in a User Page JS and ran into a problem.
The following code works fine:
filter.addSchemaColumnFilterWithParameter(
sdk.ComparisonType.Equal,
"[TableA:TableB].ColumnX.Id",
"1048f156-620f-4e01-8796-a43ee5182dcc"
);
However, this does not work:
filter.addSchemaColumnFilterWithParameter(
sdk.ComparisonType.Equal,
"[TableA:TableB].ColumnX.Id",
"[TableA:TableB].ColumnX.[TableC:TableD].ColumnY.Id"
);
It seems like addSchemaColumnFilterWithParameter
does not accept two expressions as parameters (i.e., the second argument as a schema column and the third argument as another schema column instead of a value).
Is there any other function or approach that allows passing two schema column expressions to create a complex filter like this?