Business Process Model and Notation(BPMN ) is a standard for business process modelling.  SAP commerce has the business process like order process, consignment process etc, and as of today SAP commerce does not use BPMN notation but use its own process engine for modelling business process. The documentation here explains how we can model the process in BPMN and transform it to SAP Commerce process model.

BPMN to Hybris Process Transformation:

Hybris uses process with hybris specific process xml format rather than BPMN xml format.

The BPMN to Hybris Process transformation API would Help converting the BPMN xml format to Hybris specific process XML and vice versa.

This transformation Utility would help business users to create, view or modify the hybris specific process in bmpn GUI. This would increase the visual representation of any process on hybris over any external bpmn GUI.

Core Process Transformation service:

Core transformation service is provided as jar containing the transformation logic. You can convert any process (can be bpmn process xml or hybris process xml) by passing the xml string to   convertProcess method ofDefaultBpmnProcessConversionService.java

The service returns the data object that contains the hybris specific process xml , bpmn specific process xml, process code and list of process tasks (for bpmn to hybris conversion).

Note :

    • Since the features of hybris process is subset of bpmn process features, The service may not convert each and everything of bpmn features to hybris process xml.

 

    • Currently bpmn2 format is supported for the transformation.

How to build the package:

Download the Zip file from https://www.sap.com/developer/trials-downloads/additional-downloads/business-process-transformation-… and extract it. This is a maven project and you need to build it before you can use it. This project depends on one of the jar files (processingserver.jar) from the hybris commerce. So before building the project, open the “pom.xml” file and edit it and provide the path to the processingserver.jar .

<dependency>

            <groupId>de.hybris.platform</groupId>

            <artifactId>processengine</artifactId>

            <version>1.0</version>

            <scope>system</scope>  

<systemPath>

PATH_TO_HYBRIS_PLATFORM_DIR/ext/processing/bin/processingserver.jar

</systemPath>

</dependency>

Replace the PATH_TO_HYBRIS_PLATFORM_DIR to the actual file path where your hybris commerce is installed.

Go ahead and do a maven clean install, this would create the jar file in target and now you can use this jar file and use it in any java application.

Using Transformation API as a Restful service:

Now we are ready to use the core service for transformation and can be provided as the restful service.

Here are the simple steps to create a restful service.

1 . Create a new Spring MVC web application.

    1. Provide the dependency to the jar file/bpmntransformer extension we built earlier.

 

    1. define the spring beans as below.

 

