Totara Learn Open Discussions

Unexpected PROGRAM behavior - Boolean "THEN" issue?

 
AndreScott
Unexpected PROGRAM behavior - Boolean "THEN" issue?
AndreScott 发表于 2024年02月13日 Tuesday 14:19
 

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


AndreScott
Re: Unexpected PROGRAM behavior - Boolean "THEN" issue?
AndreScott 发表于 2024年02月14日 Wednesday 10:37
 

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?
Eves (Totara Support)Craig 发表于 2024年02月20日 Tuesday 14:35
小组 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

AndreScott
Re: Unexpected PROGRAM behavior - Boolean "THEN" issue?
AndreScott 发表于 2024年02月21日 Wednesday 03:17
 

Thank you ~ I will follow up.