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
sultansultan 

can we write a Trigger on workflow?If yes How to achieve this?

Best Answer chosen by sultan
Jha dilipJha dilip
Hi Raju,

Trigger and workflow both are different and the thing which we can't achieve through workflow we can do it by Trigger. i don't think we can't write trigger on workflow

All Answers

Jha dilipJha dilip
Hi Raju,

Trigger and workflow both are different and the thing which we can't achieve through workflow we can do it by Trigger. i don't think we can't write trigger on workflow
This was selected as the best answer
Grazitti TeamGrazitti Team
Hi,

I believe we can not create a trigger on Workflow object, although we can manipulate workflows by apex code using Tooling API.

Please find below some URL and  go through it, no doubt, Tooling API is really very interesting-

1. Tooling API Objects
2. Tooling Api Tutorial (http://www.salesforce.com/us/developer/docs/api_tooling/index.htm)

Reply back , if you need more help regarding this.

--
Regards,
Grazitti Team
Web: www.grazitti.com