You need to sign in to do that
Don't have an account?
Kevin Moormann
Execute Workflow Rules from Apex
Is it possible to execute a workflow rule from an Apex class.
For example could I query the metadata of an Opportunity and get back the array of all workflow rules (e.g., WorkflowRule[]) then execute a specific one?
WorkflowRule rule = WorkflowRules[0];
rule.execute();
Thanks in advance.
I think you might have better luck posting this on the Apex board http://boards.developerforce.com/sforce/board?board.id=apex