Targeted Communications publication workflows
Summarize
Summary of Targeted Communications Publication Workflows
The Targeted Communications application (com.snpublications) includes workflows for publishing articles, specifically Instant Publish for immediate publication and Publish With Approval for requiring prior consent. The Zurich release introduces low-code flows in Workflow Studio, which replace legacy workflows, ensuring the same functionality with a modernized approach.
Show less
Key Features
- Migration to Workflow Studio: Legacy workflows are replaced with new low-code flows unless customizations are detected.
- Upgrade Logic: The system checks for customizations during upgrades, reverting to legacy workflows if any are found to preserve user modifications.
- UI Policies and Business Rules Management: Legacy UI policies and business rules are activated, while new ones are deactivated during the upgrade process.
Key Outcomes
After upgrading, customers can expect:
- Activation of the appropriate workflows, flows, UI policies, and business rules based on the presence of customizations.
- Enhanced publishing capabilities with the option to adopt new flows by removing customizations.
- A seamless transition to the Zurich release with preserved settings if custom workflows were in use.
Next Steps
Before upgrading, review any customizations to publication workflows. Post-upgrade, verify the correct activation of workflows and related configurations. To utilize new flows, consider removing any existing customizations to enable their activation.
The Targeted Communications application (com.sn_publications) includes default workflows that are used for publishing articles.
- Instant Publish: Publishes an article instantly.
- Publish With Approval: Requires approval before publishing.
Migrating workflows to Workflow Studio flows
Starting with the Zurich release, legacy workflows for the Targeted Communications application have been migrated to low-code flows in Workflow Studio. The functionality of the new flows remains the same.
- If customizations are detected in the workflows or the configuration, the system reverts to the legacy workflows and disables the new flows and related configurations.
- If no customizations are detected, the system replaces the legacy workflows with the new flows.
Summary of upgrade actions
| Setting | Customization detected | No customization detected |
|---|---|---|
| Legacy workflows | Activated | Deactivated |
| New flows | Deactivated | Activated |
| Legacy UI policies | Activated | Deactivated |
| New UI policies | Deactivated | Activated |
| Legacy business rules | Activated | Deactivated |
| New business rules | Deactivated | Activated |
| Workflow config value | Set to legacy workflows | Set to new flows |
Key steps during upgrade to Zurich
| Step | Description |
|---|---|
| 1. Customization detection | The logic checks if the legacy workflows or the sn_publications_workflow_config table record 6c9b0e65c30112004bd67bfaa2d3ae56 have been customized. If customizations are found, the system reverts to the legacy workflows. |
| 2. Legacy workflow activation |
|
| 3. New flow deactivation |
|
| 4. UI policy management |
|
| 5. Business rule management |
|
| 6. Workflow configuration update | The workflow configuration record (sn_publication_workflow_config) is updated to point out to the correct process workflow:
|
What to do before and after upgrading
- Before upgrading, review your publication workflow customizations.
- After upgrading, verify that the correct workflows, flows, UI policies, and business rules are active as expected.
- If you want to use the new flows, remove customizations and reactivate the new flows and related configurations.
| Setting | If customization detected (sys_id) |
|---|---|
| Legacy workflows | Activated:
|
| New flows | Deactivated:
|
| Legacy UI policies | Activated:
|
| New UI policies | Deactivated:
|
| Legacy business rules | Activated:
|
| New business rules | Deactivated: Approver List Required (New Flows): 47b133b2a36b12107ee9d8b8651e61d1 |
| Workflow config value | Set to legacy flow:
|
Workflow Config table update
- Process Workflow (Workflow Studio flow field)
- Workflow (legacy workflow field)
- Approvers