Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: PASDOC-1563

...

Syntax


Code Block
languagenone
set anotherValue = setting("aName", aValue);
set anotherValue = setting("aName", aValue, "password");


Semantics

The name-value pair can be overridden on the Bridge. It is found in the settings tab. There, the name of the setting is given by <action name>.<aName>.
That is, action name plus aName must be unique within one xUML service.

Sometimes, the setting macro is used to define passwords. In this case, there is a third parameter: the literal "password". It causes the Bridge to hide the value of this setting.
SubstitutablesaNameString literal.  
aValue A value of base type.
Examples

By default, y is assigned to x. However, on the Settings tab of the xUML service in the Bridge, the value of the variable name can be redefined.

Code Block
languagenone
set x = setting("My setting", "abcd");
set x = setting("My setting", y); 
set x = setting("My setting", "{{a_global_setting_variable}}");
set x = setting("My password setting", "secret", "password");


...