Creating Custom Modes of Notification with Notification Flows
  • 22 Dec 2020
  • 2 Minutes to read
  • Dark

Creating Custom Modes of Notification with Notification Flows

  • Dark


In Decisions, Designers can create a Notification Flow to deliver custom Notification alerts. Once a Notification Flow is created, it is added as a Notification Mode when configuring Notifications for a Folder in Decisions. The custom Notification Mode can perform similar functions to an Email or PopUp alert. 


This example covers how to create a Notification Flow that adds a Comment to a Folder when a Document is added and how to create a Notification that uses the Notification Flow as a Notification Mode

Obtain A Folder ID
This example uses a Folder ID to route the comment that is created with the Notification Flow to the correct Folder. To get the Folder ID, right-click the desired Designer Project and navigate to Manage > Get Designer Folder ID. When the window appears, use the Copy Text button to copy this Folder ID to the clipboard. 

  1. In the Designer Studio, navigate to System > Administration > Notifications > Notification Flows.
  2. Select the ADD PROCESSING FLOW button from the top Action Bar.
  3. In the Create Notification Flow window, provide a Name for the Notification Flow then click CREATE. This Flow will be built to attach a comment to a folder.
  4. From the Flow Designer, hover over the connected path and select the addition sign button to add a step to the Flow.
    1. ADD an AddComment step from Integrations > All Integrations > Internal Services > Comment
  5. The AddComment step is used to configure where the comment should be added (entityid) and what information the comment should contain (comment). 

    Select the AddComment step to navigate to its Properties tab.

    1.  Select the Edit Input Mappings link.

  6. Set the comment Input's mapping to Build Data, and the entityid Input to a Constant mapping. 

    1. Expand the Notification Message Input and map Subject to Comment Name and Text to Comment Description

    2. Paste the Folder ID of the Folder where the Notification will be applied into entityid. 

    3. Click OK to save the Mapping and return to the Flow Designer. 

  7. Save the Flow, then Close via X

  8. From the Designer Studio, navigate to the Designer Project that is associated with the Folder ID used in the Processing Flow. 

  9. Right-click the Designer Project and select Add > Setup > Notification To Me.

    The other Notification option can be used to configure multiple accounts or groups to receive the notification as well.

  10. Under NOTIFICATION INFORMATION, from the Notification Type dropdown, select Document Created

    Leave Is Enabled checked. 
  11. Select Flow by clicking the checkbox under Notification Modes, then check the Pre-Processing Flow box, and click the PICK PRE-PROCESSING FLOW button.

    1. Click PICK, choose the Processing Flow, then click the PICK button. 

    2. Click the ADD NOTIFICATION button. 

  12. Right-click the same Folder and navigate to Add > Entity > Document

    1. Drag in a sample Document, provide a Title and Description, then click ADD DOCUMENT

      Notice that the Document has been added to the Folder where the Folder ID was used as entityid in the Notification Flow. The comment that was configured will also appear in this list and if it is the selected line item, the details that were added to the upload appear in the panel on the right.

Was this article helpful?

What's Next