What are the steps to block push notifications for future scheduled periods?

You can block push notifications for activities that are either not yet scheduled or are scheduled for a future date.

Block Notifications for Future Routed Dates

  1. Navigate to the Configuration > Message Scenario and then open the specific Message Scenario responsible for the push notifications you want to control.
  2. Locate the step within the Message Scenario that sends the push notification.
  3. Configure the Settings tab:
    1. Open the Settings tab for this message step.

      This screenshot shows the Notifications settings of the Settings Tab.

    2. In the Notification time section, specify the Sending time option. Set the Sending time to day of route. This ensures the notification is primarily considered for sending on the day the activity is scheduled.
  4. Configure a Blocking Condition for Future Dates.
    1. Go to the Blocking Conditions tab of the message step and then click Add new. The Add Blocking Condition tab appears. This screenshot shows the Add Blocking Conditions Tab.
    2. In the Condition to block message section, in the Field list, select "Calendar Days from Activity Assignment" ([calendar_days_from_activity_assignment]). This property calculates the number of calendar days between the current date and the activity's assignment date.
    3. In the Condition field, select >=.
    4. In the Value field, enter 1. This will block the notification if the activity's assignment date is one or more days in the future compared to the current date at the time of sending.
    5. In the Moment of check field, select this to message sending. This is crucial as it evaluates the condition right before the notification is about to be sent, ensuring it considers the current date.
    6. In the Set message final status section, select Status (Result). Choose a final status for the message when this condition is met (For example, Failed or Obsolete).
    7. In the Description field, add a description Block notification for future routed activities.
    8. Click Add.
  5. Add Blocking Conditions for Route Activation
    1. Go to the Blocking Conditions tab of the message step and then click Add new. The Add Blocking Condition tab appears.

      This screenshot shows the Add Blocking Conditions Tab.

    2. In the Field list, select a property Route Activated indicating if the route is activated.
    3. In the Condition field, select <=.
    4. In the Value field, enter false or the value representing a deactivated route.
    5. In the Moment of check field, select message sending.
    6. In the Set message final status section, select Status (Result). Choose a final status for the message when this condition is met (For example, Failed or Obsolete).
    7. In the Description field, add a description Block notification if route is deactivated.
    8. Click Add.

Blocking Notifications for Unscheduled Activities (Example: for a 9 PM Process)

  1. Navigate to the Configuration > Message Scenario and then open the Message Scenario that runs around 9 PM and triggers notifications related to the next day's schedule or pending activities.
  2. Locate the step responsible for sending these notifications.
  3. Add a Blocking Condition for Unscheduled Activities:
    1. Navigate to the Blocking Conditions tab.
    2. Click Add new. The Add Blocking Conditions tab appears.

      This screenshot shows the Add Blocking Conditions Tab.

    3. In the Field list, select Activity scheduled?.
    4. In the Condition field, select Is empty.
    5. In the Moment of check field, select this to message creation and message sending. This is crucial as message creation might prevent the message from even being generated for unscheduled activities, while message sending provides a final check.
    6. In the Set message final status section, select Status (Result). Choose a final status for the message when this condition is met (For example, Failed or Obsolete).
    7. In the Description field, add a description Block notification for unscheduled activities.
    8. Click Add.