Skip to main content
Shyamala Lokre (SALESFORCE COM INC) 님이 #Security에 질문했습니다
I am getting this error when I am trying to execute Auth.AuthToken.revokeAccess() from uaser after/before update trigger if a user is inactivated. Can someone please tell me why I am getting this error. I didnt find any documentaion for setCommitAllowed() method.

 

"execution of BeforeUpdate caused by: System.UnexpectedException: commits are not allowed because someone called setCommitAllowed(false), justification: doWorkAndCommit: (System Code)"
답변 3개
  1. 2014년 12월 5일 오후 9:52
    This Answers Community is focused on configuration and design questions. Programmatic questions are best submitted to the developer forums at https://developer.salesforce.com where the forums and participants are geared toward programming troubleshooting and support. 
0/9000