Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Evaluators

...

Creating Evaluators

Evaluators are Java classes, which can be used to verify whether the given condition in a workflow evaluates to true or false. For more information on Evaluators, refer Library JSON. Anchor_GoBack_GoBack

To create an evaluator, perform the following steps in Canvas Studio:

  1. On the home page of Canvas Studio, click Request Category.

...


  1. Image Added

    The Request Category page appears.

...


  1. Image Added

  2. Click Evaluators tab.

...


  1. Image Added

    The list of evaluators appears with their respective IDs, Names and Is Group values.

...


  1. Image Added

  2. Click Evaluator option Image Removed Image Added to create a new evaluator.

...


  1. Image Added

    The Evaluator page appears.

...


  1. Image Added

  2. Enter a unique name in the Evaluator ID field, e.g. equals.

...


  1. Image Added

  2. Enter an appropriate name in the Evaluator Name field, e.g. equals.

  3. Enter the relevant class name in Evaluator Class field, e.g. com.intellectdesign.canvas.rules.impl.EqualsEvaluator.

    Note
    titleNote

...

  1. The Evaluator Class Name should be appropriate and relevant. It is not possible to derive the classes of the previously existing evaluators.

...


  1. Image Added

  2. To enable grouping for the evaluator, select the Is Group? Checkbox.

    Note
    titleNote

...

  1. The Is Group? Checkbox is an optional field.

...


  1. Image Added

  2. Click Save to save the newly created evaluator.

...


  1. Image Added

    A confirmation message, indicating a successful save, appears.

    Image Modified

  2. Click Ok.