Agent determination code is written in the method of task and thereby the container value is getting populated. Hence in the log no value is returned from the method and thus no agent is found.
However I have debug the method with pernr(import parameter) and the value is getting populated correctly.
I have checked the binding event -> workflow which is also correct as per requirement. The same workflow is working fine in another server. I have copied this worflow into another server and come across this issue....