When implementing a requirement: users are automatically added to a team called “service team” after creation, they encounter a strange error. The error log of CRM is only a simple “generic SQL error.”.
Example code:
//Join the specified team
systemservice. Association (“systemuser”, systemuserid, new relationship (“team membership_association”), relatedentities);
Solution: change the plug-in to asynchronous execution.
reason:
Because there are already records about this user and this team in dbo.systemuserprinciples, but this user is clearly new and should not appear in this table. Therefore, you can’t understand the specific reason for the error through the prompt, so you search this as a keyword, Finally, we found the same situation encountered by some people in foreign communities. It is recommended that the reason for this error should be that the system did not complete the creation operation when the systemuser’s postlocation event was triggered. We only need to change the original plug-in to asynchronous execution.
new_ sapinvoiceno
Similar Posts:
- Causes of Android “handlereceivecallback” error
- [Solved] virtualbox Kernel driver not installed(rc=-1908)
- Terminating app due to uncaught exception NSUnknownKeyException, reason [How to Solve]
- Unable to preventDefault inside passive event listener due to target being treated as passive?
- On the initialization of dynamically generated elements by select2
- Couldn’t communicate with a helper application.
- Using multiple tables_ Hash hint, are you right?
- Failed to parse source for import analysis because the content contains invalid JS syntax
- ES Error:”illegal_argument_exception” [How to Solve]
- Spring @Async interrupt/Unable to acquire JDBC Connection