Scenario 1

Your Code

1. Identify the dot-notation if the Completion Status is incomplete:
   SetValue("cmi.completion_status", "
   ");
2. Identify the dot-notation if the Completion Status is completed:
   SetValue("cmi.completion_status", "
   ");");

Code Example

1. Identify the dot-notation if the Completion Status is incomplete:
   SetValue("cmi.completion_status", "incomplete");
2. Identify the dot-notation if the Completion Status is completed:
   SetValue("cmi.completion_status", "completed");