Cast Invalid Error

Hi,

I am getting cast invalid error when I am trying to store a value in my cdt field which refers as foreign key. 

The scenario is  I am passing the product name as parameter and fetching all the details of that product using expression rules.

Now the product id I want to store in another cdt  then it is showing cast invalid error.

Please help me to resolve this error.

Thanks,

  Discussion posts and replies are publicly visible