<alias name="defaultBpmnService" alias="bpmnservice" />

            <bean id="defaultBpmnService"

                        class="de.hybris.platform.processengine.transformer.bpmnhybris.service.impl.DefaultBpmnProcessConversionService">

                        <property name="bpmn2Hybris" ref="bPMN2HybrisTransformer" />

                        <property name="hybris2Bpmn" ref="hybris2BPMNTransformer" />

                       

            </bean>

            <alias name="defaultHybris2BPMNProcessTransformer" alias="hybris2BPMNTransformer" />

            <bean id="defaultHybris2BPMNProcessTransformer"

                        class="de.hybris.platform.processengine.transformer.bpmnhybris.Hybris2BPMNProcessTransformer">

                        <property name="hybrisElementsFactory" ref="bpmnHybrisElementFactory" />

                        <property name="bpmnDiagramGenerator" ref="bpmnDiagramGenerator" />

                        <property name="hybrisElementHandlerRegistry" ref="hybrisElementHandlerRegistry" />

                        <property name="validator" ref="bpmnHybrisTransformationValidator" />

            </bean>




            <alias name="defaultBPMN2HybrisProcessTransformer" alias="bPMN2HybrisTransformer" />

            <bean id="defaultBPMN2HybrisProcessTransformer"

                        class="de.hybris.platform.processengine.transformer.bpmnhybris.BPMN2HybrisProcessTransformer">

                        <property name="hybrisElementsFactory" ref="bpmnHybrisElementFactory" />

                        <property name="bpmnElementHandlerRegistery" ref="bpmnHandlersRegistry" />

                        <property name="validator" ref="bpmnHybrisTransformationValidator" />

            </bean>




            <alias name="defaultBPMNDiagramGenerator" alias="bpmnDiagramGenerator" />

            <bean id="defaultBPMNDiagramGenerator"

                        class="de.hybris.platform.processengine.transformer.bpmnhybris.DefaultBPMNDiagramGenerator" />




            <alias name="defaultBPMNHybrisElementFactory" alias="bpmnHybrisElementFactory" />

            <bean id="defaultBPMNHybrisElementFactory"

                        class="de.hybris.platform.processengine.transformer.bpmnhybris.HybrisBPMNElementsFactory"/>




            <alias name="defaultBPMNHybrisTransformationValidator" alias="bpmnHybrisTransformationValidator" />

            <bean id="defaultBPMNHybrisTransformationValidator"

                        class="de.hybris.platform.processengine.transformer.bpmnhybris.DefaultValidatorImpl" />




            <alias name="defaultHybrisElementHandlerRegistry" alias="hybrisElementHandlerRegistry" />

            <bean id="defaultHybrisElementHandlerRegistry"

                        class="de.hybris.platform.processengine.transformer.bpmnhybris.DefaultHybrisElementHandlerRegistryImpl">

                        <property name="hybrisStartNodeHandler" ref="hybrisStartNodeHandler" />

                        <property name="hybrisWaitHandler" ref="hybrisWaitNodeHandler" />

                        <property name="hybrisWaitTimerHandler" ref="hybrisWaitTimerNodeHandler" />

                        <property name="hybrisActionHandler" ref="hybrisActionNodeHandler" />

                        <property name="hybrisScriptActionHandler" ref="hybrisScriptActionNodeHandler" />

                        <property name="hybrisEndHandler" ref="hybrisEndNodeHandler" />

                        <property name="hybrisExclusiveChoiceHandler" ref="hybrisExclusiveChoiceNodeHandler" />

                        <property name="hybrisExclusiveJoinHandler" ref="hybrisExclusiveJoinNodeHandler" />

                        <property name="hybrisEventBasedHandler" ref="hybrisEventBasedGatewayNodeHandler" />

                        <property name="hybrisNotifyHandler" ref="hybrisNotifyNodeHandler" />

                        <property name="hybrisSplitHandler" ref="hybrisSplitNodeHandler" />

                        <property name="hybrisJoinHandler" ref="hybrisJoinNodeHandler" />

                        <property name="hybrisUnkownTypeHandler" ref="hybrisUnknownTypeNodeHandler" />

            </bean>




            <alias name="defaultHybrisStartNodeHandler" alias="hybrisStartNodeHandler" />

            <bean id="defaultHybrisStartNodeHandler"

                        class="de.hybris.platform.processengine.transformer.bpmnhybris.hybris.handler.HybrisStartNodeHandler" />




            <alias name="defaultHybrisActionNodeHandler" alias="hybrisActionNodeHandler" />

            <bean id="defaultHybrisActionNodeHandler"

                        class="de.hybris.platform.processengine.transformer.bpmnhybris.hybris.handler.HybrisActionNodeHandler" />




            <alias name="defaultHybrisEndNodeHandler" alias="hybrisEndNodeHandler" />

            <bean id="defaultHybrisEndNodeHandler"

                        class="de.hybris.platform.processengine.transformer.bpmnhybris.hybris.handler.HybrisEndNodeHandler" />




            <alias name="defaultHybrisEventBasedGatewayNodeHandler" alias="hybrisEventBasedGatewayNodeHandler" />

            <bean id="defaultHybrisEventBasedGatewayNodeHandler"

                        class="de.hybris.platform.processengine.transformer.bpmnhybris.hybris.handler.HybrisEventBasedGatewayNodeHandler"/>




            <alias name="defaultHybrisExclusiveChoiceNodeHandler" alias="hybrisExclusiveChoiceNodeHandler" />

            <bean id="defaultHybrisExclusiveChoiceNodeHandler"

                        class="de.hybris.platform.processengine.transformer.bpmnhybris.hybris.handler.HybrisExclusiveChoiceNodeHandler" />




            <alias name="defaultHybrisExclusiveJoinNodeHandler" alias="hybrisExclusiveJoinNodeHandler" />

            <bean id="defaultHybrisExclusiveJoinNodeHandler"

                        class="de.hybris.platform.processengine.transformer.bpmnhybris.hybris.handler.HybrisExclusiveJoinNodeHandler" />




            <alias name="defaultHybrisJoinNodeHandler" alias="hybrisJoinNodeHandler" />

            <bean id="defaultHybrisJoinNodeHandler"

                        class="de.hybris.platform.processengine.transformer.bpmnhybris.hybris.handler.HybrisJoinNodeHandler" />




            <alias name="defaultHybrisNotifyNodeHandler" alias="hybrisNotifyNodeHandler" />

            <bean id="defaultHybrisNotifyNodeHandler"

                        class="de.hybris.platform.processengine.transformer.bpmnhybris.hybris.handler.HybrisNotifyNodeHandler" />




            <alias name="defaultHybrisScriptActionNodeHandler" alias="hybrisScriptActionNodeHandler" />

            <bean id="defaultHybrisScriptActionNodeHandler"

                        class="de.hybris.platform.processengine.transformer.bpmnhybris.hybris.handler.HybrisScriptActionNodeHandler" />




            <alias name="defaultHybrisSplitNodeHandler" alias="hybrisSplitNodeHandler" />

            <bean id="defaultHybrisSplitNodeHandler"

                        class="de.hybris.platform.processengine.transformer.bpmnhybris.hybris.handler.HybrisSplitNodeHandler" />




            <alias name="defaultHybrisUnknownTypeNodeHandler" alias="hybrisUnknownTypeNodeHandler" />

            <bean id="defaultHybrisUnknownTypeNodeHandler"

                        class="de.hybris.platform.processengine.transformer.bpmnhybris.hybris.handler.HybrisUnknownTypeNodeHandler" />




            <alias name="defaultHybrisWaitNodeHandler" alias="hybrisWaitNodeHandler" />

            <bean id="defaultHybrisWaitNodeHandler"

                        class="de.hybris.platform.processengine.transformer.bpmnhybris.hybris.handler.HybrisWaitNodeHandler" />




            <alias name="defaultHybrisWaitTimerNodeHandler" alias="hybrisWaitTimerNodeHandler" />

            <bean id="defaultHybrisWaitTimerNodeHandler"

                        class="de.hybris.platform.processengine.transformer.bpmnhybris.hybris.handler.HybrisWaitTimerHandler" />




            <alias name="defaultBpmnHandlersRegistry" alias="bpmnHandlersRegistry" />

            <bean id="defaultBpmnHandlersRegistry"

                        class="de.hybris.platform.processengine.transformer.bpmnhybris.DefaultBPMNHandlerRegistryImpl">

                        <property name="startEventHandler" ref="bpmnStartEventHandler" />

                        <property name="dataObjectHandler" ref="bpmnDataObjectHandler" />

                        <property name="endEventHandler" ref="bpmnEndEventHandler" />

                        <property name="eventBasedGatewayHandler" ref="bpmnEventBasedGatewayHandler" />

                        <property name="exclusiveChoiceHandler" ref="bpmnExclusiveChoiceHandler" />

                        <property name="exclusiveJoinHandler" ref="bpmnExclusiveJoinHandler" />

                        <property name="genericTaskHandler" ref="bpmnGenericTaskHandler" />

                        <property name="scriptTaskHandler" ref="bpmnScriptTaskHandler" />

                        <property name="intermediateCatchEventHandler" ref="bpmnIntermediateCatchEventHandler" />

                        <property name="sequenceFlowHandler" ref="bpmnSequenceFlowHandler" />

            </bean>

           

            <alias name="defaultBpmnDataObjectHandler" alias="bpmnDataObjectHandler"/>

            <bean id="defaultBpmnDataObjectHandler"class="de.hybris.platform.processengine.transformer.bpmnhybris.bpmn.handler.BPMNDataObjectHandler"/>




            <alias name="defaultBpmnStartEventHandler" alias="bpmnStartEventHandler"/>

            <bean id="defaultBpmnStartEventHandler"class="de.hybris.platform.processengine.transformer.bpmnhybris.bpmn.handler.BPMNStartEventHandler"/>




            <alias name="defaultBpmnEndEventHandler" alias="bpmnEndEventHandler"/>

            <bean id="defaultBpmnEndEventHandler"class="de.hybris.platform.processengine.transformer.bpmnhybris.bpmn.handler.BPMNEndEventHandler"/>

           

            <alias name="defaultBpmnEventBasedGatewayHandler" alias="bpmnEventBasedGatewayHandler"/>

            <bean id="defaultBpmnEventBasedGatewayHandler"class="de.hybris.platform.processengine.transformer.bpmnhybris.bpmn.handler.BPMNEventBasedGatewayHandler"/>




            <alias name="defaultBpmnExclusiveChoiceHandler" alias="bpmnExclusiveChoiceHandler"/>

            <bean id="defaultBpmnExclusiveChoiceHandler"class="de.hybris.platform.processengine.transformer.bpmnhybris.bpmn.handler.BPMNExclusiveChoiceHandler"/>




            <alias name="defaultBpmnExclusiveJoinHandler" alias="bpmnExclusiveJoinHandler"/>

            <bean id="defaultBpmnExclusiveJoinHandler"class="de.hybris.platform.processengine.transformer.bpmnhybris.bpmn.handler.BPMNExclusiveJoinHandler"/>

           

            <alias name="defaultBpmnGenericTaskHandler" alias="bpmnGenericTaskHandler"/>

            <bean id="defaultBpmnGenericTaskHandler"class="de.hybris.platform.processengine.transformer.bpmnhybris.bpmn.handler.BPMNGenericTaskHandler"/>

           

            <alias name="defaultBpmnScriptTaskHandler" alias="bpmnScriptTaskHandler"/>

            <bean id="defaultBpmnScriptTaskHandler"class="de.hybris.platform.processengine.transformer.bpmnhybris.bpmn.handler.BPMNScriptTaskHandler"/>




            <alias name="defaultBpmnIntermediateCatchEventHandler" alias="bpmnIntermediateCatchEventHandler"/>

            <bean id="defaultBpmnIntermediateCatchEventHandler"class="de.hybris.platform.processengine.transformer.bpmnhybris.bpmn.handler.BPMNIntermediateCatchEventHandler"/>




            <alias name="defaultBpmnSequenceFlowHandler" alias="bpmnSequenceFlowHandler"/>

            <bean id="defaultBpmnSequenceFlowHandler"class="de.hybris.platform.processengine.transformer.bpmnhybris.bpmn.handler.BPMNSequenceFlowHandler"/>





