Passing data between two instances
I am trying to pass data (custom object) from one instance to another instance. Below is the list of tasks done till now.
1. Taking email as input, querying the email and fetching ID of that contact.
2. With this ID and another field querying the custom object and passing it.
3. Fetching all the values of that custom object.
4. For fields having string or integer as data type, I am able to pass data between the two instances.
5. For fields having Menu as data type, I am getting an error as cannot cast one instance type to another instance type.