Unsupported content

 

This version of the product is in limited support. However, the documentation is available for your convenience. You will not be able to leave comments.

Creating an Operational Rule

In this task you create your first operational rule: First it should display a message box asking the user if he wants to launch the calculator. If he clicks Yes in the message box, the calculator is launched; if he clicks No, the operational rule is terminated.

For this operational rule you need to add two steps: one for the message box and one for launching the calculator. 

To create the operational rule proceed as follows:

  1. Click the Wizards > Operational Rule Creation menu item.
    The Operational Rule Creation Wizard dialog box appears.
  2. In the Name text box enter Launch Calculator and click Next.
  3. In the Steps view click Add Step .
    The Select a Step dialog box appears.
  4. In the Available Steps group box select User Message Box > Advanced Message Box and click Add .
    The Properties dialog box appears.
  5. Fill in the following text boxes:
    • Message Title: Launch Calculator
    • Message Text: Do you want to launch the calculator?
    • Validation Button Label: Yes
    • Cancel Button Label: No
  6. From the Stop Condition list select The rule fails.

    With this selection the operational rule is stopped if you click No and the next step, launching the calculator, is blocked.

  7. Click OK to confirm the step.
    The dialog closes and the step is listed in the right group box.
  8. In the Available Steps group box select Process Management > Execute Program and click Add .
    The Properties dialog box appears.
  9. In the Executable Path text box enter the path to the calculator on your device. If you have a Windows operating system, the path is by default C:/Windows/System32/calc.exe.
  10. Click OK to confirm the step.
    The dialog closes and the step is listed in the right group box under the first step.
  11. Click OK to add the two steps to the operational rule.
  12. Click Finish to create the new operational rule.
    The Confirmation dialog box appears.
  13. Click Yes to distribute the operational rule and continue with the distribution wizard.

You just successfully created your first operational rule which includes two steps. In the next step you will distribute it to a device.

This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

Comments