Uploaded image for project: 'CQL Issue Tracker'
  1. CQL Issue Tracker
  2. CQLIT-171

Randomly pick an element from a list in CQL

XMLWordPrintable

    • Icon: Question Question
    • Resolution: Done
    • Icon: Moderate Moderate
    • None

      Hi,

      Suppose that I have a list with only 2 encounters and I would like to randomly pick one of them, does CQL provide any shuffling or rand functions that allow me to do so? Thank you very much.

      TT

            bryn_rhodes Bryn Rhodes
            tthai4@bwh.harvard.edu Tien Thai
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: