cancel
Showing results for 
Search instead for 
Did you mean: 

Sender File Adapter should run only when trigger file is found PI 7.1

Former Member
0 Kudos

I am using PI 7.1 . I have a File Sender Adapter communication channel that needs to poll for a trigger file - input.trg . Only If that is found then it needs to pick up the actual data file - input.dat . The Transport Protocol is FTP not NFS, so I cannot use standard features like 'Addtional Files'.

Is there any other workaround for this ? OS Commands etc?

I have also read that I can use BPM for this . Could anyone help me out with the steps and if you have any good blog on BPM.

Thanks !

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

i think you can solve this requirment using OS commands ..

Chk within your OS command before message Processinbg for the Trigger file ,if it exists continue processing with the other data files ,else send a time out error.

now in your OS command for after message processing chk for the same trigger file and delete it.

Regards

Souz

Former Member
0 Kudos

This message was moderated.

former_member187339
Active Contributor
0 Kudos

Hi Dev,

You can use BPM for this. The steps benig

1. Fork with two receive step (one for trigger file and one for dat) . The end condition of fork is when both brach is completed.

2. transformation step

3. send step

you can use a dummy correlation between the two input files (trigger and dat input file)..

Regards

Suraj