tag:blogger.com,1999:blog-3163514944944630172.post7922223903767746505..comments2024-03-28T06:41:59.952+01:00Comments on Oracle SOA / Java blog: Parallel execution using FlowN and variable scopingMaarten Smeetshttp://www.blogger.com/profile/12342949217644842900noreply@blogger.comBlogger1125tag:blogger.com,1999:blog-3163514944944630172.post-44866053605545931742012-12-31T23:14:59.588+01:002012-12-31T23:14:59.588+01:00hi, i am a beginner in soa. i am practicing flowN...hi, i am a beginner in soa. i am practicing flowN activity and faced the same issue as your mentioned i.e. without using local variables. <br /><br />1)created an async process.<br />2)Getting employee data as a input(name,id,designation and dept)<br />3)empCount=counted no of 'Name' nodes in the input message.<br />4)FlowN step: N= getvariabledate(empCount)<br /> index= indexVar (created a variable of type:int)<br />5) included scope in flowN activity<br />6) included sequence in scope activity.<br />7) created a partner link (async hello process)<br />8) included invoke step in the scope to invoke Async Hello process<br />9) now, included assign step to assign 'Name' input to Async Hello Process input. (did using expression: getElement fn<br /><br />after testing the above one with an input having two employee detals i.e. indexVar=2, as your mentioned, i see the index variable is incrementing correctly but all the time first node 'Name' element value is getting passed to Async process. Would you please elaborate, creating a local variable in FlowN scope will fix the issue. Please advise me. Thanks<br />Anonymousnoreply@blogger.com