Suggestion: allow PLD to use two-level boolean logic
Credit (Jerry Cheng):
We have a client who has a use case for multiple activity completion checks with membership checking on specific dates in a rule.
There is a course with multiple groups of learners. Will like to send emails based on specific dates/times to learners who have not completed the activities.
Currently, we can only use "All of these conditions must be fulfilled" or "Any of these conditions must be fulfilled" for all conditions. It would not perfectly accomplish multiple activity completion checks with membership checking.
At this time, PLD can not specify two-level boolean logic, so it isn't possible to specify as below:
(group=A AND (assignment1 incomplete OR assignment2 incomplete))
The workaround is to have multiple rules, one for each pairing of group membership and assignment incomplete:
rule Jul-a1: (group = July) and (assignment 1 incomplete)
rule Jul-a2: (group = July) and (assignment 2 incomplete)
rule Jul-a3: (group = July) and (assignment 3 incomplete)
rule Aug-a1: (group = Aug) and (assignment 1 incomplete)
rule Aug-a2: (group = Aug) and (assignment 2 incomplete)
rule Aug-a3: (group = Aug) and (assignment 3 incomplete)
In addition, if a learner has not completed two assignments, he will receive two emails, one for each assignment being incomplete.
Therefore, we would like to request an enhancement if the PLD can support two-level(multi-level) Boolean logic.
Please sign in to leave a comment.
Comments
0 comments