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
atulit27atulit27 

How to call a trigger through an approval process?

We have an approval process and I want to call a trigger without updating any field. Is it possible to call a trigger through approval process?

Best Answer chosen by Admin (Salesforce Developers) 
Chamil MadusankaChamil Madusanka

Hi,

 

There are four types of workflow actions available;

  • Task
  • Email alert
  • Field update
  • Outbound message

So You can use a hidden field and update it during the approval process. Using that updating u can invoke a trigger. Otherwise there is no method to invoke a trigger in workflow and approval process.

 

If a reply to a post answers your question or resolves your problem, please mark it as the solution to the post so that others may benefit.

 

Chamil's Blog

All Answers

Chamil MadusankaChamil Madusanka

Hi,

 

There are four types of workflow actions available;

  • Task
  • Email alert
  • Field update
  • Outbound message

So You can use a hidden field and update it during the approval process. Using that updating u can invoke a trigger. Otherwise there is no method to invoke a trigger in workflow and approval process.

 

If a reply to a post answers your question or resolves your problem, please mark it as the solution to the post so that others may benefit.

 

Chamil's Blog

This was selected as the best answer
atulit27atulit27

Thanks