Specifications
Choice Statement
transaction "AddEmployee"
module "AddEmployee"
{
choice
{
sequence # Manually enter employee data
{
event "Event A1" Windows SetFocus { Title="Enter Employee Data" }
event "Event A2" Windows MenuCommand { Text="Record->Save" }
event "Event A3" Windows StatusMessage { Text="Record Saved" }
}
sequence # Import employee data from a file
{
event "Event B1" Windows SetFocus { Title="Import Employee Record" }
event "Event B2" Windows MenuCommand { Text="Record->Save" }
event "Event B3" Windows StatusMessage { Text="Record Imported" }
}
}
}
In the following example of a PeopleSoft rule set, the first choice statement is
matched if either of the PeopleSoft processes have started, and the second
choice statement is matched if either of the PeopleSoft processes have
stopped.
resources
{
require one
{
resource Process { ExecutableName="pstools" }
resource Process { ExecutableName="pside" }
resource Process { ExecutableName="pstores" }
resource Process { ExecutableName="PSQED" }
}
additional
{
resource Windows { }
resource Connection { }
resource Process { ExecutableName="SQRW" }
resource Process { ExecutableName="PSCRRUN" }
}
}
transaction "Report"
module "Report"
{
event "Begin" Windows SetTitle { Title=contains:"CONCORD\\" }
BT Language Reference 167










