EPC to BPEL Transformation - XOR-split

Hi all,
I am trying to transform EPC to BPEL. The process contains XOR-split activity followed by 3 events. I expect to have a switch activity followed by 3 branches for each condition in BPEL. However, I only got a switch activity and "default" branch.
Has anyone encountered similar problem before?
Thanks.
cheers,
Cipto

Hello shirishsharma,
Thank you for your reply and interest. I'm sorry I could not reply sooner myself.
You are right that in this diagram, the AND-operator is not needed. However, this diagram serves as an example, which I tried to make as simple as possible. Perhaps too simple. It should show the case, where something happens in parallel with a loop doing something else. Adding an event and function on the parallel line would illustrate this better, but seemed more complex than necessary to me. However, it may be that to illustrate the full extent of this "glitch", functions and events should also be added between the AND-operators and the XOR-operators, above and below the loop.
Another "glitch", which I ran into, has to with the combination of a loop and multiple start events. Multiple start events seem to be transformed quite well. However, when adding loops (and perhaps other structures) to the branches, strange things occur. Often resulting in just a single branch being transformed to BPEL. I have been unable to pinpoint the exact occurrence of this. The length of a branch even seems to have something to do with it.
The example below illustrates this. It has two branches, a long one and one with a loop. In the current form it seems to transform successfully: The BPEL shows a flow containing the two branches, including the loop in one of them. However, when the long branch is shortened (remove the top events and functions), the resulting BPEL code no longer contains the flow and the second branch.
I'm still very interested in explanations and possibly workarounds.
Thanks for you attention,
Meertens
http://wwwhome.cs.utwente.nl/~meertens/oracle/bpasuite/multistart_branchlength.png
!http://wwwhome.cs.utwente.nl/~meertens/oracle/bpasuite/multistart_branchlength.png!

