There are too many actions performing iterative calls



Summary

When using circular dependencies in Test and Development environments, there is a key which activates warnings when calls iterative are done in a short period of time. The purpose of this warning is to avoid infinite loops between client and server.

This problem does not appear in Production environment.

The circular references we are talking about in the above paragraph refers to actions that communicate with the Server, for instance refresh or refresh-in-a-grid-cell or submits data. If you make calls iterative in a short period of time the alert message will be shown to avoid infinite loops between client and Server.

Applies to

Bizagi Studio 11.x

Symptoms

When running an action type “when changes” on a Boolean attribute, if the user manually changes the Boolean attributes from YES to NO too fast (loop), an error message like the following is displayed in the work portal:

Example 1:

 

Example 2:

 

Cause

The key bizagi.override.detectCircularDependencies is activated showing the above warning message.

Solution

The warning messages can be disabled following these two simple steps:

  1. Locate the bizagi.workportal.desktop.overrides.js file located in C:\Bizagi\Projects\[ProjectName]\WebApplication\jquery\overrides\js\desktop
  2. Add the following key to the file:
    Bizagi.override.detectCircularDependencies = false;
Save and close the file.

Run the project again and test if the issue is now solved.