Bug? Numeric variables in custom xAPI statements

Oct 21, 2022

Is this a bug or am I doing something wrong?

Using numeric user variables in custom xAPI statements gives an error within Storyline (see attachments 1 & 2) and forces them to be converted to Strings which gives an error in xAPI calls (see 3 & 4).

Manually removing the quotation marks (") (and related escape characters) in the published export (html5/data/js/xxxxxx.js) resolves the issue (see 5 & 6).

Was about to submit a bug report but just wanted to check I'm not doing something daft here?

Edit: included barebones project file

Thanks,
PJ

Pinned Reply
Kelly Auner

Hi, AVT Connect and Jurgen!

I have some exciting news to share! We just released another update for Storyline 360. In Update 82, we’ve included important fixes and new features.

One of the fixes we’ve included is:

You no longer need to add quotes to variable values in custom xAPI statements.

To take advantage of this update, launch the Articulate 360 desktop app on your computer and click the Update button next to Storyline 360. You'll find our step-by-step instructions here.

Please let me know if you need additional help!

4 Replies
Luciana Piazza

Hello PJ,

Thank you for opening a support case!

I see you are working with my colleague Cleo, who logged this behavior as a possible software bug where Storyline only accepts the variables if they are inside a String (quoted), instead of a number.

We are investigating the issue, and we will let you know once we have new information to share.

Hope that you have a great day and happy developing!☀️

Kelly Auner

Hi, AVT Connect and Jurgen!

I have some exciting news to share! We just released another update for Storyline 360. In Update 82, we’ve included important fixes and new features.

One of the fixes we’ve included is:

You no longer need to add quotes to variable values in custom xAPI statements.

To take advantage of this update, launch the Articulate 360 desktop app on your computer and click the Update button next to Storyline 360. You'll find our step-by-step instructions here.

Please let me know if you need additional help!