Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCU-2159

Enabling workflow in content apps is wrong. Old framework

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Neutral Neutral
    • None
    • None
    • None

      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.

        Acceptance criteria

              Unassigned Unassigned
              tobias.kerschbaum Tobias Kerschbaum
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: