cancel
Showing results for 
Search instead for 
Did you mean: 

How to implement in XI?

Former Member
0 Kudos

Hi All,

Can any one tell me the solution for the following problem: "One file contains all the information about all the movements/sales of the store. If a new file for the same store / date is put in the folder then it means that the movements resulting from the first file must be reversed, before the new (second) file is uploaded".

How to implement this in XI?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

your description is a little bit short but i hope that is what you need:

/storeA/sales.xml

/storeA/date.xml

-> reverse sales.xml if date.xml exist

Use an File adapter and poll for date.xml

Send this to an BPM process and start a new Sender (File adapter) to get date.xml. Now you can modify this file.

Be careful:

……….before the new (second) file is uploaded"……….

This is a hot situation; you want to rebuild logic on XI that should be given on Sender side.

What will happen if XI is down? Then the application will save the new file without reverse the old one.

Regards

Daniel