cancel
Showing results for 
Search instead for 
Did you mean: 

BPM Need Help ASAP

rodrigoalejandro_pertierr
Active Contributor
0 Kudos

hi all,

Im doinga ccBPM. this BPM receive data from a WS>JDBC>JDBC-->WS

that means i send a request from WS, open a S/A bridge> map the ws request to a SP-> the SP send me a response like this

<resp>

.....<route>

..........<xxxx>

..........<xxxx>

..........<xxxx>

..........<xxxx>

.....</route>

.....<route>

..........<xxxx>

..........<xxxx>

..........<xxxx>

..........<xxxx>

.....</route>

</resp>

now i have a fix structure like this

<MT_xxxx>

...<OneSegmente>

........<OneField>

........<OneField>

...</OneSegmente>

...<SecSegment>

......<child>

.........<subchild>

...............<OneField>

...............<OneField>

.........</subchild>

.........<subchild>

...............<OneField>

...............<OneField>

.........</subchild>

......</child>

</MT_xxxx>

now my problem is next. i have to read RESP and for each ROUTE i must map it with each SUBCHILD and send it to second JDBC.

FOR EXAMPLE:

-


<repeat for each ROUTE>

<Repeat for each SUBCHILD>

....................map ROUTE with SUBCHILD

....................execute SP.

....................if (RESULT = 1 OR EOF SUBCHILD )--->finish <Repeat for each SUBCHILD>

if (GATE <1 or EOF ROUTE) -


finish <repeat for each ROUTE>

-


GATE - RESULT come in the response structure of SP

that its clear??

THANKS a lot

RP

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

your

...<OneSegmente>

........<OneField>

........<OneField>

...</OneSegmente>

is common..and u just need to map with <SecSegment> node

so try to map ur <resp> node with <secSegment>

Regards,

Manisha

Former Member
0 Kudos

Does your "route" has same occurence as your "subchild" in the target ?

Liang

rodrigoalejandro_pertierr
Active Contributor
0 Kudos

no, it doesnt route have 0:N and SUBCHILD 0:5.

Actually the block step in my BPM process forEach Message and also have an EndCondition for ROUTE and another Block for SUBCHILD.

what im doing is create a multiline container for each SUBCHILD and another multiline for ROUTE

that is ok?

any sugguest?

Regards

Rodrigo