Thank you for taking the time to read my question, I am new to Salesforce but have experience in Java, SQL and other languages.
I am creating a Trigger on Opportunity that will create a Contract, the question I have is since my company uses Many Opportunity Page Layouts, I want the Contracts to only be created if the user is on a certain Layout.
Example: Opportunity Layouts are: Admins, HService, Maintenance Renewal,Opportunity ,SALES.
If Opportunity Layout is HService then run trigger. but I do not see a way I can do this.
Any help would be greatly appreciated, Thank you very much