ClearNotifications
You can use this function for Optiva workflows.
Purpose
When ClearNotifications is called from any action, it will clear the identified notification from the identified object.
           Note: There are optional parameters for symbol and object.
          
         Syntax
Public Function ClearNotifications(Optional objSymbol As String = “”, Optional objectKey As String = “”, Optional detailCode as String = “”) as Long
         Arguments
| Argument | Description | 
|---|---|
Optional objSymbol | 
              
                The data object type or the current object type if blank.  | 
             
Optional objectKey | 
              
                The data object key or the current object key if blank.  | 
             
detailCode | 
              
                The system detail code that is used to return the new row.  | 
             
Optional rowKey | 
              This is reserved for future use. | 
Clear Notifications Test Example
The following line of code with remove all the notifications from the current object.
ClearNotifications()
    Return 111