Globebyte Documentation
  • AI Agents for Learning
  • Assess for Learning
    • Creating the Assess Connected App
    • Setting up Assess for Learning
    • Viewing Assessments
    • Assessment Outcomes & Validation
    • Marking
    • Best Practices
  • Tutor for Learning
    • Setting up Tutor
    • Agent Actions
      • Tutor_Mark
      • Tutor_Task
      • Tutor_Criterion
      • Tutor_SenseMaking
      • Tutor_Instruction
    • Topics
      • Tutor_Assessment
      • Tutor_Knowledge
  • Data for Learning
  • Actions for Learning
    • Creating the xAPI Actions Connected App
    • Setting up xAPI Actions
    • Creating your first xAPI Action Flow
    • xAPI Statement Data explorer
      • Metadata
      • xapiActor
      • xapiVerb
        • Verb reference
      • xapiObject
      • authority
      • xapiResult
      • xapiContext
    • Filtering xAPI Statements
    • Viewing xAPI Statements
    • Viewing xAPI Usage
    • Setting a default statement language
    • Error messages and troubleshooting
  • Experience for Learning
    • Setting up xAPI for Salesforce
    • Send xAPI from a Flow
    • Form Action fields
    • Send xAPI from Apex
    • xApiStatement Class reference
      • Actor
      • Verb
      • Object
      • Context
      • Result
      • Authority
      • Version
      • Send methods
    • Logging and defaults
  • Learning Journey Model
    • Introduction
    • Curriculums & Pathways
    • Courses & Modules
    • Pedagogies & Objectives
    • Rubrics & Criteria
    • Learning Resources
    • Assessments & Tasks
    • Learning Groups
    • Step-by-step working example
    • Activity Tracking (Advanced)
    • Additional Pedagogies Reference
    • Best Practices
    • Assess for Learning Integration
    • Data for Learning Integration
    • Object References
      • Learning Curriculum
      • Learning Pathway
      • Learning Course
      • Learning Module
      • Learning Pedagogy
      • Learning Objective
      • Learning Objective Assignment
      • Learning Rubric
      • Learning Rubric Criterion
      • Learning Rubric Model Solution
      • Learning Resource Type
      • Learning Resource
      • Learning Assessment
      • Learning Text Task
      • Learner Text Attempt
      • Learner Text Criterion Score
      • Learning Choice Task
      • Learner Choice Attempt
      • Learner Mark
      • Learning Group
      • Learner Group Membership
      • Learner Activity
      • Learner Activity Instance
      • Learner XAPIStatement
      • Developer Cheat Sheet: Key LDM Objects
  • Globebyte.com
Powered by GitBook
On this page
  1. Actions for Learning

Filtering xAPI Statements

PreviousxapiContextNextViewing xAPI Statements

Last updated 8 months ago

You can define two xAPI Statement Filters on the Setup page of xAPI Actions.

The filters are used to tell xAPI Actions which statements you want to pass to yout xAPI Flow Handler. If you don't define any filters, all xAPI statements will invoke you handler.

If you add two filters, the inbound statement must match both conditions to be passed to your xAPI Flow Handler.

Example Filter

  • The Statement Path: for example verb.display.en-GB

  • The Operator: for example "Equal to"

  • The Value: for example attended

In this xAPI statement filter example, you define specific criteria to filter xAPI statements based on a path, operator, and value. The Statement Path is expressed in dot-notation format, such as verb.display.en-GB, which points to the exact element within the xAPI statement that you want to filter. The Operator allows you to set the condition for filtering, with options like "Equal to," "Not equal to," "Greater than," or "Less than," depending on your needs. Finally, the Value represents the target value you want to match, such as attended, ensuring that only statements meeting this criteria are included in the filtered results.

On completion Save the setup to apply the filter configuration. Remember that the 3 required fields for each filter must contain a valid entry or a general error will be returned on save.

To remove a filter you will need to manually delete any entered data from the 2 required input fields and reset the "Operator" dropdown selection to the default value of "Select". You will then need to Save the setup to apply the change.

Why are filters useful?

By carefully selecting which xAPI statements to include, you can enhance the quality, relevance, and also manage your Salesforce governor limits better.