After creating the policy, use the following steps to add activities and connect them to construct the event workflow:
1.Stop the My_Situation situation that you created. To stop a situation, do the following:
a.In the Navigation tree, right-click the managed system (under the agent) with which you associated the situation and click Manage Situations.
b.Select the situation and click .
2.In the Workflow editor, click Wait until a situation is True in the General activities tab of the Workflow components frame.
3.Click inside the Grapher view to place the activity icon. The Select a situation window is displayed.
4.Select the My_Situation situation.
5.Click OK. The activity icon with the name of the situation is displayed in the Grapher view.
6.Click Start/Stop a situation and click in the Grapher view.
7.Select My_Situation2 from the list of situations and click OK. Leave Start selected by default.
8.Click Wait until a Situation is True in the Grapher view.
9.Click the arrow (the Connect tool) in the General activities tab of the Workflow components frame to draw connecting lines to direct the workflow.
10.Click the Wait until a situation is True activity and then click Start/Stop a situation. The Select a Link condition window is displayed with a list of possible conditions that will run the next activity.
11.Select Situation is true from the Select a link condition window and click OK.
12.Click Apply.