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
VinuVinu 

Is it possible to invoke a trigger using workflow?

Hi All,

 

I just  need to ensure about the workflow

Is it possible to invoke a triiger using a workflow action

 

I tried some what, But i cant able to go further,

Here i was stumped and i need some one assistance to acheive

 

Any help can be appreciated greatly

Thanks

Vinu 

Best Answer chosen by Admin (Salesforce Developers) 
MandyKoolMandyKool

Hi,

 

If your workflow updates any field on your object; then a trigger on that object (if present for update) will fire.

All Answers

SFDC_EvolveSFDC_Evolve

I do not think . We can Invoke the Trigger from WorkFlow .. .  

MandyKoolMandyKool

Hi,

 

If your workflow updates any field on your object; then a trigger on that object (if present for update) will fire.

This was selected as the best answer
SATZSATZ

Hi,

I created One pick list field in Education Object called Status.
Im using the following condition in my workflow rule as following

Evaluation Criteria :When a record is created, or when a record is edited and did not previously meet the rule criteria
Rule Criteria : Education: Phase 3 Subscription End Date equalsTODAY.
Time-Dependent Workflow Actions : 1 Hour After Rule Trigger Date
Field Update = Status Update.

i Create the Education records then auto matically Educatin Tracker record Created phase3 also populated. current Phase 3 Subsciption end date i choose 7/4/12 .

once 7/4/12 <= Today happend we need to invoke the trigger remove the value in EducationTracker object



 

SamuelDeRyckeSamuelDeRycke

I don't think it will work that way, your objects are just stored as data. I think you would need to run a schedulled class/batch operation to verify your objects,and then update them if they no longer match certain creteria.

 

(I could be wrong though)