web
You’re offline. This is a read only version of the page.
close
Skip to main content
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

I have the same question (0)
  • 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,930 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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Aric Levin - MVP Profile Picture

Aric Levin - MVP 2 Moderator

#2
MA-04060624-0 Profile Picture

MA-04060624-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans