IBM Sterling Transformation Extender

Sterling Transformation Extender

Come for answers, stay for best practices. All we're missing is you.


#Sterling
#Supplychain
 View Only
Expand all | Collapse all

WMB + WTX - Stop the message within WTX node

  • 1.  WMB + WTX - Stop the message within WTX node

    Posted 12/03/15 07:06 PM

    Originally posted by: Suresh Patnam


    Hi,

    Flow: MQInput --- > Compute ---- > WTX(dont not send the message to output terminal if some conditions are not met) ---- > MQOutput

    I've a requirement where I've to stop the message if some condition is not met. ie not generate output card from the WTX node

    I've tried using PUT function to propagate the non complaint message to un wired terminal of wtx node in the broker flow. It works.. but the map still generates unmapped  output message from the wired terminal.

    I've also tried using property "CreateOnContent" on the output card. But the map doesn't generate a blank message and always has atleast the root element incase if nothing is mapped.

    I've tried with SINK adapter and I still see message coming from the output terminal. The only way I could find to stop the message within WTX node is to remove the output terminal

    If you know any way to abort the map without actually failing it, please let me know.  we can't afford to fail all the non complaint messages. We just have to ignore it in the WTX.

    Just like RETURN FALSE in ESQL

    Thanks 
    Suresh


    #IBMSterlingTransformationExtender
    #DataExchange
    #IBM-Websphere-Transformation-Extender


  • 2.  Re: WMB + WTX - Stop the message within WTX node

    Posted 12/04/15 04:11 AM

    Originally posted by: Laurent(Satisco)


    Not sure I understand the "CreateOnContent" issue.

     

    If the type tree has a mandatory element, it may actually always create the output, but you could create a new card which you populate ONLY if needed (i.e. if the actual data is there, not a blank structure). This ccard could be set to CreateOnContent, while the previous would be a "sink" which would be destroyed after map ran.

     

    Hope this helps


    #IBMSterlingTransformationExtender
    #DataExchange
    #IBM-Websphere-Transformation-Extender