Targeted Communications publication workflows
The Targeted Communications application (com.sn_publications) includes default workflows that are used for publishing articles.
The application includes two publishing workflows:
- 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.
During an upgrade, the logic checks if a publication workflow or its configuration has been customized.
- 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
The following table provides a summary of the actions that take place during upgrade depending on publication workflow and configuration customization.
| 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
The following table describes the key steps that the system takes during upgrade to the Zurich release.
| 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
Follow these steps before and after upgrading to the Zurich release:
- 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
The upgrade to Zurich adds the following columns to the Workflow Config [sn_publications_workflow_config] table:
- Process Workflow (Workflow Studio flow field)
- Workflow (legacy workflow field)
- Approvers