After defining the spring bean , you can use the bean “bpmnservice” for bpmn process transformation.

    1. Create the rest controller

 

import org.springframework.http.HttpEntity;

import org.springframework.http.MediaType;

import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RequestMethod;

import org.springframework.web.bind.annotation.ResponseBody;

import de.hybris.platform.processengine.transformer.bpmnhybris.data.BpmnProcessData;

import de.hybris.platform.processengine.transformer.bpmnhybris.service.BpmnProcessConversionService;

@org.springframework.web.bind.annotation.RestController

@RequestMapping(“/restapi”)

public class BPMNHybrisTransform {

private BpmnProcessConversionService bpmnservice;

@RequestMapping(value = “/bpmnhybristransformJSON”, method = RequestMethod.POST, consumes = MediaType.APPLICATION_XML_VALUE, produces = MediaType.APPLICATION_JSON_VALUE)

@ResponseBody

public BpmnProcessData processTransformationJSON(HttpEntity<String> httpEntity) {

String processxml = httpEntity.getBody();

return bpmnservice.convertProcess(processxml);

}

@RequestMapping(value = “/bpmnhybristransformation”, method = RequestMethod.POST, consumes = MediaType.APPLICATION_XML_VALUE, produces = MediaType.APPLICATION_XML_VALUE)

@ResponseBody

public String processTransformationXML(HttpEntity<String> httpEntity) {

String processxml = httpEntity.getBody();

BpmnProcessData bpmnProcessData =  bpmnservice.convertProcess(processxml);

return (BpmnProcessData.ProcessType.HYBRIS.equals(bpmnProcessData.getProcessType())?bpmnProcessData.getProcessContent():bpmnProcessData.getBpmnContent());

}

public BpmnProcessConversionService getBpmnservice() {

return bpmnservice;

}

public void setBpmnservice(BpmnProcessConversionService bpmnservice) {

this.bpmnservice = bpmnservice;

}

}

 

    1. Define the spring bean passing reference to bpmnservice

 

