You need to sign in to do that
Don't have an account?

Error rectification
Hi I am trying to map some fileds from salesforce to another organisation where i am mapping an sobject to prophecy objecy I am getting this error
common.apex.runtime.impl.SObjectList cannot be cast to common.apex.runtime.impl.ScalarList.
Can some one tell me when this error comes
Can you tell the data types of the field in Source as well as in Target that is mapped to?
Actually iT is stype string
String SecurityCode='***********************************';
string[] CaregiverIDs= addlist;
//here assessments are those in the extrnal organisation but as it is of type string i had to pass id's
list<string> addlistc=new list<string>();
for(Assessment__c ass:selectedAssessments )
{
addlistc.add(ass.id);
}
string[] Assessments=addlistc;
Firstly I have generated the class from a wsdl of prophecy organisation.in the proccess I had to change any type to string .
And I dont have an idea what type is for assessment object that I had to send to the prophecy organisation.As it is strinfg I had passed string and I am getting error