Transcript
Today I'm going to demonstrate Logic, our new feature for New Evolve. Logic already existed in Legacy Evolve, but I'm going to show you the new version we've got. Legacy Evolve, to do anything, really, you had to navigate away from your course to a separate part of the tool.

But now, in the same way that we've refreshed theming, you can complete a lot of the logic actions for your course whilst actually looking at the course itself instead of having to navigate away. So if you've. If you're new to logic and you're not sure what it does, it's a way for you to trigger certain actions to happen in a course, depending on what the learner does. So typically this can be used for doing things like hiding content, showing content, navigating to a particular location in the course, or even more complex things like setting the course to complete in a particular way.

You can also set up chains of actions so you can have lots of different things triggered by various actions. So let's demonstrate how it works. So here's a page of my course. Here's an accordion element.

And when you select any part of the architecture of your course in the Properties panel here, as well as the existing content, design and settings tabs, you'll see this new Actions tab. Now, there's an Actions tab for the page, for the section, for a row, and for the elements. The only thing that doesn't have an Actions tab is a column. Okay, so here's my accordion selected.

Let's go to the Actions tab. Now let's set up some things to happen [Pause]when the learner completes this element. Okay, so I'm going to add my first action, [Pause]so you can name it what you want. So let's call it Action one.

And you'll see this if statement here. Now you can select [Pause]the outcome what the learner does.

So if the learner completes this element, if they start it, or even if they've just viewed it, if it comes into view, now I'm going to select completed here, then you move on to your then statement. So this is what you want to happen.

So, okay, if a learner completes this accordion, or I want it to, and then I'll show this, open this action menu and you can see here you have a huge long list of all the different things you can set to happen. So there's a. The possibilities are endless here. There's thousands of combinations you could, you could do.

But I'm going to ask it to do a couple of particular things. The first thing I'm going to ask it to do is show a logic dialog. Now, a logic dialog is a little modal that's going to pop up for the learner that can have text, an image if you want, and a button if you want. [Pause]Now, I've already created a logic dialog, but if I hadn't and I wanted to create one, I could do it right here so I wouldn't have to navigate away.

I can name it, I can add some text, I can add an image, and I can add a button and set that button to do a variety of different things, navigate somewhere internally in the course, go to an external URL, or to close the dialogue. But I've already got my dialog set up, so I'm going to select the one I've already created. [Pause]So that means when the learner completes this element, it's going to show this logic dialog. Now I'm going to add a little delay here.

It's measured in milliseconds. Let's put 2000 in. So what that means is when the learner clicks the last accordion item, it'll give them a chance to read the text before this modal appears. Okay, so that's my first action.

Now let's set up another one as well. Okay, so add another action. So again, if the accordion is completed, then I'm going to navigate somewhere else. So let's navigate to a different page in the course.

If I open that, it will list all the pages available in this course. Let's select that page. [Pause]And again, I'm going to add a delay here. I'm going to add a longer one this time, because I'm going to give the learner the chance to read that modal before it takes them away.

Okay, so there's my [Pause]two actions ready to go. If the accordion is completed, show the logic dialog. And if the accordion is completed, navigate to the page. So let's preview the course and see those working.

So let's go to page two. [Pause]Let's complete the accordion. So now there's a little delay before the logic modal appears. There we go, [Pause]Close that, another delay, and then I'm navigated to the second page.

So that was two actions happening by the learner just completing that element. Now, a nice little feature you have in preview here is this new little button here, logic tracking. Now, this existed in Legacy as well. And what this enables you to do is see any variables that are in the course, [Pause]the Actions that you've set up.

So you can see the actions that I've already set up, and it allows you to manually run those actions as well. So this is a great way to kind of debug your course. If you have actions set up that are particularly complicated or long sequences of events, you can just trigger them here to check it's doing what you think it's going to be doing. And it also has a log to show which actions have been run and when.

So you can see those two actions that I triggered were run [Pause]just under a minute ago. Okay, [Pause]so this is what we call a local action. So this action is specific to this particular element. And I could set any number of local actions for anything in the course, for the section, the page, or whatever.

But there's also global actions you can run. So if you want to run a global action, and that will be something that is dependent on numerous things happening in the course. So let's set up a global action as well. Let's just do a bit of prep work first.

Okay, so let's figure out what we want to do. Okay, so here we've got a page I've set up with two MCQs. And you'll see here I've got this section at the bottom that's got a place for the learner's score to appear and a hidden graphic here. So you can see this graphic looks a little bit grayed out.

