• 1Installation
  • 2Preliminary Knowledge
  • 3FlowScript
  • 4Flow Func Signature
  • 5Variable Assignment
  • 6Function Invocation
  • 7Return Statement
  • 8If Block
  • 9For Block
  • 10While Block
  • 11Break and Continue
  • 12Switch Block
  • 13Recursion
  • 14Flow Debug

Flow.apex

  • Docs
  • Tutorials
Getting started with Flow.apex

FlowScript

Flow.apex has a built-in FlowScript to run Funcs dynamically.

Previously, we run R.product like this:

Object result = R.product.runN(new List{ 1, 2, 3, 4});
// Generate 24 from 1 * 2 * 3 * 4

Now with FlowScript, we have:

Object result = Flow.eval('product(1, 2, 3, 4)');
// Generate 24 from 1 * 2 * 3 * 4

FlowScript makes invocations of Funcs more natural.

Done