Answered by:
how to trigger a workflow(process) in crm2011

Question
-
hi friends,
I've one requirement, Using workflow an email activity should take place for everyday without create,delete, record status change,field change,assgin.
so how can i achieve this..
Friday, October 14, 2011 9:39 AM
Answers
-
You can look at this post that explains how to schedule a workflow to execute recursively each day:
http://gonzaloruizcrm.blogspot.com/2011/05/quite-often-we-have-business-process.html
Gonzalo | gonzaloruizcrm.blogspot.com
- Marked as answer by Gangadhar.G Monday, October 24, 2011 4:42 AM
Friday, October 14, 2011 1:44 PMModerator
All replies
-
You can have recursive workflow call. Period between 2 recursive calls can be control using Wait condition in Workflow
HTH
makeer | myencounterwithcrm.wordpress.com | CRM2011 User Settings Utility | CRM2011 Lookup PreviewFriday, October 14, 2011 10:42 AM -
Hi,
Try to use Timeouts in workflows. Here is a link that can help.
http://www.dynamicscrmtrickbag.com/2009/07/12/waits-timeouts/
Thanks VaibhavFriday, October 14, 2011 11:10 AM -
You can look at this post that explains how to schedule a workflow to execute recursively each day:
http://gonzaloruizcrm.blogspot.com/2011/05/quite-often-we-have-business-process.html
Gonzalo | gonzaloruizcrm.blogspot.com
- Marked as answer by Gangadhar.G Monday, October 24, 2011 4:42 AM
Friday, October 14, 2011 1:44 PMModerator -
Try call your workflow in .net app, the run the .net app as scheduled job.
Something like this:
try
{
ExecuteWorkflowRequest request = new ExecuteWorkflowRequest();
request.WorkflowId = new Guid("yourparentworkflowid");
request.EntityId = new Guid("recordid");
ExecuteWorkflowResponse response = (ExecuteWorkflowResponse)OrgService.Execute(request);
}
catch (Exception ex)
{
}
- Proposed as answer by .frank Monday, October 17, 2011 8:05 PM
Monday, October 17, 2011 8:04 PM