Skip to Content
0
Apr 08, 2009 at 06:41 AM

Variable Substituition throwing an error for empty payload

46 Views

Hi All,

I am using variable substituition in the receiver file adapter...

Everything is working fine and the variable substituion is working and creating a file whenever the payload in the mapping has the filenode field for variable substituition.

Now based on some condition the payload will be empty in the mapping then no file to be created...

For this i used IGNORE in the receiver adapter BUT still an empty file is being created, this is because the payload will have the filenode field ...

Now my question is how can we stop in creating an empty file...

Even i tried using Dynamic Variable in the mapping but that to throws an error...

Please suggest me on how to solve this...

Regards,

sridhar