Creating or Modifying Message-Based Automation Policies
Automation policies may use an internal Notification Server message as a trigger. The messages that are available for this purpose are predefined. These messages relate to Notification Server events such as resources being discovered, created, or deleted, new computers being discovered, or Notification Server services being started. Solutions may make additional solution-specific messages available. When an automation policy is triggered, the appropriate actions are run immediately. You cannot configure an automation policy to run at a later time after it has been triggered.
- To create or modify a message-based automation policy
- In the Symantec Management Console, on theManagemenu, clickAutomation Policies.
- On theAutomation Policiespage, on theSystem Messagestab, do one of the following:To create a new policy
- ClickNew Policy.
- In theAutomation Policy Namedialog, type the new policy name, and then clickOK.
To modify an existing policyIn the left pane, select the appropriate policy. - (Optional) In the right pane, edit the policy name and description by clicking the appropriate fields and typing the new details.
- In theNS Messagedrop-down list, select the message that you want to use.Show all messagesLets you view and select all system messages.Note that the list also includes the system messages that are initially not intended for using in the policies.Apply message filterLets you trigger the automation policy only if it receives a message that matches the rule(s) that you specify.For more information about applying and configuring filters for the NS Messages, see the following knowledge base article:
- In theDetailspanel, underData Source, specify the data source to use.
- UnderConditions, in theEvaluation Ruledrop-down list, select the appropriate evaluation rule:Run for non-empty dataTreats the data source table as a single unit. When the policy is triggered, the action is run only if the table contains one or more rows, and is run once only.You need to use this option if the data source contains information in an HTML file rather than a table.This option lets you target everything in a single column, such as a list of GUIDs. You cannot set dynamic parameters to distinguish targeted computers. If you want to do that, you must use the Run for each record option.Run for each recordEvaluates the data source table row by row, which lets you use fields per row as dynamic parameters for the specified actions. The action is run once for each row.Message processingEvaluates the data source message text and uses the appropriate parameters in the specified actions.This option is available only when a message data source is used.Run alwaysRuns the specified actions without using a data source.This option is available only when no data source is specified.
- UnderActions, specify the task or job to run, and set any required input parameters.
- ClickSave Changesto save the policy settings.
- (Optional) If you want to ensure that all of the policy components are consistent and that the input parameters are mapped properly, clickTest Automation Policy.The test is an internal check only and does not affect any resources.