To Dynamically Set the Priority of a Notification Activity
2. Create a new activity attribute for the notification activity that you want to dynamically set a priority for. Select the notification activity in the navigator tree, then choose New Attribute from the Edit menu.
3. In the Attribute property page that appears, enter #PRIORITY in the Internal Name field (all uppercase with no spaces). When the Workflow Engine sees a notification activity attribute called #PRIORITY, it uses that attribute's value as the priority of that notification's message. If such an attribute does not exist or if its value is null, it uses the default priority defined in the message's property page.
4. Enter a Display Name. This is the name that appears in the navigator tree.
5. Enter an optional description.
7. For the Default Value, choose Item Attribute, then use the poplist field to choose the item type attribute that you defined in step 1.
Since this activity attribute references an item type attribute, its value can be dynamically set at runtime.
8. Choose Apply to save your changes, OK to save your changes and close the property page or Cancel to cancel your changes and close the property page.
See Also
Using the Edit Button in a Property Page