I have an integration between Salesforce and some other third party.I am sending all values through xml, While sending I am getting error.
Error: Validation error occurred. Invalid ID value. 'address' is not a valid ID value for type = 'Launch_Parameter_Name'
Code I have written:
body = body + '<bsvc:Integration_Launch_Parameter_Data>';
body = body + '<bsvc:Launch_Parameter_Reference bsvc:Descriptor="?">';
body = body + '<bsvc:ID bsvc:type="Launch_Parameter_Name" bsvc:parent_id="'+label.WD_SFDC_EIB_Integration_Name+'" bsvc:parent_type="Integration_System_ID">address</bsvc:ID>';
body = body + '</bsvc:Launch_Parameter_Reference>';
body = body + '<bsvc:Launch_Parameter_Value_Data>';
body = body + '<bsvc:Text>'+Owneremail+'</bsvc:Text>';
body = body + '</bsvc:Launch_Parameter_Value_Data>';
body = body + '</bsvc:Integration_Launch_Parameter_Data>';
In above code I am passing owner email as a address (address is a launch perameter). for example I have written code in 'A' object, I have a field called 'Field' in A onject itself but I am getting data for this field from B object.while triggering integration I am getting above error,
Thanks,
1 Antwort
Hi Siva,
Sorry for the inconvenience. In case you don't receive a response here, may I also suggest joining the Developer forums below to collaborate with the experts for best practice and advice.
https://developer.salesforce.com/forums
https://salesforce.stackexchange.com/
Hope that helps.
Regards,
Jayson