Using Global Variables in RPA Express

How to define a global variable with a default value for a Business Process that can be used anywhere and changed when needed while designing the process?

1 Like

@ankita_gandhi @narendra_purus
Yes, you can use global variables in a bot task RPA Express Control Tower.

To do it:

  • open the bot task in the business process for editing
  • define the variable you use in the bot task through global variable
    example:
<var-def name="new_var">
     <var-global name="NOSTRO_FULLFILENAME">
<var-def>

<script><![CDATA[
          log.warn(new_var.toString());
]]></script>

The created Global variable can be later used in other bot tasks.