Maximum number of variables?

Apr 16, 2013

As the title says. Is there a maximum number of variables you can use in one story file?

We're locking down our course with a log-in on the first page. Each person gets an individual log in code.

Each log in then has an individual matching 'completion' code, which appears when the learner reaches the end of the assessment. They then have to email us their individual completion code which lets us know they have done the full course.

So that's a lot of codes and a lot of variables. I already flagged with my boss that I don't know how many the program can handle.
How many can it handle?

12 Replies
Fiona  Telford-Sharp

I thought I would answer my own question in case anyone else is interested in the answer.

We've entered 300 log in codes (ie 600 separate triggers to either show 'incorrect log in' or jump to the next slide).

And 300 linked completion codes, which show a code on one of 300 separate layers, according to 300 triggers which are dependent on the text entry of the log in codes. And it is all working perfectly.

Phil Mayor

Not sure you needed 300 layers for this, if you just need to show a completion code, I would set up a variable and set the value with a condition based on the login code, then just add a reference to that variable onto the slide.  Also I think you could get away with 301 on the login slide

Jump to slide if variable === (Your login codes) 300

Show layer (incorrect)

If you set them up in that order then you dont need any conditions on the show layer trigger

Of course without seeing your slides your way could be the most effficient

Fiona  Telford-Sharp

You're probably right Phil, I probably didn't need the incorrect triggers.Oh well. Fortunately for me I wasn't the poor person that spent an hour typing them all in.

With the layers, they just have a different completion code on each of them. We have a spreadsheet with the codes on them so we know which log in code we gave each customer, and which completion code they should therefore be sending us when they've finished.

Are you saying I could have had some sort of calculation to work it out? I was trying to avoid the possibility of people talking to each other and working out how to work out their completion code, so I wanted them to be random.

Sorry Doug, I don't understand your question. This is basically all a workaround because we don't want to go down the LMS route as yet.

Doug Brown

Hi Fiona

I was just wondering why you needed to input the 300 login codes. Don't the users enter the login code themselves?

If they did , then surely you could capture that as a single variable?. This could easily be outputed as an encripted completion code.

Anyway i was just trying to workout why you were doing so much coding.

Phil Mayor

Fiona Telford-Sharp said:

You're probably right Phil, I probably didn't need the incorrect triggers.Oh well. Fortunately for me I wasn't the poor person that spent an hour typing them all in.

With the layers, they just have a different completion code on each of them. We have a spreadsheet with the codes on them so we know which log in code we gave each customer, and which completion code they should therefore be sending us when they've finished.

Are you saying I could have had some sort of calculation to work it out? I was trying to avoid the possibility of people talking to each other and working out how to work out their completion code, so I wanted them to be random.

Sorry Doug, I don't understand your question. This is basically all a workaround because we don't want to go down the LMS route as yet.


If you set the login code using a variable you would just need one layer and 300 triggers to change variable on the layer

Basically adjust variable to ---- if login ==== ----

Then add a reference Completion code %****%

I dont think your way would cause any problems but 300 layers causes problems when you may need to change the text 

Christie Pollick

Hi, Sue -- Sorry to hear you are having an issue, but I agree with Phil: it's always a good idea to attach your .story file, or if privacy is an issue, a pared-down sample that illustrates the behavior you are seeing so that people in the community can take a closer look and make suggestions.

Please use the ADD ATTACHMENT button in the bottom left corner of the reply box in the thread, and you can browse for the file from there. Please also note that if you reply via email, your attachment will not appear here in the thread. Thanks! :)

Sue Rennoldson

Hi Phil and Christie, thank you so much for replying to my message. It looks like it was down to a problem with screen resolution on my monitor after all. I adjusted it and I get the whole list of variables in the dialogue box now. It's worth remembering if anyone reports this problem in future. To clarify, the drop-down list of variables in the trigger wizard for the 'Adjust Variable' trigger wasn't displaying the full list of variables. A scrolling panel displayed but not every variable was listed.

This discussion is closed. You can start a new discussion or contact Articulate Support.