Events Viewer

◷ Reading Time: 3 minutes

You can use the event viewer in FlexRule Designer to see the step-by-step process of executed logic.

As the first step, run your project.
You can use the options, Run, Run with JSON Composer, or Logic Run Template. You will not see the events if you choose to debug.

Once you finish the execution, events can be seen under the Parameters window.

If you click on $events and then click on the Data Viewer, it will open the Events Viewer window.

Event Viewer shows a detailed view of the logic execution.

  1. Name of the node in a flow
  2. The linked file name of the node
  3. The time it took to run the node in milliseconds
  4. Passed rules
  5. The action that took upon a passed rule
  6. If a rule with multiple expressions failed, the expressions that passed can be seen.
  7. Failed rules

Search for Events

Type the phrase you want to search and click on “Find and Mark” to mark the search results.

You can search for multiple terms.
To remove a search, type the searched phrase and click on “Remove a Mark”.

And, to mark a result, “Toggle Node Mark” can be used

If you want to search for a phrase in the project, go to Edit –> Find and enter the phrase.

Analyze Event Log

You can use the event log for further analysis of your project performance.

Once you have the events marked, you can find the following information on their durations.

  • Average: Average duration
  • Sum: Sum of duration
  • Slowest: The longest execution time
  • Fastest: The fastest execution time

In the below example, it recorded the duration values as follows.

  • Average: 4.503
  • Sum: 27.017
  • Slowest: 8.958
  • Fastest: 0.942

Export Event Log

The event log can also be saved as an Excel spreadsheet.

All the event details (i.e. level, name, type, duration, and result) can be saved as follows.

Updated on April 7, 2022

Was this article helpful?

Related Articles