IBM Sterling Transformation Extender

Sterling Transformation Extender

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


#Sterling
#Supplychain
 View Only
  • 1.  WTX - preparing while in WTX.

    Posted 05/29/15 09:30 AM

    Originally posted by: anuaspriya



    Hi,
    My requirement is as follows:
    We have an output card which has an if condition. If condition is true, then it calls a functional map, if not this output card should be called again. It means, if condition is false, then, we need to check for the condition(within if condition) until and unless, the condition becomes true. Can you guys suggest something. Basically, I need to create a while loop for this requirement. Thanks in advance.


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


  • 2.  Re: WTX - preparing while in WTX.

    Posted 06/01/15 04:47 PM

    Originally posted by: Tim Rabbitt


    Hello:

     

    This reads like you are waiting for a particular event to happen.  What is this event?  Have you considered using the WTX Launcher to trigger of of an event?

     

    Regards,

    Tim Rabbitt


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


  • 3.  Re: WTX - preparing while in WTX.

    Posted 06/02/15 12:45 AM

    Originally posted by: anuaspriya


    Thanks for the reply! The problem is if the condition is false, I want the 'if' condition in this card to be called up again. I haven't considered Launcher for this. Do, we have any event to call the same output card.


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


  • 4.  Re: WTX - preparing while in WTX.

    Posted 06/02/15 09:40 AM

    Originally posted by: Tim Rabbitt


    Hello:

    Let's go back to his IF condition.

     

    Can you explain in more detail?  If you can provide information as to what this IF condition is looking through. You can't call an output card again but if you can explain what you're trying to accomplish with this data we can possibly suggest another method.  Knowing more about what the data is that you're processing (structure wise) and what the intended output is might help.  It's possible you might need another functional map or a run map to assist here.

     

    Regards,

    Tim Rabbitt


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


  • 5.  Re: WTX - preparing while in WTX.

    Posted 06/02/15 10:06 AM

    Originally posted by: anuaspriya


    Ok. Here is my problem:

     

    1) We have a location where we are copying a file using -OF2 adapter using "OF2"+location. Say location is filled up as part of output card 2. Now at output card 7, we want the insertion into one of the tables, if this file is completely copied. If file is completely copied, then we give call to functional  map, which do insertion in table. If condition is false, what I want is to check for this IF condition, until and unless our file is completely copied to that location. Am I clear with this?

    2) Also, -OF2 tries to copy an xml file at that location. I am not sure how -OF2 copies the file, if it do line by line, then we need can check for last nodes of xml using XPATH. If -OF2 copies the file in one go (means, either the file will be there in that location, or it won't be there at all, means partial file will never be there), then we can simply put a check of PRESENT(file) in our IF condition.

     

    Thanks,

    Anupriya Gupta


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