Wednesday, July 10, 2019

After Record Submit User Event Errors in Web Services

There are instances when a record is created/updated via Web Services and the SOAP response returns an error. However, the record was successfully created/updated.

This usually happens when a user event script or workflow is deployed on After Record Submit. Since the script or workflow will only be triggered after the record has been created/submitted, no error is returned upon submission of the record. After the record is submitted into the database, the script or workflow is executed. When a user event script or workflow failed, it is manifested on the SOAP response as an error.

Since this causes confusion if the record is indeed created/updated, an enhancement 227879 to have additional SOAP response status for After Record Submit user events.

No comments:

Post a Comment