Now if I select it, you'll see in the toolbar here you have a new option to show and hide things, and you can show and hide pages, sections, rows or element. So I've already hidden this element and I can tell it's hidden by when I deselect it, it looks a bit grayed out. So I can show it or I can hide it. So I've hidden this.

So at the moment when you preview the course and look at this page, the learner doesn't see that graphic because it's hidden. So what I want to do is I want to assign a variable value to both of these questions that's going to increase.

And when the learner hits a certain score, it's going to show them their score in this text element, and it's going to reveal this hidden graphic. [Pause]Okay, so let's set that up.

So I'm going to select the first mcq, go to the Actions tab, add an action. [Pause]So we'll look at this if statement again, and you'll notice here for an mcq, there's actually a longer list of Options for what you can do. So what appears in this if list is dependent on what you've selected. So because it's a question, there are more options here you can still have completed whether that's, you know, the learner's got it right or got it wrong.

Started, viewed, but also passed and failed. Now, the reason it's passed and failed rather than correct or incorrect is because the learner can have a number of attempts to complete that question. So past shows they've either just got the question right or failed. Could be they've got it wrong, but they've also used up all their attempts in getting it wrong.

So let's do it for past. So I want the action to happen if the learner gets this question right. [Pause]So in my then actions, let's select the one we want. [Pause]So what I want to do is I want to increase a variable by value [Pause]and I can select my variable.

So again, I've created this already, but if I wanted to create one, I can do it right here. Now, a variable can be one of three things. It can be a string variable, so just text a little text item that changes and shows whatever text you want it to show, depending on the learner's actions, or a number that's the one we want, or a boolean, which just means a true or false. Okay, so I'll cancel that because we've already got our variable set up.

So let's select our variable [Pause]and what I want to do is I want to increase this variable by 5. If the learner gets it right, I'm going to move to the second McQ and I'm going to set up exactly the same question, [Pause]exactly the same action.

Rather, if this MCQ is passed, then I'm going to increase the variable by value, select that same variable and select it to five. Okay, so we've got those two local actions set up, but nothing's really going to happen.

If the learner completes these at this stage, it's going to increase that variable, but we're not showing it anywhere. Nothing's happening to it. So let's place where we're going to put this variable to display in the course. So let's select this text field.

So when I've got the Rich Text editor toolbar up, you'll see there's another new option here. Insert variable. So I want to put my variable here. [Pause]So let's select my number variable.

You'll see it. It's represented by a token here. If I preview it, [Pause]the learner won't see that token? What they're seeing right now is the default value I've set for that variable, which I've set at zero.

Okay, so let's set up a global action to give the learner this congratulations message once they've hit their target score.

So first McQ, if you get it right, you'll get five points. Second McQ, you'll get another five points, totaling 10. So let's set up a global action.

So if I want to go to the where the global actions are, I go to Course Settings in the Course settings menu. We've got three new tabs here, Variables that will allow you to create variables here, but also show all the variables you've created for your course [Pause]dialogs. You saw that logic dialog I'd created before? [Pause]Here it is.

You can add more from here as well. And actions. So this lists all the local actions that you've got in your course. You can see all the ones I'd already set up, but it also allows you to set a global action.

So let's set that up. [Pause]So again, like the others, we've got an if statement. There's a few choices here, so you could select variable or if the device size changes, that's handy if you want to show mobile specific content, page, section, row or element. So I'm going to select variable.

Select that score variable I created and say okay, see what the options are here. Right. If my score hits 10. So if the learner has answered both those questions right and increased that variable to a score of 10, then I'm going to show that hidden congratulations graphic.

If I select show hidden elements now in this drop down, it will have all the elements available in the course. And you can see that graphic element I'd already created. It tells me that it's hidden, so I know that's the right one [Pause]and then just create. And that's my global action setup.

So let's see it working in action. Let's preview the course. [Pause]Okay, so here's my mcq at the moment the score that variable is showing zero. It's not showing the congratulations message.

Let's answer the first one. Right. Let's check my score. Okay, great.

That's increased by 5 like I want it to. Let's answer the second one. Right [Pause]click submit. [Pause]And there we go.

My score has been updated. It's hit the value of 10 for that global action I set up that. It's now showing me the congratulations message. So that was a whistle stop tour of logic.

As I said, the possibilities are endless. And we know our users set up really complicated things. You could set up a whole role selector, so say at the start of the course, you could choose whether you're a manager or an employee and be shown content specific to your role. You could have all your content hidden.

That's kind of step revealed as you work through the course. You could have variables updating all over the place to track a learner's score in different ways. There's a huge amount you can do.