+ Start a Discussion
MsKnightMsKnight 

Triggering Workflow Alerts and Tasks with Apex

Hi,

Is possible to trigger a workflow alert and/or task using Apex?


Thanks!




Message Edited by MsKnight on 03-13-2008 04:14 PM
Ron HessRon Hess
Yes, i think so.

you can create a task, with reminder set to TRUE and due date to system.now().
that should popup a reminder box for the owner of the task record.

for workflow, you can move records thru workflow using Apex, but to be of any real help, i'll need to understand what your requirements are in more detail.
MsKnightMsKnight
Hi Ron,

I already have workflow alerts and tasks built in Salesforce and I want to call them with Apex code. Is this possible?

For example:
When an Opportunity Stage changes, call:

An email alert to a manager
A task to an assistant


Thanks.
N-forceN-force
Is it possible to track all my sales reps "TASK" in calendar view. I know that calendar view is to track events.

Generally i want to see how my sales reps are engaged in terms of there task in Salesforce calendar.