
The Contained Objects tab page appears.
Name
(Optional) Short Text
(Optional) Text
You can either choose Number or Probability mode.
In the number mode, a random number within a specified range is returned.
In the probability mode, the expression returns a Boolean true value, if the specified probability between 0 and 1 is met.
Select Number Mode
Choose Number from the Mode field.
Enter values in the Minimum and Maximum fields.
Select Probability Mode
Choose Probability from the Mode field.
Enter value between 0 and 1 in the Probability field.
The random number expression appears in the Object Manager panel.
If you choose Create , the random number expression appears under the Contained Objects tab.
A default data object is set automatically depending on the mode selected.
For number mode, a data object of type number is set whereas a data object of type Boolean is set for probability mode.
You can also assign a standard type, an existing data object or create a new data object as the result data object.
Select a Standard Type
Choose
.
In the context menu, choose Default Objects and choose the data object type.
There are two standard types, number and boolean, which are available depending on the mode you choose.
Select an Existing Data Object
Choose
.
In the context menu, choose Select... .
In the Object Query dialog box that appears, select the data object.
Create a New Data Object
Choose
.
In the context menu, choose Create... .
In the Object Creation dialog box that appears, create the data object.
For more information, see Creating Data Objects
Choose the Switch to Referencing Mode button.
The values present in the value field will be discarded when you switch to referencing mode.
The
icon replaces the value field.
Select an existing expression or create a new expression.
Select Other Context Parameters
Choose
.
In the context menu, choose Other Context Parameters... .
In the Context Query dialog box that appears, select the data object.
Select an Existing Expression
Choose
.
In the context menu, choose Expressions... .
In the Object Query dialog box that appears, select the expression.
Create an Expression
Choose
.
In the context menu, choose Create Expression... .
In the Object Creation dialog box that appears, create the expression.
For more information, see Creating Expressions