Skip to Content
avatar image
Former Member

BPM...needing help in a simple test case...

Hi guys,

I'm having some trouble with the creation of an integration process.

My idea is to create the following process:

Legacy Nº1-->(FILE) -- > XI -> (FILE) > Legacy Nº2, after Legacy Nº2 receives the file (Purchase Order), one of the fields of the purchase order will be submitted to a validation.

If the field is correct it will send another file back to legacy Nº1 with the approval of the purchase order.

In a BPM, how would this be look like?

I'm able to send the purchaseOrder, but How would the validation of the field be executed? And what components would then be placed in order to achieve the validation and the corresponding sending?

Thank you guys...I'm greenish at BPM...

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Nov 21, 2005 at 04:16 PM

    Hi Goncalo,

    You can validate of a particular field of a message in the transformation step. And then you can have switch step to decide on wheather to send the purchase order or not.

    Also let me know what kind of the validation you want to perform like format check, value check or lookup in another system.

    Anand

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Goncalo,

      >>The thing is, i would want to implement some kind of validation on this files. How would you suggest this validation?

      If tou want to do some kind of validation once the file is written then you need have your own mechanism to do this . Since the file adapter is in asynchronous in nature you will not get any application acknowldegement . you can use OS command option in file adapter to invoke java code and perform your validations using java code and send the response message back to XI.

      Check this thread...

      Acknowledgement File receiver adapter

      >>If I have more BPM doubts, which i'll certainly have, I'll be posting, oK Anand?

      no problem 😊

      Anand