Uploaded image for project: 'Nuxeo Studio'
  1. Nuxeo Studio
  2. NXS-6860

Don't write StepFolder facet when exporting workflows for LTS 2023

    XMLWordPrintable

    Details

    • Type: Clean up
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2023.1.0
    • Component/s: Workflow
    • Tags:
    • Story Points:
      2

      Description

      Workflow deprecated code has been removed within NXP-31639 for LTS 2023, which mainly means that Nuxeo now only handles graph workflows.

      Several schemas, facets and document types have been removed.

      The only impact it has on Studio is the way the DocumentRoute is exported in XML, the reference to the StepFolder facet and the step_folder schema metadata should be removed.

      For example on this document:

      <?xml version="1.0" encoding="UTF-8"?>
      
      <document repository="default" id="ParallelDocumentReview">
        <system>
          <type>DocumentRoute</type>
          <path>ParallelDocumentReview</path>
          <lifecycle-state>validated</lifecycle-state>
          <lifecycle-policy>documentRouteElement</lifecycle-policy>
          <facet>DocumentRoute</facet>
          <facet>Orderable</facet>
          <!-- BEGIN: TO REMOVE -->
          <facet>StepFolder</facet>
          <!-- END: TO REMOVE -->
          <facet>facet-var_ParallelDocumentReview</facet>
          <access-control/>
        </system>
        <schema xmlns:docrm="http://www.nuxeo.org/ecm/schemas/document_route_model" name="document_route_model"></schema>
        <schema xmlns:common="http://www.nuxeo.org/ecm/schemas/common/" name="common"></schema>
        <!-- BEGIN: TO REMOVE -->
        <schema xmlns:stepf="http://www.nuxeo.org/ecm/schemas/step_folder" name="step_folder">
          <stepf:execution><![CDATA[graph]]></stepf:execution>
        </schema>
        <!-- END: TO REMOVE -->
        <schema xmlns:var_ParallelDocumentReview="http://www.nuxeo.org/ecm/project/schemas/nuxeo-routing-default/var_ParallelDocumentReview" name="var_ParallelDocumentReview"></schema>
        <schema xmlns:dc="http://www.nuxeo.org/ecm/schemas/dublincore/" name="dublincore">
          <dc:title><![CDATA[wf.parallelDocumentReview.ParallelDocumentReview]]></dc:title>
        </schema>
        <schema xmlns:docri="http://www.nuxeo.org/ecm/schemas/document_route_instance/" name="document_route_instance">
          <docri:variablesFacet><![CDATA[facet-var_ParallelDocumentReview]]></docri:variablesFacet>
          <docri:availabilityFilter><![CDATA[filter@wf@ParallelDocumentReview]]></docri:availabilityFilter>
        </schema>
      </document>
      
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: