CRM 2013 – Workflow to set the current date and time

This question has popped up in the forums now and again so I thought I would write a blog post on it.

The solution on how to do this is simple, once you know where to look and how it works.  I can understand why some people struggle to find the answer to the question of setting a date field to the current date and time because you don’t see it mentioned very often and it isn’t obvious.

To set the a Date Time value in CRM to a when the workflow was run you can use the dynamic value


Execution Time

This basically does what is says on the tin and sets a Date time value to Execution time of the workflow.

workflow for current date and time

Open up your workflow and choose the Update, select Account entity

To set a field

Select the field and in the example above, I clicked into the Account Date Field

In the look for I scrolled down to Process (it’s right at the bottom)

in the next field select Execution Time

Press OK

You will see the Account Date Field will now have a highlighted value.

Save and Close

Activate the workflow

CRM 2013 Video  Workflow to set date and time field and user when the primary contact on an account is changed

Awesome picture from here

4 thoughts on “CRM 2013 – Workflow to set the current date and time

  1. randysrs September 10, 2015 / 3:17 am

    ok question though .. here is what i want and cannot figure out how to exactly do automaticly .
    i can do it by pausing the workflow for tommarrow at 8 am but what i want is .
    if i start a workflow or create a task from a workflow . i want reminderrs and emails to process at 8 am .. not that works if i do them at 8am but if i am working late and want the emails to go out in the morning i have to pause the workflow pick all the current workflow processes for today and pause them to start at 8am ..

    i just wish there was a was in the workflow to set a start time .

    example ;

    workflow to send email to client workflow started at 10pm i want the to be sent at 8am or a set time the next day .. is this possible ? without using the pause work around ?


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s