Similar Messages

  • Transforming EPC to BPEL - Semantic check error message

    Hi,
    I am having problems with the semantic check in Oracle BPA Version 10.1.3.3. Functions in some processes are linked with entities from an ERM (as Input/Output).
    When validating the EPC there is conflict with a rule in the category “rules for service-oriented EPC”. There is the following error message (translated by me): All objects, linked with functions via connections of the type “has input” or “has output” should be of the type “class” or mapped directly or indirectly on one or several objects of the type “class”, to be interpreted correctly by the transformation to BPEL.
    How can I solve this? Is it possible to transform an EPC linked with entities?
    Without providing any specific rule or description, there is a vague error message in the category rules for service-oriented BPMN model as well. For some the entities linked with functions, either as Input or Output, there is a line like: “'customer':: ???”
    Is there any way I can get an error description? Can anyone help?
    Thanks in advance

    Hi,
    due to the semantic check script performing the EPC -> BPEL transformation evaluation you will always end up with this message when performing the semantic check.
    You can patch the semantic script / you can access the script within the Module Administrator / Semantic Checks.
    Regarding your second problem I have no idea what check is producing this message.
    You can run the transformation without checking the semantics. Have you tried this? Does it work?
    Dirk

  • BPMN to BPEL transformation coverage

    Can anyone provide a list of BPMN elements that can be transformed into BPEL elements to see which transformations are supported by Oracle BPA and which not?

    Harold,
    Here are the mappings from the quick start guide:
    - Notification Services are transformed into a Business Scope upon BPEL transformation. The corresponding Notification service as well as the BPEL artifacts for invoking the Notification service are created within the business scope.
    - Human tasks are converted to a human workflow business scope upon BPEL transformation. The Task Service gets automatically generated as well as the BPEL artifacts for invoking the Task service also gets generated. The Notification/Reminder notes get translated to business annotations.
    - Automated activities are converted to a business scope upon BPEL transformation.
    - Business Service is converted to a Partner Link upon BPEL transformation. If the Business Service is associated with a concrete WSDL, it is converted to a concrete Partner Link. Otherwise it is converted into an abstract Partner Link. If Represented by is set to "invoke", an invoke activity is created inside the business scope and is linked to the Partner Link. If Represented by is set to "receive", a receive activity is created inside the business scope and is linked to the Partner Link. The Sensor definition is converted in to a business annotation.
    - XOR, AND and OR gateways are converted to switch and case statements upon BPEL transformation.
    - All Business Data in the Business Process Diagram are converted to Variables upon BPEL transformation. If the Business Data is associated with an XSD, the XSD is exported and the Variable in the BPEL skeletal process generated is then set to the XSD type. Otherwise, the Variables are set to String type.
    - Business Rules are converted into a Decision Service. The free text in the Rules field is converted into business annotation.
    Hope that helps.
    Best Regards,
    Sidda

  • Error in Passing BPEL variable Contents to BPEL Transform (XSLT)

    Hi,
    Problem Statement:
    ·     I want to Transform data, from schema1 to schema2.
    ·     Schema1 is basically a collection lets say collection of A. in XML terms, it has multiple same type of child elements under the root element.
    ·     Schema2 associated with each child element of Schema1.
    ·     In the Loop, I want to iterate through the schema1 data and iteration count would be as much as number of child elements in it.
    ·     Pick one child element (using index in XPATH) and use it to associate with Schema2 elements.
    ·     In this process I wanted to pass 2 parameters to BPEL Transform activity using properties datatype. (ref: http://blogs.oracle.com/rammenon/2007/05/07)
    ·     However it is not realizing the parameters passed to it.
    Please also suggest me a location to upload the related code for any verification.
    Please suggest the flaw in this and suggestions to rectify.
    Thanks
    Regards
    Joy

    Example counting nodes.
    ora:countNodes('Invoke_FileSyncRead_SynchronousRead_OutputVariable','Root-Element','/ns1:Root-Element/ns1:SiteInfo')
    Set that to Integer variable $count.
    Then set new variable type integer $interator = 1.
    That will give you a proper loop counter for your payload.
    AS far as mapping only certain elements, I would just transform 1st, then pick out what you need with an explicit assign activity to whatever you want to pass that to.
    Hope that helps.

  • XML file manupulation in BPEL transformation

    Hi All,
    I am creating a xml file based on schema using bpel transformation and file adapter. and My xml file looks like :
    <?xml version="1.0" ?>
    <MAIN>
         <HED>
         <VN>2.0</VN>
         <ET>20090714100737002</ET>
         <DT>BUS</DT>
         <EN>E0250005</EN>
         <OC>00000000</OC>
         <SN>0</SN>
         </HED>
         <HED>
         <VN>3.0</VN>
         <ET>20090714100737003</ET>
         <DT>BUS</DT>
         <EN>E0250005</EN>
         <OC>00000000</OC>
         <SN>0</SN>
         </HED>
         <HED>
         <VN>4.0</VN>
         <ET>20090714100737004</ET>
         <DT>BUS</DT>
         <EN>E0250005</EN>
         <OC>00000000</OC>
         <SN>0</SN>
         </HED>
    </MAIN>
    Is there any way that we can remove the carriage return and make it as
    <?xml version="1.0" ?>
    <MAIN>
         <HED><VN>2.0</VN><ET>20090714100737002</ET><DT>BUS</DT><EN>E0250005</EN><OC>00000000</OC><SN>0</SN></HED>
         <HED><VN>3.0</VN><ET>20090714100737003</ET><DT>BUS</DT><EN>E0250005</EN><OC>00000000</OC><SN>0</SN></HED>
         <HED><VN>4.0</VN><ET>20090714100737004</ET><DT>BUS</DT><EN>E0250005</EN><OC>00000000</OC><SN>0</SN></HED>
    </MAIN>
    If any idea, plase advice me.
    Thanks and Regards,
    Sreejit

    Hi Sreejit,
    Not sure about XSLT how you can do this in it? But, as a workaround, you can use java embedded acitivity, get the payload in java and manipulate it as per your requirement and write a file locally using java IO classes.
    Thanks-
    http://www.ibiztrack.com/
    http://www.ibiztrack.com/html/oracle-bpel-soa-training.html
    [email protected]

  • StackOverflowError during BPEL transformation

    Hi,
    I am consuming the webservice of a external company. The webservice returns 5 mb of data with 3777 elements of a complex type with 20 simple types that I need to transform into another complex type with 17 simple types.
    The transformation is a simple for-each loop that loops though the source data.
    Unfortunately the transformation fails with the following error:
    com.oracle.bpel.client.BPELFault: faultName: {{http://schemas.oracle.com/bpel/extension}runtimeFault}
    messageType: {{http://schemas.oracle.com/bpel/extension}RuntimeFaultMessage}
    parts: {{
    summary=<summary>null</summary>
    ,detail=<detail>java.lang.StackOverflowError
         at oracle.xml.parser.v2.XMLText.xdkGetNextNode(XMLText.java:1181)
         at oracle.xml.parser.v2.XMLNode.getNextSibling(XMLNode.java:920)
         at oracle.xml.parser.v2.XMLNode.getSuccessor(XMLNode.java:3460)
         at oracle.xml.parser.v2.XMLTreeWalker.next_Node(XMLTreeWalker.java:334)
         at oracle.xml.parser.v2.XMLTreeWalker.next_Node(XMLTreeWalker.java:353)
         at oracle.xml.parser.v2.XMLTreeWalker.next_Node(XMLTreeWalker.java:353)
    Is there a setting I can set to increase heap size? Or maybe a way to split the transformation into smaller chunks?
    I am using JDeveloper Studio Edition Version 11.1.1.5.0, Build JDEVADF_11.1.1.5.0_GENERIC_110409.0025.6013. I'm running on a WebLogic Server 10.3.4.0
    Thanks,
    William
    Edited by: William Lee on May 14, 2012 2:53 PM Fixed wls version

    Hi,
    Thanks for your replies.
    I realized that the actual transformation actual went well. The error came afterwards in some embedded java which adds nils in the transformed xml.
    Thanks again,
    William

  • Real trouble creating BPEL transform activity, please advise.

    I am using JDeveloper 10G (10.1.3.3.0)
    1. I create a new application, right click it, create a new bpel process project. (Async)
    2. in the bpel design window, I drag a transform activity to the middle, double click it and in the transformation tab select source=inputVariable and target=outputVariable. (then click ok)
    3. up comes the xsl mapping: I drag a line across from the input to the result. (the only option as this only takes in 1 value and only outputs 1 value)
    4. I right click the center and test it. both Transformation_1-Source.xml and Transformation_1-Target.xml are selected. I click ok.
    here I get an error in a pop up window, "failed to transform source xml, null". what does this mean and how do you fix it?
    does this version of Jdeveloper have bugs, I am trying to follow tutorials but I keep getting these kind of errors.
    can anyone get a small example working like this? if so what did you do differently?
    Lavanya
    ps - I also get "failed to save xsl map, make sure xsl map is valid"....starting to wonder if it is a bug
    Edited by: LavanyaHalliwell on Jun 25, 2010 9:42 AM

    I'm having the same problem with 10.1.3.5.0.4306
    10.1.3.4 worked great but since moving up to .5 it's nothing but headaches with xsl. I even entered an SR and was sent a new version of lib/xmlparserv.jar but still have problems.
    Simple one-to-one test transforms even fail as above. If I view the source then go back to design it gives another error "Error: XSL Map generation failed. Please use the source editor to correct the problems an return to the design editor".
    I re-downloaded an installed and it worked for a little while then started flaking out again.
    How do we get it to work like 10.1.3.4 did?

  • BPEL transform issues

    Hi,
    I am using BPEL PM 10.1.2.1. The transform activity seems to be flaky. The transform works fine when it is created the first time. If any changes are made - using the GUI - the changes do not seem to take effect or in some cases the transform errors out. If a new transform is created with the same changes then it works fine. Are there any best practices when using the transform in 10.1.2.1? Any other options?
    Thanks in advance.

    If you make a change in the visual work flow in 10.1.2.1 then the change will map. As an example just add an empty process, save and deploy and the transform will work. on the next change/save delete the empty task etc. its odd but easier than starting and stopping etc .
    Hope it helps,
    Mark

  • BPMN to BPEL nested XOR problem

    Hi everyone
    I'm having a problem when converting BPMN to BPEL. In my BPMN diagram i have various XORs that validate the output of a predecessing process. If the values are not correct, they terminate the process with an error message, otherwise the main sequence continues. The problem is, when i convert my diagram to BPEL, the generated Switches nest in an unorderly manner. I can't find a way to delimit where the scope of one swith ends, so instead of having one switch after another, they nest.
    Normally when you perform branching with XOR gateways, there is a point where you join them with another XOR gateway. But in my diagram's case, that is not possible since one of the branches terminates the process with an end event and there is no way of linking the end event with the joining XOR gateway.
    Does anyone know how to solve this? I would appreciate any help

    Hi,
    sorry for the late reply.
    If I understood you right you have the following issue:
    Start Event -> XOR(Branch A | Branch B with Error-End-Event) -> New XOR(...) -> End
    What you should try is to add a JOIN-XOR after the first Switch. This will result in two independent Switches (one after the other) - even if the Error-End-Event is not connected to the joining XOR.
    Start Event -> XOR(Branch A | Branch B with Error-End-Event) -> JOIN XOR -> New XOR(...) -> End
    Best regards, Danilo

  • Need help in Bpel transformation

    Hi
    I am reading the xml data file through partnerlink , the receive activity is dispalying the xml record.
    I want to transform that data into target xsd.The transform activity is not getting assigned.
    Regards
    mki

    Hmmm.... That seems odd...
    You should drop a transform activity after your receive, double click and open, the drop down on the left you should choose the output variable from the receive activity, and the right side you should select the target xsd schema.
    Then on the bottom either select automapper or create mapping manually, both will open the xslt UI.

  • How to add attribute to the elements in XML file in BPEL transformation

    Hi All-
    I have to create a XML file using transformation and file adapater and the parent element is USERRECORDS, now when I am creating the XML file using transformation the XML get creates like
    <?xml version="1.0">
    <USERRECORDS>
    so on
    But I want the parent element and the xml version tags as:
    <?xml version="1.0" encoding="UTF-8"?>
    <USERRECORDS xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="mySchema.xsd">
    as I need to add the attributes.
    Is it possible in transformation?
    Any idea, please suggest.
    Thanks and Regards,
    Sreejit

    I have never come across any functionality like that.
    However I assigned values to attributes in Assign Acitivity using XML Fragment on source side.

  • How to use sequence in BPEL transformation

    Hi All,
    I want to use some kind of random unique number in my xsl mapping. I Thought to use a sequence which I generated in database, but in xsl mapping I didn't get a way to use database functions. Can anyone suggest something.
    Thanks in Advance.

    Hi Roshni,
    You seems to use an external parameter inside the XSLT. you can you it as <param> defined in xslt. and call that external parameter with the same name inside the xslt to use.
    suppose you need a count variable inside xslt which comes from external service as DB using Adapter to fetch the value. Now inside xslt:
    and then define
    +<xsl:param name="Count"/>+
    and assign value to your
    +<xsl:variable name="CountDetails" select="integer($Count)"/>+
    before xslt call the variable which needs to be populated and assign it to param defined in xslt
    i.e.
    +<assign name="Assign_XSLParams">
    <copy>
    <from expression="'Count'"/>
    <to variable="SMS_int"
    query="/ns3:parameters/ns3:item/ns3:name"/>
    </copy>
    </assign>+
    Hope this helps !!
    Reg,
    MS

  • Looking to use BPEL Instance and counter inside of a transformation

    I'm trying to find a way to include the BPEL instance and a counter within a BPEL transformation to create a unique key.
    Example, picking up files with multiple lines and no unique keys, each file is processed as a unique BPEL instance (key 1), and would like to use the row number (of the file, but not specified in the file) as the second key.
    My process takes a file from a file adapter and loads it into a database adapter if that helps.
    Any ideas would be appreciated.

    We ended up finding a Node-set Function -> Position to return the position inside of the dataset.

  • Transformation issue while using IF condition.

    hi everyone,
    i am using bpel transformation based on the condition of field using IF condition.
    A       B          C          D
    10     20          30          40
    20     20          30          50
    30     30          20          60
    40     40          20          70
    now i need to apply IF condition in transformation on the filed B. if B = 20 transfer the data to one table or B NE 20 to other table
    now my issue is, it is able to differentiate the rows, but the data in the field in second table remains same 20.
    as i hope its storing the data in buffer location and writing it. after mapping with the fields in source.
    can anyone suggest, how to get the actual value after differentiating the records.

    Declare an internal table with two fields lar and another field for seconds.
    IF v_lar01 = 'MSTD' and v_vge01 = 'MIN'.
    it_time-lar         = lar1
    it_time-seconds = t_plpo-vgw01 * 60  " minutes to seconds
    else.
    it_time-lar         = lar1
    it_time-seconds = t_plpo-vgw01 " second
    endif.
    append it_time.
    IF v_lar02 = 'MSTD' and v_vge02= 'MIN'.
    it_time-lar         = lar2
    it_time-seconds = t_plpo-vgw02 * 60  " minutes to seconds
    else.
    it_time-lar         = lar2
    it_time-seconds = t_plpo-vgw02 " seconds
    endif.
    append it_time.
    and so on...at the end sum it_time-seconds and do the calculate to get hrs n minutes from seconds
    Mathews

  • Problem in using query-database() function in Transformation

    Hi All,
    I am using JDev and SOA 10.1.3.4.
    I have an async process.
    In that I am doing a transformation in which source is InputVariable and target is result.
    In Transformation I am using query-database function to fetch a record from DB and am assigning that to result.
    *<xsl:value-of select='orcl:query-database(concat("select ename from emp where empid=",/ns1:DBXSLProcessRequest/ns1:input),false(),false(),"jdbc:oracle:thin:scott/tiger@localhost:1521:abcd")'/>*
    I am not getting any error but query-database is not returning any thing I maen it is returning null.
    If i run that query in SQL prompt it is returning the empname.
    Please help me out.
    Regards
    PavanKumar.M

    Hi Pavan
    I tried following in BPEL transform actvity's XSL file, and it works fine and returns the sysdate for me.
    <xsl:value-of select='orcl:query-database("select sysdate from dual",false,false,"jdbc/myDS")'/>
    Can you try above in new XSL file of Transform activity and let me know its gives you the result? if it works you can start making changes according to your requirement.
    steps to follow:
    1.create connection pool in EM, and make sure its working fine by using test on connection pool.
    2.create Datasource and point to above created connection pool. and restart the oc4j_soa
    3.rename the xsl file name of transform activity in BPEL and use above query-database function.some times xsl files are cached even if you make changes it will not take effect so for testing if you rename it will be good.
    Thanks
    Seshagiri.Rayala
    http://soabpel.wordpress.com/

Maybe you are looking for

  • Pdf form error

    Hello Friends, I am working on <b>pdf based print form (adobe form)</b> in GTS module. When the activity message gets executed, the form is called. I am getting two errors when the activity message is executed. 1) <b>“Error in PDF document formatting

  • Looking to go HD

    I am in the market for an HD video camera in about 1-2 months and was looking for some input. I don't know much about the current models but was wondering about a few things. I would really like to stay away from mini DV. 1) Is there any way to get t

  • Cooltoad MP3 Download, is it possible ?

    Tried to download & Save MP3 File, but gives error while downloading & saving it, Plz do let me known if its possible to download n save MP3 files on IPhone 3G ?????

  • Intel imac (white) will not start up, please help.

    I have a 20" intel imac (white not silver) running 10.6.4. I can not get it to boot up on its own, the farthest it gets is to the Silver Apple with spinning gear. I have tried: 1. safe restart - the result is - I get a circle with slash and the a fol

  • Ipod totally frozen

    The screen says do not disconnect, nothing is happening, and i-tunes does not recognise ipod - computer cannot restore settings as it says "problem downloading ipod software". Any clues ?