Skip to main content
June 14, 2022
Solved

Fact or Fiction? I can use global variables

  • June 14, 2022
  • 6 replies
  • 0 views

Statement:

I can use global variables.

Question Credit:  Peter Fugere

Is this statement fact or fiction? Comment your best guess below! Answers will be revealed in one week.

agoralewski_0-1655214473895.jpeg

 

* This question is applicable to Platform 7.3.0 and may not be relevant to future releases

 

Best answer by agoralewski

FACT!

You were all correct -- well done!!!

6 replies

June 14, 2022

FACT! I think. Through the BRApi dashboards functions.

June 14, 2022

Fact. Every business rule has a global object where you can store global variables.

June 14, 2022

Tim is correct, but you must enable the global functions under properties

Michel_Sabourin_0-1655243962889.png

 

 

July 8, 2022

This setting allows you to reference the business rule in a member formula. The globals object is always enabled.

June 15, 2022

Fact. Can be done in the following way:

Dim MyVariable As Integer = 5 (Can be done with other datatypes such as "String")

Globals.SetObject("DesiredGlobalVariableNameHere", MyVariable)

Globals.GetObject("DesiredGlobalVariableNameHere")

June 16, 2022

Fact... I think...

Change the settings under Variables?

#newbie

agoralewskiAuthorAnswer
June 21, 2022

FACT!

You were all correct -- well done!!!