Article ID: 123402, created on Nov 5, 2014, last review on Nov 5, 2014

  • Applies to:
  • Business Automation

Symptoms

AccountAdd_API and UserAdd_API are executed in PBA inside a transaction. Then transaction is rolled back, but user and account are still created in POA, while in PBA no account or user is created. Why?

Cause

AddAccountMemberToPEM handler of User Created event in PBA is set to be Synchronous. Check PBA Home > System > Settings > Events > Event Types > User Created > Event Handlers > AddAccountMemberToPEM (PBA 5.5 and later) or Home > Configuration Director > Event Manager Settings > Event Types > User Created > Event Handlers > AddAccountMemberToPEM (PBA 5.4 and earlier):

Synchronous     Yes

By default this handler is not Synchronous and in that case Account will not be created in POA.

Resolution

If the handler was set to Synchronous for some reason - check if it is still needed. Set the handler back to not Synchronous.

Search Words

api

rollback

account created

198398b282069eaf2d94a6af87dcb3ff caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07

Email subscription for changes to this article
Save as PDF