1 réponse
Hi Shraddha,Greetings!I don't think this is possible only with the Process builder or Flow alone.You might need to use an @Invocable method where you need to query the profile of the user who is creating the records and restrict as you do in the trigger.Reference:https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_classes_annotation_InvocableMethod.htmKindly mark it as best answer if it helps so that it can help others in the future.Warm Regards,Shirisha Pathuri