Notify users on process blocking/deblocking
  • 10 May 2024
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

Notify users on process blocking/deblocking

  • Dark
    Light
  • PDF

Article Summary

Overview

After installing the Corezoid, you need to create and configure a process that sends notifications on processes blocking/unblocking

Block/unblock users

The feature to block/unblock users is available only for super admins. A notification can be sent to an affected Process owner or another person.

An object with the following parameters is sent to the Process:

  • blocked_reason - reason for blocking specified by a superadmin
  • action - action type, possible values:
    • block_process
    • unblock_process
  • user_id - identifier of a superadmin which blocked/unblocked the process
  • login - login of a superadmin which blocked/unblocked the process
  • obj = conv (default)
  • obj_id - process identifier
  • process_owner - process owner login (email)
  • process_owner_id - process owner identifier
  • lang - process owner language

Use these parameters for creating a notification email body, subject, recipient.

Process example

image.png

  1. Add the Set Parameters node after the Start node. This step allows a notification email to open the process directly using this link.
    Note: For creating a process link this step is optional.
    image.png

  2. After the Set Parameters node, add the Condition node where configure branching conditions for sending two types of messages: process block and unblock.

  3. Add API Call nodes for each message type and connect the API Call nodes to the Condition node:
    Example of the API Call node configuration.
    image.png

You can add an individual sequence of nodes for sending other emails to the process.

Adding Process ID to settings

After completing the process configuration, add the process ID to the capi_block_unblock_notify_conv setting of the Superadministrator menu, Settings section. To do that:

  1. In the upper-right corner of the page, click your profile image, and in the dropdown list, select Superadmin.
    image.png

  2. On the Settings tab, enter the process ID in the capi_block_unblock_notify_conv field.
    capi block.png


Was this article helpful?

What's Next