Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-10929

Delegate session context attribute to documentWorkflow

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • 5.2.0
    • None
    • None

    Description

      The workflow needs access to information stored in the session context. All calls to workflow have to be adjusted to this new situation.

      transition(getBuilder()
                      .action(PUBLISH)
                      .initialPayload(getInitialPayload())
                      .eventPayload(TARGET_DATE,publicationDate)
                      .build());
      
      The initial payload has to  be read from the attribute on the CmsSessionAttribute with key "org.onehippo.cms7.services.cmscontext.CmsSessionContext.initialPayload"
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mrop Michiel Rop
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: