Dashboard > GreenPepper Seeds > Home > Sharing variables between Rule For tables
  GreenPepper Seeds Log In View a printable version of the current page.  
  Sharing variables between Rule For tables
Added by Francois Denommee, last edited by Francois Denommee on Mar 04, 2008
Labels: 
(None)

 GreenPepperAnonymous access is denied. You must log in to use GreenPepper.

Only available in GreenPepper 1.3.1 and higher

Why ?

Variables sharing could be useful when you want to save datas from a Rule For table to use them in another Rule For table.

How ?

To save data

  1. Add the symbol "=" at the end of the column you want to save data from.
  2. Put a variable name on each cell corresponding of the column to save.
Rule For Calculator
x y sum?=
5 6 myVariable (equivalent of myVariable = 5 + 6)
1 2 myOtherVariable (equivalent of myOtherVariable = 1 + 2)
4 6   (equivalent of 4 + 6)

To call saved data

  1. Add the symbol "=" at the begining of the column you want to call data in.
  2. Put the variable name you want to call back on each cell of the corresponding column.
Rule For Calculator
=x y sum?=
myVariable 3 otherVar (equivalent of otherVar = 11 + 3)
myOtherVariable 1   (equivalent of 3 + 1)
otherVar 4   (equivalent of 14 + 4)

DEMONSTRATION LICENSE - This Confluence site is for demonstration purposes only. Evaluate Confluence today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.4.3 Build:#705 Mar 21, 2007) - Bug/feature request - Contact Administrators