0

I have some accounts when a user click the button on account and create an Activity record then an Opportunity record need to be created. I tested this in fullcopy sandbox as admin and user the opportunities are created successfully, compared the code in both prod and sandbox are same. checked the object permissions on profile it is having read,Create, edit are there. What would went wrong in Prod users were not able to create opportunities.

2
  • I think you are doing this through trigger? Is it active? :)
    – Mr.Frodo
    May 9 '16 at 15:47
  • Yes, it is active.
    – Suresh
    May 9 '16 at 16:33
1

If your analysis was only made based on the sandbox environment check when was the last time it has been refreshed, as in the meantime the might be the case that other functionality has been added to the production environment, such as triggers workflows or permission sets which might not align with the same ones on sandbox.

As @Mr.Frodo suggested you might want to check the meta data of all the triggers as well, as you might have overlooked this.

1
  • You are right I took another sandbox which was not refreshed longtime and compared the profiles then I noticed that the obj permissions on profiles are not matching.
    – Suresh
    May 9 '16 at 17:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.