VariableChangeValue

From RunaWFE
Revision as of 06:37, 23 November 2020 by WikiSysop (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Changing process variables during execution

RunaWFE Free Workflow System (BPMS) Version 4.5.0

© 2003 - 2015, Consulting Group Runa

© 2015 - 2024, "Process Technologies" Ltd, this document is available under GNU FDL license. RunaWFE Free is an open source system distributed under a LGPL license (http://www.gnu.org/licenses/lgpl.html).

# Configuration

Business process variables values edition is available

Note. By default (or if this setting is missing in wfe.custom.system.properties) this value set to false, and this feature is turned off.

Use The rule of overriding settings in properties files

# Updating process instance variables values

If the feature is available for current user "Update value" link is visible on business process instance page.


VarChVal1.png


This link leads to a page with business process variables information where current variables values can be changed.


VarChVal2.png

The variable can be chosen with the help of combobox.


VarChVal3.png

The chosen variable script name and the current value are displayed in the table.

To enter new variable value use cell in "New value" row.


VarChVal4.png


It's also possible to set new value to NULL. Use corresponding checkbox to do so.


VarChVal5.png


After entering new value (or setting it to NULL), click "Update variable value" button.

All events of variables values updates are logged in business process instance history. In this log you can see when and by whom variable value was changed as well as old and new variable values.


VarChVal6.png


This feature is very useful during complicated business process development. It allows the Administrator to change "wrong" values without stopping and restarting the process instance and to see if the process works as expected.