web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Unanswered

Dynamics Portal Webform Step Condition Using Date

(0) ShareShare
ReportReport
Posted on by 15

I am creating a Web Form using Steps in Dynamics Portal.

I have a date only field on a step the user will put a date in. I need to use a condition when that step is submitted that works out if that date is 5 years or older from today.

For example todays date is 23 Apr 2021

If the date entered in the field is 20 April 2016 (5 years and 3 days ago) then this would pass the condition and move to the next step.

If the date entered in the field was 25 April 206 (4 years 362 day ago) then this would fail the condition and move to a different step.

Can you use this time of feature in the Step Condition?

I have the same question (0)
  • Community Member Profile Picture
    on at

    Hi Jonny,

    The syntax for creating the conditional expression does not allow for complex operations like “check if this value exists in another entity”. The conditional logic can really only check to see if a column (field) of the row (record) from the previous step equals a specific value.

     pastedimage1619426967446v2.png

    So you need use other ways to calculate years automatically and create a new field to store it, then use the new field as filter in the condition step.

    Regards,

    Leah Ju

    Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365 Forums.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 69 Most Valuable Professional

#2
ManoVerse Profile Picture

ManoVerse 55 Super User 2026 Season 1

#3
11manish Profile Picture

11manish 37

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans