function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Siddharth LakhotiaSiddharth Lakhotia 

Trigger not getting fired for different profile ?

Hi ,

I am not able to see a related list( Classification) for a paticular profile.  The scenerio is such that , whenever an account is created , a related list called classification is created. this functionality is achieved via trigger and trigger handler class. However , The trigger is getting fired for Malaysia profile and not for Thailand Profile. even though I have cloned Thailand profile from the Malaysia one. Can anybody help on this ?
Dutta SouravDutta Sourav
Hi Siddharth,

I hope you have used Name/Profile Id for Malaysia profile in the Trigger.
When a New Profile (Thailand) is created from  Cloing Other (Malaysia), Profile Id becomes different.

I would suggest to check whether you have included the Profile Id/Name for Thailand Profile in your Trigger.

Best Regards,
Siddharth LakhotiaSiddharth Lakhotia
In code, there is no mention of profile name or I'd. However I have found one thing it's taking from custom metadata. While executing select queries on developer console I found thst it is not detecting Thailand profile values.
Siddharth LakhotiaSiddharth Lakhotia

Can anybody help on this please ?