Skip to main content

Notifications

Announcements

No record found.

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?

  • Community Member Profile Picture
    on at
    RE: Dynamics Portal Webform Step Condition Using Date

    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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February 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... 293,099 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,884 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans