Designer 10.5 | webMethods BPM Task Development Help | Working with Task Notifications | Adding a Task Action Link to a Notification
 
Adding a Task Action Link to a Notification
You can configure the notification e-mail so that the My webMethods Server user receiving the notification can use it to interact with a task running in the Task Engine without requiring a connection to My webMethods Server. To do so, you must:
*Identify or set up a POP3 e-mail account that will be used to receive replies from the task notification.
*Configure the Task Engine to monitor this e-mail account for reply e-mails. For more information about the configuration and behavior of task notification reply e-mails, see the PDF publication webMethods Task Engine User’s Guide.
*Add a Task Action Link control to the notification interface and configure it to work with the correct e-mail account.
Note:
You can add multiple Task Action Links to your e-mail notification. Each link you include is constrained to a single action—although that action can be to execute a service that carries out a number of actions.
*To add a Task Action Link to the notification interface
1. In the Solutions view, expand Tasks > [TaskApplicationProjectName] >TaskName] > Task Notifications.
2. Open the task notification you want to work with in the editor.
3. In the editor, identify or create a container for the Task Action Link.
4. In the Palette view: MWS Html > Control > Task > Task Action Link.
5. Drag the Task Action Link control from the Palette view to the container in the editor.
6. Click the Task Action Link control in the editor and view its properties in the Properties view.
7. Define the following required properties:
*On the Display tab, type a value for the Label field. This defines the link text displayed in the notification e-mail sent to the subscriber.
*On the Email tab:
*Action—a binding expression that specifies a data flow action that will be executed when the e-mail link is activated. For example, you can create a data flow action for the notification page bean that updates several task data fields.
*Email—an e-mail address to which the e-mail response will be sent. This value can be an e-mail address or defined with a binding expression.
*Subject—the text to be displayed in the Subject line of the return e-mail. This value can be a text string or defined with a binding expression.
*Body—the text to be displayed in the body of the return e-mail. This value can be a text string or defined with a binding expression.
Note:
When you define the Action for the task action link, among the actions available to you is the ability to extract information from the return e-mail. For more information, see Extracting Data from a Task Notification Return E-mail.
8. Save your modifications.
Related Topics