Targeted Communications publication workflows
Summarize
Summary of Targeted Communications Publication Workflows
The Targeted Communications application (com.snpublications) facilitates publishing articles through two key workflows: Instant Publish for immediate publication, and Publish With Approval that requires prior approval. With the Zurich release, these legacy workflows have been migrated to low-code flows in Workflow Studio, maintaining the original functionality while enhancing usability.
Show less
Key Features
- Customization Detection: During an upgrade, the system checks for customizations in publication workflows. If any are found, legacy workflows remain active; otherwise, new flows are implemented.
- Workflow Activation: Depending on the active plugins, specific versions of Instant Publish and Publish With Approval workflows are activated if customizations are detected.
- UI Policy and Business Rule Management: Legacy UI policies and business rules are activated, while new ones are deactivated if customizations are present, ensuring continuity.
- Workflow Configuration Update: The workflow configuration record is adjusted to reflect either legacy or new workflows based on the detection of customizations.
Key Outcomes
Before upgrading, review any customizations in your publication workflow. Post-upgrade, confirm that the correct workflows, UI policies, and business rules are active. If you wish to utilize the new flows, you must remove existing customizations and reactivate them. The upgrade process also introduces new columns in the Workflow Config table for improved management.
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 prior to 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 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