<bean id=“bpmnhybristransform”class=“com.hybris.transformer.BPMNHybrisTransform”>

<property name=“bpmnservice”ref=“bpmnservice” />

</bean>

 

    1. deploy the spring MVC application.

 

    1. Use postman to verify the process transformation as below.

 

 

    • Set the header with the “Content-Type” as “Application/xml”

    • Pass the bpmn xml as body part

    • The output once you post would be the transformed process xml.

Another API /restapi/bpmnhybristransformJSON will provide the output on JSON format with both bpmn and hybris process format with the details on tasks identified in a bpmn text.

Note : Due to some specific syntax on hybris process, we need to add one xml snippet in bpmn xml so that the process xml would be complete.

Let us say , if we want to define the  process for Order creation then we need to specify the process model (OrderProcessModel) and this can be done by adding the below code on the bpmn xml file.

<bpmn2:dataObject id=”DataObject_2″ name=”de.hybris.platform.orderprocessing.model.OrderProcessModel as processClass”>

      <bpmn2:dataState id=”DataState_1″ name=”Data State 1″ />

</bpmn2:dataObject>

Sample bpmn2 process creation and transforming it to hybris process xml :

Take this sample bmpn2 file content and load it to any BPMN editor (bpmn.io or eclipse bpmn editor or any bpmn editor of your choice). Ignore any warning or error as it is a very basic template in which you would start building the process.

 <?xml version=”1.0″ encoding=”UTF-8″?>

