Prevent publishing of variant before the parent message is published

Updated 

Create a pre-publishing rule to prevent publishing of the variants before the parent post is published.

Example Use case shown below: This rule if the parent message of the message has been published or not while publishing the variants. If the parent message has not been published, then an email is sent to the author of the variant stating the same.

How to set up

  1. Click the New Tab icon. Under Governance, click Manage Rules within Platform Setup.

  2. In the top right corner of the Rule Engine window, click Create New Rule. To learn more about how to create a rule, see Create a Rule.

  3. On the Create New Rule window, give your rule a name and an optional description. From the Context drop-down menu, select the rule context as Draft or Outbound.

  4. Modify the values for Activation Date, Rule Execution Batch, Rule Type, and Custom Fields. To proceed with the default values, click Next in the bottom right corner.

  5. On the Rule Builder window, select Add Condition to set up specific scenarios that must be met for subsequent actions to execute. You can also chain multiple conditions together to refine the scenarios.

  6. In this example, we are using “Status” is not “Sent” as a condition under “The conditions applies to the Parent Message of the Variant”.

  7. To configure actions in a rule, select Add Action on a Yes or a No branch of a condition depending on when you want the action to be executed.

  8. Select Recall as the action that you wish to perform when the condition becomes true under Actions To Control the visibility of Post.

  9. Additionally you can email the author (and others) of the outbound message being recalled from publishing.

  10. Click Save in the bottom right corner to finalize the creation of your new rule, or Save as Draft to create a draft version of your rule.