DataPower

DataPower

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  On-Error Action and Error Rule in Datapower

    Posted 09/30/22 04:14 PM

    I have a request rule where I am doing parallel call (two backends) as below.

    match --> skip-backside--> request XSL --> on-error(continue) --> results action --> event-sink --> response XSL --> results.

    I am supposed to continue the flow when any of the call fails, treating it as partial success. But if both fails - error rule should be triggered.


    Issue is that in above request rule design, partial success is working fine i.e., if any of the two call fails it is treated as partial success and flow continues.

    But if both calls are failing, then instead of aborting the flow and calling error rule, it is still completing the request rule and exiting. I tried placing on-error(abort) after response XSL, used dp:reject in response XSL but not useful as call still exits through request rule instead of error rule.

    so how can I trigger error rule from above request design?

    Thanks.



    ------------------------------
    sravan K
    ------------------------------


  • 2.  RE: On-Error Action and Error Rule in Datapower

    Posted 10/03/22 09:19 AM
    Where is your first backend called?   I see a results action followed by an event sink, but not sure what of these actions are async at this point.  Is that results action a multi-way?

    ------------------------------
    Joseph Morgan
    ------------------------------