Availability of global variables

Good afternoon.

Please tell me why global variables declared on the main page (Main) are not available in the local context? For example, the ReFrame Work template global variable BusinessRuleException is not available in Process.xaml.

My task when receiving incorrect data in Process.xaml is to set a business exception.

Pass a BusinessRuleException as an input argument to Process.xaml?

Thanks.

Usually you should create a new BusinessruleException with a Throw activity. No need to make the exception variable available through in/out arguments to the single xaml file.

1 Like

Thanx!

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.