Checking the completion status for multiple courses or levels can require a large amount of condition nodes. This is an area planned for future improvement, for the moment we recommend the following technique to reduce the complexity of workflow required:
Steps:
- Pick the trigger you want and create the workflow
- Add “get completion status” or “get custom xAPI statement” or “get level or object completion” workflow items equal to how many you want to check(In this example we have three)
- Ensure that you have a different custom variable to hold each completion status.
- Add in 3 “match” workflow items
- The following will be the setup for the first match workflow item:
- We are inputting the completion status custom variable of the first completion workflow item and checking if it is equal to completed.
- If completed than set our custom variable “Any failed levels” to true
- If not completed than set our custom variable to false
- For the rest of the “match” workflow items for however many courses you have, the following will be the configuration, just with changing the input to match each completion status variable.
- We are appending the result of this match check onto the result from the previous match workflow item.
- This allows us to do the following check within a “Condition” workflow item, to check if the match results contain “false” and if so then the user has not completed all of there learning.
- The variable Match results will contain something like the following:
MatchResults: false, false, false
- So in this scenario the user will go down the true path and receive a nudge to complete there learning.