<!– origin at X=0.0 Y=0.0 –>

<bpmn2:definitions xmlns:bpmn2=”http://www.omg.org/spec/BPMN/20100524/MODEL” xmlns:bpmndi=”http://www.omg.org/spec/BPMN/20100524/DI” xmlns:dc=”http://www.omg.org/spec/DD/20100524/DC” xmlns:ns=”http://www.w3.org/2001/XMLSchema” id=”_ESxmkE7AEeibvZO4ZeVwrQ” exporter=”org.eclipse.bpmn2.modeler.core” exporterVersion=”1.4.2.Final-v20171109-1930-B1″>

  <bpmn2:process id=”demo-order-process” name=”demo-order-process” isExecutable=”false”>

    <bpmn2:dataObject id=”DataObject_2″ name=”de.hybris.platform.orderprocessing.model.OrderProcessModel as processClass”>

      <bpmn2:dataState id=”DataState_1″ name=”Data State 1″/>

    </bpmn2:dataObject>

  </bpmn2:process>

  <bpmndi:BPMNDiagram id=”BPMNDiagram_1″>

    <bpmndi:BPMNPlane id=”BPMNPlane_1″>

      <bpmndi:BPMNShape id=”BPMNShape_DataObject_1″ bpmnElement=”DataObject_2″>

        <dc:Bounds height=”50.0″ width=”36.0″ x=”160.0″ y=”380.0″/>

        <bpmndi:BPMNLabel id=”BPMNLabel_1″ labelStyle=”BPMNLabelStyle_1″>

          <dc:Bounds height=”66.0″ width=”79.0″ x=”139.0″ y=”430.0″/>

        </bpmndi:BPMNLabel>

      </bpmndi:BPMNShape>

    </bpmndi:BPMNPlane>

    <bpmndi:BPMNLabelStyle id=”BPMNLabelStyle_1″>

      <dc:Font name=”arial” size=”9.0″/>

    </bpmndi:BPMNLabelStyle>

  </bpmndi:BPMNDiagram>

</bpmn2:definitions>

 

    1. After loading the template in Visual BPMN editor, add few steps to the process as below.

 

View the BPMN xml and it would appear as below.

 <?xml version=”1.0″ encoding=”UTF-8″?>

