[DOCU-2159] Enabling workflow in content apps is wrong. Old framework Created: 29/Mar/21 Updated: 12/Apr/21 Resolved: 29/Mar/21 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Neutral |
| Reporter: | Tobias Kerschbaum | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | services | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Documentation page URL: | https://docs.magnolia-cms.com/product-docs/Modules/List-of-modules/Workflow-module/Enabling-workflow-in-content-apps-with-YAML.html | ||||||||
| Reporter Name: | Tobias Kerschbaum | ||||||||
| Email: | Tobias.Kerschbaum@magnolia-cms.com | ||||||||
| Description |
|
The listed configuration on the mentioned page is old and no working anymore. I got it to work with the following configuration: subApps: browser: actions: activate: !override icon: icon-publish $type: openDialogAction dialogId: workflow-pages:publish availability: writePermissionRequired: true rules: isPublishableRule: $type: jcrPublishableRule deactivate: !override icon: icon-unpublish $type: openDialogAction dialogId: workflow-pages:unPublish availability: writePermissionRequired: true rules: isPublishableRule: $type: jcrPublishableRule isNotDeletedRule: $type: jcrIsDeletedRule negate: true activateDeleted: !override icon: icon-publish $type: openDialogAction dialogId: workflow-pages:publishDeletion availability: writePermissionRequired: true rules: IsDeletedRule: $type: jcrIsDeletedRule negate: true But we really should check with PD if this is the best way to do this because right now for my PoC I used the workflow-pages dialog and I think this is maybe not the best way to do it. |
| Comments |
| Comment by Richard Gange [ 29/Mar/21 ] |
|
Duplicates |