Globals

Learn more about global variables of the Digibee Platform.

J
Written by Júlio César
Updated over a week ago

IMPORTANT: This documentation has been discontinued. Read the updated Globals documentation on our new documentation portal.

Globals are designed to support and speed up the development of pipelines, by creating global variables that allow using the same parameters in different initiatives, reusing the same information. It optimizes the work time in the development of projects and allows information sharing among users.

Maintainability is also improved, allowing to change the parameters used by a set of pipelines by only changing the value of the global.

How to create a global

Follow the next steps to create a global:

  1. Sign in to the Digibee Platform;

  2. Click the “Administration” icon;

  3. Enter the menu option “Globals”;

  4. Click the + CREATE button in the upper right corner;

  5. Fill out the form with the following information:

    • Category: Used to group globals by category.

    • Field: Global name that will be referenced in the pipeline.

    • Description: Text that describes what is the global being created.

    • Test: Global's value in the test environment.

    • Prod: Global's value in the production environment.

    Note: If there are other environments in your realm they will also be listed.]

  6. After filling in this information, click CONFIRM in the lower right corner.

After performing these steps, the global will be successfully created.

IMPORTANT: There is no encryption method in the globals, so the data used can be viewed by other users with access to the screen. If you need to store encrypted data, please use Accounts.

How to edit a global

Follow the next steps to edit a global:

  1. Sign in to the Digibee Platform;

  2. Click the “Administration” icon;

  3. Enter the menu option “Globals”;

  4. Search for the global in the search bar;

  5. Click the “pencil” icon “Edit global”;

  6. After editing the information, click CONFIRM in the lower right corner.

After performing these steps, the global will be successfully edited.

How to delete a global

Follow the next steps to delete a global:

  1. Sign in to the Digibee Platform;

  2. Click the “Administration” icon;

  3. Enter the menu option “Globals”;

  4. Search for the global in the search bar;

  5. Click the “trash” icon to “ delete global”;

  6. A confirmation dialog will appear. Click CONFIRM.

After performing these steps, the global will be successfully removed.

How to use globals

The globals can be used as follows:

The Intellisense automatically detects the fields that can use globals as a parameter and display them next to the component configuration by clicking the desired global.

You can also reference a global directly from its expression. Just type {{global.GlobalName}} replacing it by the name of the desired global.

Did this answer your question?