Skip to content
Sahi Pro Flowcharts is retired. These pages document the last release (v12) and are no longer updated. Go to the current documentation.Flowcharts is retired. Current docs
Get Free Trial
Sahi Pro Flowcharts is retired. These pages document the last release (v12) and are no longer updated. Go to the current documentation.

Callbacks

Callbacks are user-defined keywords that are automatically executed at various points of the path life cycle.

  1. On Path End
    • It is called at the end of a path (even if there are errors in the path and the path stops in the middle).
  2. On Path Error
    • It is called whenever an error occurs in the path.
  3. On Path Failure
    • It is called whenever an assertion failure occurs in the path.

Applied to all paths across all flowcharts in the project.

  1. Click on the dropdown arrow to the right of Run button and choose Callbacks.

  2. This will open up the Callbacks dialog.

    Callbacks

  3. Attach the necessary callbacks keywords in the dialog. Click on Save.

Applied to all paths within a specific flowchart.

  1. Click on the dropdown arrow to the right of Run button and choose Callbacks.

  2. This will open up the Callbacks dialog.

    Callbacks

  3. Attach the necessary callbacks keywords in the dialog. Click on Save.

Applied to a specific path.

  1. In the Table View dialog, navigate to the Truth Table View or Execution Order, then click on the Edit button under callbacks column.

    Table View

  2. This will open up the Callbacks dialog.

    Callbacks

  3. Attach the necessary callbacks keywords in the dialog. Click on Save.