Totara Learn Open Discussions

Unexpected PROGRAM behavior - Boolean "THEN" issue?

 
Scott Andre
Unexpected PROGRAM behavior - Boolean "THEN" issue?
by Scott Andre - Tuesday, 13 February 2024, 2:19 PM
 

A program is being marked complete even though learners have not satisfied every course set requirement. Note - the program contains both AND and THEN Boolean statements.


We have a program the contains three course sets separated by AND statements, and is followed by a fourth and final course set using a "THEN" statement.

Course set 1 - Single course

AND

Couse set 2 - Complete one of two courses

AND

Course set 3 - Complete one of two courses

THEN >>>>>

Course set 4 - Complete all (2) courses


When I system admin goes into course set 4 and grants completion (via completion editor) for both courses, the learner's program status changes to "Complete" even though they have not yet finished course set 3 (see below).


QUESTION: Is this expected operation? If yes, what is the rationale for this?


Thank you!

Scott


Scott Andre
Re: Unexpected PROGRAM behavior - Boolean "THEN" issue?
by Scott Andre - Wednesday, 14 February 2024, 10:37 AM
 

We retested this replacing the THEN with an AND (at the end) and discovered this does NOT fix the issue. As soon as we mark a learner complete for the fourth set, they are marked complete for the whole program (even if they haven't completed the other required course sets).

Craig Eves
Re: Unexpected PROGRAM behavior - Boolean "THEN" issue?
by Craig Eves (Totara Support) - Tuesday, 20 February 2024, 2:35 PM
Group Totara

Hi Scott

I tried a similar structure with an AND and THEN and marking the THEN course set as complete with course completion editor. This didn't mark the program as complete for me in latest 18

Is there anything else going on such as the course being part of a certification

Are you or your partner able to create a support ticket for this with steps on what you did and the version you tested on?

regards

Scott Andre
Re: Unexpected PROGRAM behavior - Boolean "THEN" issue?
by Scott Andre - Wednesday, 21 February 2024, 3:17 AM
 

Thank you ~ I will follow up.