event 16 November, 2016

Flow control xblock – A multi unit conditional module for open edX

The Flow Control Xblock provides a way to display the content of a unit or to redirect the user elsewhere based on compliance with a condition that evaluates the submission or the score of a problem or a set of problems.

Flow Control can be used whenever you need to control the available course content based on grades obtained by a student, on one or more evaluated problems in the course. Also, it is possible to check if those problems have been answered or not. Some common uses cases are:

  • Only allow the learner to see unit B when a problem in unit A has been answered, otherwise displaying a explanatory message.
  • Only allow the learner to see unit B when a problem in unit A has been answered, otherwise redirecting to unit A.
  • Only allow the learner to see unit B when a problem in unit A has scored above a certain threshold.
  • Present further explanatory content to learners that did not answer correctly a certain problem, while redirecting to the next unit learners that did answer correcly.
  • Display a message congratulating the learner for passing an exam, or a message notifying the exam wasn’t passed.
  • Display a message notifying the learner that some of the exam’s questions have not been answered yet.
  • Used in combination with the subsection prerequites feature to better explain the learners why certain subsections will or will not be made available to them.

Its features include:

Studio editable settings: Allows to select the conditions and operators to evaluate and the actions to apply in a particular unit.

Condition types: Currently, the xblock features evaluating the score of a single problem and the average score of a list of problems.

Condition operators: The implemented operators are:

  • Equals
  • Not equal to
  • Greather than
  • Greather than or equal to
  • Less than
  • Less than or equal to
  • Is empty
  • Is not empty
  • Has empty

Actions: This actions can be applied when a condition is met:

  • Display a message
  • Redirect to another unit in the same subsection (without reloading the page)
  • Redirect to another unit using jump_to_id (reloading the page)
  • Redirect to a given url

WYSIWYG editor: A simple to use HTML editor to simplify writing the content or message that learners will get if the condition is met.

This xblock has been designed and developed by eduNEXT and has been presented at the open edX 2016 conference at Stanford University.

You can find it in GitHub at https://github.com/eduNEXT/flow-control-xblock

 About the Flow Control Xblock:

Ready to take your online learning to the next step?

Open edX Software as a service subscriptions

Get started with eduNEXT’s Open edX as a service subscriptions. You can always start small and adapt your platform in several ways as you grow.

Consulting services

Get our team of open edX experts to work on your online learning infrastructure, custom developments, custom theming, mobile apps, or training for your staff.