Hello,
I am trying an elegant way to create a condition for which all objects that are subitems of another objects satisfy a condition. For example
I want to check if there are any "Approval" objects that are parts of "DocIssue.Approvals" and have their Status as "Requested" or "Approved"
This is how I wrote the condition, but it doesn´t seem to work:
Thanks in advance for any help/Suggestion.
Sergio
I am trying an elegant way to create a condition for which all objects that are subitems of another objects satisfy a condition. For example
I want to check if there are any "Approval" objects that are parts of "DocIssue.Approvals" and have their Status as "Requested" or "Approved"
This is how I wrote the condition, but it doesn´t seem to work:
Code: Select all
COUNT Approval WHERE ((Approval IN ThisDocIssue.Approvals) AND Approval.Status IN 'Requested','Approved' )>0
Thanks in advance for any help/Suggestion.
Sergio