Work around the “insufficient access rights on cross-reference id” error that Partner Community users get when they create records if Plauti Assign is set to process all records by default.
Many businesses use an Experience Cloud site (a partner portal) to provide their business partners with limited access to Salesforce and to make data sharing easier. When a Partner Community user creates a Lead or other object record on the site while Plauti Assign is set to process all Leads (or other records) by default, the user sees this error:
insufficient access rights on cross-reference id

To work around this, set Plauti Assign to 'off' by default for the object, and let an automation turn it on after the record is created. This article uses Lead as an example, but you can apply it to every object you assign with Plauti Assign.
1. Disable Plauti Assign by default
First, make sure Plauti Assign doesn't automatically process the object as soon as records are created.
- Go to Salesforce Setup > Object Manager > Lead (or your Object) > Fields & Relationships.
- Open the Use Plauti Assign field.
- In the 'Values' section, click Edit next to the
FALSEvalue. - Select Make this value the default for the master picklist.
- Click Save.
2. Create a Flow that enables Plauti Assign
Then, create a Flow that enables Plauti Assign at a later moment, so that it doesn't fail right away.
- Still in Salesforce Setup, go to Flows and click New Flow.
- Select Record-Triggered Flow.
- Under Select Object, select
Lead(or your Object). - Under Trigger the Flow When, select
A record is created. - Leave Condition Requirements set to
None. - Under Optimize the Flow for, select Actions and Related Records.
- Add an Update Records element.
- Set it to update the record that triggered the Flow.
- At 'Set Field Values for the Lead Record', have it set Use Plauti Assign to picklist value
TRUE. - Save and Activate the Flow.
The partner user now creates the Lead without triggering Plauti Assign. Right after that, the Flow sets Use Plauti Assign to TRUE, and Plauti Assign assigns the Lead from there. Plauti Assign then changes the value to ASSIGNED (if it assigned the record) or NOMATCH (if it found no match).
This workaround also works with other ways of creating Leads, such as web-to-lead or marketing automation that feeds Leads into your org, and for other Objects.