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
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.
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?
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
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.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156