Since Creatio 8.0 Atlas, Creatio adds the required dependencies automatically for elements created or modified using Freedom UI Designer. I. e., you can use the functionality of all app packages when working with Freedom UI pages, sections, objects, business processes, web services, and configuration elements. This makes no-code development easy and comfortable for users.
A cyclic dependency is a dependency that occurs when the same package is dependent on the current package and is part of a index of packages on which the current package depends directly or via a dependency chain. Cyclic dependency chains lead to app runtime errors.
Consider an app with A, B, and C packages where the B package depends on the A package, and the C package depends on the B package. Using an element of the C package in the A or B package the C package to be their dependency. Creatio will not execute an operation with such a requirement since it will cause a cyclic chain (Fig. 1).

Using apps that have cyclic dependencies can cause Creatio runtime issues. To avoid this, Creatio checks the app elements used and dependencies configured while saving the app changes. If cyclic dependency chains are detected as part of the check-up, Creatio saves the changes but does not save new package dependencies. You will receive a recommendation to check and fix the dependencies configured. The notification will contain more information about the error as well (Fig. 2):
- Source is a part of the schema that refers to the error-causing element.
- Reference is a name of the element that causes the error.
- Package is a name of the package that contains the element.

We recommend fixing cyclic dependencies before you configure the app further to ensure its operability.
Cyclic chain examples
This section covers several example solutions that cause cyclic chain errors.

Prevent cyclic chains
To avoid cyclic chains, we recommend the following:
- If you configure an app using elements from another app, mind the app's resulting dependencies. Transfer both apps into a different environment to the app works as intended.
- Only save the improvements that the app uses to the app package. After creating an app but before setting it up, find its package and change the default package. To change the default package:
- Click
in the top right → “System setup” → “System settings.”
- Select the “Current package” (“CurrentPackageId” code) system setting.
- Make sure that the package name from the Advanced settings tab in the Application Hub matches the package name in the Default value field. If a different package is specified, change it to the app package and save the changes.
Resolve the cyclic chain issue
View examples that resolve the cyclic chain issue in the table below.
|
|
---|---|
If you use the wrong elements by mistake, which caused a cyclic chain, you can delete them or replace them with new elements that do not cause a cyclic chain. After that, save the changes to readd the dependencies. Objects or business processes that use methods and Script task element cannot be published before you eliminate the cyclic chain issue. |
The Read data business process element reads a redundant column or uses it in filtering conditions. To eliminate the cyclic chain, simply delete the column and save the business process. |
If the elements that cause a cyclic chain are not critical to the app operation or you made the changes by mistake, simply revert the changes to eliminate all newly introduced cyclic chains. | You replaced the UsrObject object both in the “UserApplication” app package and the Custom package. The Column object column created in the Custom package has a different Name property in the “UserApplication” package. Since you made the changes in the dependent package, this caused a cyclic chain. To eliminate it, simply return the property to its original state and save the updated object. |
If you cannot edit or delete the elements that caused a cyclic chain, move them:
Learn more in a different section: Move the functionality between packages. |
A cyclic chain was made when you used the UsrLookup lookup of the Custom package in the “UserApplication” app. The lookup is the data source for the UsrEntity object’s lookup column. To fix the error, move the UsrLookup lookup to the “UserApplication” app package. |