Two Operational Rules with a Dependency


Warning

Note:

A dependency is ALWAYS defined in the rule that follows another, that is, for the rule that is executed after a specified other rule.

The software distribution rule is already created therefore we only need to create the reboot rule as follows and add its dependency to the distribution rule:

  1. Click the Wizards > Operational Rule Creation oprules_createwizard.pngmenu item to call the Operational Rule Creation Wizard .
     The Operational Rule Creation Wizard is displayed on the screen and guides you through the individual steps required to create a new operational rule.
  2. Enter the name for the new operational rule into the respective field, for instance Device Reboot with User Confirmation into the Name field.
  3. Check the Add Dependencies option.
     The Dependencies wizard step in the left window bar has now become visible to indicate that this step needs to be defined
  4. Click Next to continue.
     You now reach the Steps window.
  5. Click Add Step step_plus.png.
     The Select a Step dialog appears.
  6. In the User Message Box box open the folder Tools and select step User Acknowledgement via Message Box .
  7. Click Add btn_add.png.
     The Properties dialog appears.
  8. Enter the following data in the respective boxes:
    • Stop Condition : select the The rule fails option.
    • Message Title : Firefox Distribution.
    • Message Text : Do you want to reboot now or later?
    • Validation Button Label : Now
    • Cancel Button Label : Later
    • Number of Retries : 20
    • Retry Interval (min) : 5
  9. Click OK to confirm and add the step to the list.
  10. Expand the folder Tools and select step Reboot Device .
  11. Click Add btn_add.png.
     The Properties dialog appears.
  12. No modifications are required here, therefore click OK directly to add the step to the list.
  13. Click OK again.
  14. Click Next to continue.
  15. Make the following changes in the Dependencies window:
    1. Click Add Dependency dependence_plus.pngabove the table.
       The Select an Operational Rule dialog appears.
    2. Select Your Package Distribution Rule .
    3. Click OK .
       The dialog closes and the Operational Rule is listed in the right window pane.
  16. Click Finish now to confirm all settings and finish this wizard.
  17. In the Confirmation dialog box, click No .

The reboot rule is now properly set up and you can assign both rules, the reboot and the software distribution rules to the target lists or reassign them if you modified them.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC Client Management 12.2