General

Get variables using Get Variable block

Get variables in Centrldesk

The Get Variable block is used to work with variables.

If the variable is set, it can be used in all subsequent blocks connected in the flow by using Get Variable block.

Example:

library-general-getvariable-example-1

A Form, a Custom Logic and a Confirm block in the flow editor are connected. In the form Block a Input text field 'Contractor' is configured. Open the Custom Logic block by clicking Edit.

library-general-getvariable-example-2

Create a new Set Variable block in the Custom Logic block with the name 'MyVariable'. Connect the Input text field 'Contractor' to the variable. Close the Custom Logic block. Open the Confirm block.

library-general-getvariable-example-3

Create a new Get Variable block in the Confirm block.The variable can be used across blocks if the blocks are connected.

Result:

Cross-block use of variables.

Tips and best practices:

Variables are useful tools to use data such as texts or numbers across blocks. Variable names must be identical.

Library:

General

Similar posts

Subscribe to our newsletter

Stay up to date on upcoming news and topics of creating web apps without code.