You need to sign in to do that
Don't have an account?
Raghav T
how to generate logs for Connection User while using PartnerNetworkRecordConnection ?
Hi there,
I have setup the Salesforce-to-Salesforce connection through which i am trying to send the Case records from Org1 to Org 2.
In Org 1 i have written a PartnerNetworkRecordConnection code to send Case record data.
Here's a probelm In Org 2 I also created a trigger that can target the newly created Case record so that i can catch the record comming from Connections and perform some actions. But I am not able to generate any logs even system.debug().
Trigger Code :
I have setup the Salesforce-to-Salesforce connection through which i am trying to send the Case records from Org1 to Org 2.
In Org 1 i have written a PartnerNetworkRecordConnection code to send Case record data.
Here's a probelm In Org 2 I also created a trigger that can target the newly created Case record so that i can catch the record comming from Connections and perform some actions. But I am not able to generate any logs even system.debug().
Trigger Code :
if(Trigger.isAfter && Trigger.isInsert){ System.debug('Inside trigger InitalCaseLoadFromEmmiTrigger'); InitalCaseLoadFromEmmiTriggerHandler.initailCaseLoad(Trigger.new); }
You can check debug a system user and see if you can see any logs. Kindly review below article for detailed steps.
https://help.salesforce.com/s/articleView?id=000386565&type=1
Please mark as Best Answer if above information was helpful.
Thanks,
Represents a record shared between Salesforce organizations using Salesforce to Salesforce.
Supported Calls
create(), query()
must see this all information here: https://developer.salesforce.com/docs/atlas (https://developer.salesforce.com/docs/atlas.en-us.210.0.object_reference.meta/object_reference/sforce_api_objects_partnernetworkrecordconnection.htm)
Thanks,
https://www.miocado.me/