function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
GauravKumarGauravKumar 

Invalid Status For Partner Network Operation Exception

Hi,

I am creating PartnerNetworkRecordConnection records for selected opportunity.

My Code is

 

 

           List<PartnerNetworkRecordConnection> list_connRec = new List<PartnerNetworkRecordConnection>();
            for (Opportunity o : (List<Opportunity>) con.getSelected()) {
                PartnerNetworkRecordConnection newrecord = new PartnerNetworkRecordConnection();
                newrecord.ConnectionId = ConnectionId;
                newrecord.LocalRecordId = opportunity.Id;
                newrecord.SendClosedTasks = true;
                newrecord.SendOpenTasks = true;
                newrecord.SendEmails = false;
                list_connRec.add(newrecord);
            }
            if(list_connRec.size()>0)
                insert list_connRec;

 

 

 

at the time of save i got this error and  Error message is

 

__MISSING LABEL__ PropertyFile - val InvalidStatusForPartnerNetworkOperationException not found in section Exception

 

can anybody help me, how can i resolve this error

 

Thanks

 

 

Chirag MehtaChirag Mehta

I'm also getting the same error, Where you guys able to find any solution?

SFDummySFDummy

can any one help what causes this error.

 

I am getting this error only for some users.