Infopad access for defining a condition for a decision workstep
This section lists an example of infopad access to define a condition for a Decision workstep.
Partial code
The partial code for the rule defining the infopad is as follows:
application DecisionInfopad
module DecisionInfopad_rules
initialize{
DecInfopad := new infopad<cell{numVal:int}>[1][1]("DecInfopad");
}finalize{
discard(DecInfopad);
}
Then condition for a branch of Decision workstep can be written as:
QSInfopadService.getLongSlot("DecisionInfopad::DecisionInfopad_rules::
DecInfopad", 1, 1, "numVal") == 10