Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-19943

Fix access to variables in automation chains when using the "this" keyword

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 8.3-SNAPSHOT
    • Fix Version/s: 8.10
    • Component/s: Automation

      Description

      In Studio, create the following chain:

      - Seam.GetCurrentDocument
      - Document.CopySchema:
          schema: dublincore
          sourceId: "@{This.domain.id}"
          sourcePath: "@{This.workspace.path}"
      
      • Associate it to a user action
      • Deploy and launch

      => an error is thrown because the variable can't be accessed.
      => this error does not appear when using the "document" keyword instead.

        Attachments

        1. context.txt
          4 kB
          Bertrand Chauvin
        2. stack.txt
          12 kB
          Bertrand Chauvin

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: