Applies to: Email notifications and console notifications
To allow users to initiate actions directly from alert email notifications, you can include in action token as a placeholder in the email notifications. You can associate a predefined report or workflow with the action token. You can also associate a custom report or workflow.
For example, to allow users to resubmit failed jobs directly from failed job email notifications, you can add the placeholder text “Resubmit the job.” in the email notification, and you can associate a job resubmission action to the text. The “Resubmit the job.” text in the email notification links to a custom job resubmission workflow.
Before You Begin
-
Identify or create a report or a workflow that you want to run when the user clicks the action token in the email notification.
For information about reports, see Reports Overview.
For information about workflows, see Workflow: Overview.
-
Enable local identity management.
-
On the Home tab, go to Control Panel > Identity Management.
The Identity Management dialog box appears.
-
Click Local Identity Management.
-
Select Enable, and then click OK.
-
Procedure
-
From the CommCell Console ribbon, on the Home tab, click Alert.
The Alerts dialog box appears.
-
Select the alert, and then click Edit.
The Modify Alert Wizard dialog box appears.
-
In the left pane, select Notification Type(s) Selection.
-
Select a notification type that supports action tokens:
-
On the Email > Regular tab, select the Select [Email] for notification check box, and then click HTML.
-
On the Console Alerts > Regular tab, select the Select [Console Alerts] for notification check box, and then click HTML.
-
-
In the body of the notification, click where you want to add the token, and then enter the placeholder text as follows:
-
To add predefined tokens, select the token from the token list, and then click Add Token.
For descriptions of the tokens, see Available Alert Tokens.
-
To add your own text, type the text.
For example, you can type Maintenance.
-
-
Right-click the placeholder text, and then click Action.
The Select Action For Regular Notification dialog box appears.
-
Select the Select [Action] for notification check box.
-
To select a report as the action in the notification:
-
Click Report.
-
Select a report from the Report to run list.
-
-
To select a workflow as the action in the notification:
-
Click Workflow.
-
From the Workflow to run list, select a workflow.
A table with Name, Value and Type columns appears. The Name and Type columns are populated with inputs that are defined in the workflow. In the Value column, inputs that are defined in the workflow and available alert tokens are listed.
For the list of available tokens, see Available Alert Tokens.
-
In the Value column, select a value for the workflow input from the list, or type a value for the input.
-
From the Run workflow on list, select a workflow engine to run the workflow:
-
To run the workflow using a specific engine, select that engine.
-
To run the workflow using the engine with the latest deployed version of the workflow, click Any.
-
-
-
Click OK.
-
Click Finish.
Note
-
To modify the action token information later, select the placeholder text, right-click, and then click Action.
-
To remove the action token from HTML alert notifications, set the nEntityClickableInAlertEnabled additional setting to 0. For instructions about adding an additional setting from the CommCell Console, see Adding an Additional Setting from the CommCell Console.
-
Result
The alert notification contains the placeholder text that links to the report or the workflow as configured in the action token. When the user clicks the link, the Web Console logon page appears. After the user logs on, the workflow or the report runs.