Add Resource To The Account Team Using Groovy (Doc ID 2206656.1)

Last updated on NOVEMBER 22, 2016

Applies to:

Oracle Fusion Sales Cloud Service - Version 11.1.11.1.0 and later
Information in this document applies to any platform.

Symptoms

On : 11.1.11.1.0 version, Accounts, Contacts, Households

Server error when a groovy script to add sales team member is invoked.

Customer Requirement
Currently logged in user should have the ability to add himself to the team by selecting a check box “Add to Team”.
This customization would allow the user have access to the leads created on accounts in which he is not part of the team by adding himself to the account team.

STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Created a custom check box field
2. Added a script on the before update trigger to add the currently logged in user to the account team
Observe Error thrown when Groovy is invoked

BUSINESS IMPACT
-----------------------
The issue has the following business impact:
Due to this issue, customer's requirement is not met.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms