Reg: variables not getting populated at run time

Hi,

Scenario: We are using As2 connectivity for EDI transactions. Partner
sends us EDI files to wM TN and we process the files (inbound)

Problem:
Every thing is going smoothly, sending backMDN, decrypting, invoking processing rule service and processing.
The problem is when the flow goes from end-end, a variable is not getting submitted at run time and is throwing exception. When I trace or reprocess, the service works fine. Error occurs only in the complete cycle
– user sends file and wM service kicking of by processing rule –
When we reprocess the failed service, this time the svc works fine.

Any clue about this pls

what is the exception you are getting in real-time?