Skip to content

Vandeabdou/expressions

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RapidPro Expressions

RapidPro messages and flows can contain expressions which are evaluated at runtime. These come in two flavors: simple and advanced.

Simple Syntax

This is used to embed single values, e.g.

Hi @contact, you entered @flow.age for age. Is this correct?

Advanced Syntax

This is used to build more complex expressions using similar syntax to Excel formulae, e.g.

Hi @(PROPER(contact)), you are @(YEAR(NOW()) - flow.year_born) years old. Is this correct?

About

Expression parsing and evaluation support

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 49.1%
  • Python 44.0%
  • JavaScript 5.5%
  • Other 1.4%