<bpmn2:definitions xmlns:bpmn2=”http://www.omg.org/spec/BPMN/20100524/MODEL” xmlns:bpmndi=”http://www.omg.org/spec/BPMN/20100524/DI” xmlns:dc=”http://www.omg.org/spec/DD/20100524/DC” xmlns:di=”http://www.omg.org/spec/DD/20100524/DI” xmlns:ns=”http://www.w3.org/2001/XMLSchema” id=”_ESxmkE7AEeibvZO4ZeVwrQ” exporter=”org.eclipse.bpmn2.modeler.core” exporterVersion=”1.4.2.Final-v20171109-1930-B1″>

  <bpmn2:process id=”demo-order-process” name=”demo-order-process” isExecutable=”false”>

    <bpmn2:dataObject id=”DataObject_2″ name=”de.hybris.platform.orderprocessing.model.OrderProcessModel as processClass”>

      <bpmn2:dataState id=”DataState_1″ name=”Data State 1″ />

    </bpmn2:dataObject>

    <bpmn2:startEvent id=”StartEvent_0vtbr1u” name=”Start”>

      <bpmn2:outgoing>SequenceFlow_1wylk4m</bpmn2:outgoing>

    </bpmn2:startEvent>

    <bpmn2:task id=”Task_05i4bfq” name=”checkOrder”>

      <bpmn2:incoming>SequenceFlow_1wylk4m</bpmn2:incoming>

      <bpmn2:outgoing>SequenceFlow_0rgp3tu</bpmn2:outgoing>

    </bpmn2:task>

    <bpmn2:sequenceFlow id=”SequenceFlow_1wylk4m” sourceRef=”StartEvent_0vtbr1u” targetRef=”Task_05i4bfq” />

    <bpmn2:endEvent id=”EndEvent_12n08mi” name=”End”>

      <bpmn2:incoming>SequenceFlow_0rgp3tu</bpmn2:incoming>

    </bpmn2:endEvent>

    <bpmn2:sequenceFlow id=”SequenceFlow_0rgp3tu” name=”OK” sourceRef=”Task_05i4bfq” targetRef=”EndEvent_12n08mi” />

  </bpmn2:process>

  <bpmndi:BPMNDiagram id=”BPMNDiagram_1″>

    <bpmndi:BPMNPlane id=”BPMNPlane_1″ bpmnElement=”demo-order-process”>

      <bpmndi:BPMNShape id=”BPMNShape_DataObject_1″ bpmnElement=”DataObject_2″>

        <dc:Bounds x=”160″ y=”380″ width=”36″ height=”50″ />

        <bpmndi:BPMNLabel id=”BPMNLabel_1″ labelStyle=”BPMNLabelStyle_1″>

          <dc:Bounds x=”139″ y=”430″ width=”79″ height=”66″ />

        </bpmndi:BPMNLabel>

      </bpmndi:BPMNShape>

      <bpmndi:BPMNShape id=”StartEvent_0vtbr1u_di” bpmnElement=”StartEvent_0vtbr1u”>

        <dc:Bounds x=”171″ y=”283″ width=”36″ height=”36″ />

        <bpmndi:BPMNLabel>

          <dc:Bounds x=”177″ y=”326″ width=”24″ height=”13″ />

        </bpmndi:BPMNLabel>

      </bpmndi:BPMNShape>

      <bpmndi:BPMNShape id=”Task_05i4bfq_di” bpmnElement=”Task_05i4bfq”>

        <dc:Bounds x=”257″ y=”261″ width=”100″ height=”80″ />

      </bpmndi:BPMNShape>

      <bpmndi:BPMNEdge id=”SequenceFlow_1wylk4m_di” bpmnElement=”SequenceFlow_1wylk4m”>

        <di:waypoint x=”207″ y=”301″ />

        <di:waypoint x=”257″ y=”301″ />

      </bpmndi:BPMNEdge>

      <bpmndi:BPMNShape id=”EndEvent_12n08mi_di” bpmnElement=”EndEvent_12n08mi”>

        <dc:Bounds x=”407″ y=”283″ width=”36″ height=”36″ />

        <bpmndi:BPMNLabel>

          <dc:Bounds x=”415″ y=”326″ width=”20″ height=”13″ />

        </bpmndi:BPMNLabel>

      </bpmndi:BPMNShape>

      <bpmndi:BPMNEdge id=”SequenceFlow_0rgp3tu_di” bpmnElement=”SequenceFlow_0rgp3tu”>

        <di:waypoint x=”357″ y=”301″ />

        <di:waypoint x=”407″ y=”301″ />

        <bpmndi:BPMNLabel>

          <dc:Bounds x=”374″ y=”283″ width=”16″ height=”13″ />

        </bpmndi:BPMNLabel>

      </bpmndi:BPMNEdge>

    </bpmndi:BPMNPlane>

    <bpmndi:BPMNLabelStyle id=”BPMNLabelStyle_1″>

      <dc:Font name=”arial” size=”9″ />

    </bpmndi:BPMNLabelStyle>

  </bpmndi:BPMNDiagram>

</bpmn2:definitions>

 

 

    1. send the BPMN xml to the restful service and you would see the converted hybris process XML.

 

    1. You can further enhance the model by adding some more tasks and conditions as below and transform it to hybris process xml

With the Utility provided in https://www.sap.com/developer/trials-downloads/additional-downloads/business-process-transformation-for-hybris-commerce-15505.html , you can easily transform the BPMN process into SAP commerce process.

Sara Sampaio

Sara Sampaio

Author Since: March 10, 2022

0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x