Platform Explorer / Nuxeo Platform 11.4

Extension point chainsToType

Documentation

Use to map an operation chains to a Step document type. If the chains are declared for the same type, only the last one is use. The same chain can be used for different type. @deprecated since 5.9.2 - Use only routes of type 'graph'

    <mapping chainId="the id of the chain" documentType="The type of the document that extends DocumentRouteStep"/>

Contribution Descriptors

  • Class: org.nuxeo.ecm.platform.routing.core.impl.ChainToTypeMappingDescriptor

Existing Contributions

Contributions are presented in the same order as the registration order on this extension point. This order is displayed before the contribution name, in brackets.

  • nuxeo-routing-core-11.4.42.jar /OSGI-INF/document-routing-type-chains-contrib.xml
    <extension point="chainsToType" target="org.nuxeo.ecm.platform.routing.service">
        <mapping chainId="setDone" documentType="DocumentRouteStep" undoChainIdFromDone="simpleUndo" undoChainIdFromRunning="simpleUndo"/>
      </extension>
  • nuxeo-routing-dm-11.4.jar /OSGI-INF/dm-task-type-chains-contrib.xml
    <extension point="chainsToType" target="org.nuxeo.ecm.platform.routing.service">
        <mapping chainId="simpleTask" documentType="SimpleTask" undoChainIdFromDone="simpleUndo" undoChainIdFromRunning="undoRunningTask"/>
        <mapping chainId="followLifeCycleTransitionTask" documentType="FollowLifeCycleTransitionTask" undoChainIdFromDone="simpleUndo" undoChainIdFromRunning="undoRunningTask"/>
        <mapping chainId="publishTask" documentType="PublishTask" undoChainIdFromDone="simpleUndo" undoChainIdFromRunning="undoRunningTask"/>
        <mapping chainId="conditionalTask" documentType="ConditionalTask" undoChainIdFromDone="simpleUndo" undoChainIdFromRunning="undoRunningTask"/>
      </extension>