Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

What is Process Execution Time?

(0) ShareShare
ReportReport
Posted on by

I have a Workflow that has this logic:

If Process-Execution Time is > Begin Date (Date Only), then Stop Workflow and display error:  Your Begin Date cannot be before Today.

My question is, what value is in Process-Execution Time; does it include the Date and Time?  And does it compare to the Begin Date? 

This workflow keeps failing if the Begin Date = Today, so I'm thinking I'm not understanding the Process Execution TIme.

My need is to ensure the user hasn't accidentally selected a date before today.

Thanks!

*This post is locked for comments

  • Suggested answer
    Wendel Profile Picture
    105 on at
    RE: What is Process Execution Time?

    The first option is correct. Process Execution Time is the "current time" at the moment that it is applied. So if you start a Workflow on May 1st and wait for 25 days to update a datefield with the Process Execution Time then the value of the field will become May 26th.

  • RZP Profile Picture
    85 on at
    RE: What is Process Execution Time?

    What if the process has a wait 25 days statement.  Does the Process Execution time change or does it contain the date of when the process was initiated?

  • Verified answer
    tpeschat Profile Picture
    4,928 on at
    RE: What is Process Execution Time?

    Hi,

    process execution time contains date and time when the process has been executed.

    See e.g. Hosks blog post to set a field to current date and time using process execution time:

    crmbusiness.wordpress.com/.../crm-2013-workflow-to-set-the-current-date-and-time

    In your case, have you already tried to define your process the opposite way?

    If begin date is smaller then process execution time then display error.

    Hth Thomas

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: What is Process Execution Time?

    as far as I know, the process execution time is 'Now', so if you are comparing it with only the date of 'Begin Date' it will compare to '00:00' hour of today, so it will always be 'higher'.

    I hope it helps.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,261 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 233,013 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans