Setting a Date (w/o Time) in a Workflow
-
vendredi 15 juin 2012 20:34
I have a workflow in which I need to update a field to Todays Date but without the time component (i.e. 12:00 AM). I have normally used Process:Execution Time for such things but it would give me todays date + the current time. Any ideas on how I can do this.
Toutes les réponses
-
samedi 16 juin 2012 14:05
Without custom step you can't.
Get a look at http://crm2011workflowutils.codeplex.com/ it maybe have one custom step for this, I don't remember. (CRM 2011)
And http://manipulationlibrary.codeplex.com/ (I'm pretty sure it have one in Date Utils)
Virtual Group - Soluções Inteligentes www.virtualgroup.com.br
- Modifié Christophe Trevisani Chavey samedi 16 juin 2012 14:06
-
samedi 16 juin 2012 14:46
Thanks, this seems like a good idea in general, although nothing to help with this problem. We use 2011 Online ("The custom steps can be used in both workflows and dialogs. These activities are not supported in CRM Online yet.").
-
samedi 16 juin 2012 14:56
Yes, you don't specify deploy type and crm version.
Maybe a sync sandboxed plugin is the solution. When this update must occur?
With the informations you provide I think you have not lot of choices.
Virtual Group - Soluções Inteligentes www.virtualgroup.com.br
-
samedi 16 juin 2012 15:05
This is part of a recurrsive workflow that runs daily just after midnight to keep some schedule status fields up to date. I add 1 day to the base date each recursion. This works fine for created I think I can use North52 to do this although it is a little messy but certainly less trouble than writing a plug-in or custom WF. Thanks.- Marqué comme réponse Kahuna2000 mardi 26 juin 2012 13:14