cancel
Showing results for 
Search instead for 
Did you mean: 

How to maintaining state of a file in XI

Former Member
0 Kudos

Hi Experts,

There is a requirement like:

-It is a File to Proxy Scenario.

-XI needs to process one file per day per agency. In case a second file is received from same agency same day – the file should not be processed but error message should be sent to the concerned agency.

So please suggest how to achive this.

Thanks in Advance,

Jyothsna.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Jyothsna,

To acheiving this you can do some coding in your proxy itself. What ever the files being processed for agencies make an entry in a Custom Data base table.While processing the files make a check on that table for the agency entry is existing in the table on same day. If an entry for agency is existing you can write an error message to application server Else you can process that file.

You can post if there is any other things needs to be taken care if you are followed the same.

Cheers

Veera

Former Member
0 Kudos

Hi,

U have to process the 1 file for every day nice senraio,U can do this in RWB,in RWB u have option to shedule the process the fiel for 1 day or for 1 week or for 1 month.Try to use that option and it may rise an error.

Try it and update the thread.

Regards,

Phani

Former Member
0 Kudos

Hi Phani,

This is nice idea to set the poll interval in RWB, but it will not raise any error as the communication channel will not consider any new files unless the specified poll interval will not be finished.

It needs BPM with short poll interval so the file adapter could deal with the files added later on also.

Thanks

Swarup

Former Member
0 Kudos

Hi,

This one is really interesting scenario.

By using the poll interval you could restrict the file processing by XI for one file per day, but then the error notification for another file in same interval will not be possible.

I think you need to use BPM to achive both conditions.

Once the file is processed, you need to set the flag in container, it will allow you redirect to the erro notification for sending any more files to XI.

Thanks

Swarup