Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Scheduled workflow date condition

(0) ShareShare
ReportReport
Posted on by

Hi experts, 

I have created a workflow using Workflow Elements (available on AppSource) to trigger a workflow every Thursday.

I have a date field called XPT Ship Date.

This workflow should check if the project template is "NOS" and if the XPT Ship Date is in 2 weeks or less. 

I think my logic for the if condition for "XPT Ship Date within 2 weeks" may be incorrect.

Please help me out with the correct if condition of I'm wrong.

Screen-Shot-2018_2D00_03_2D00_15-at-11.20.09-AM.png

Screen-Shot-2018_2D00_03_2D00_15-at-11.22.41-AM.png

Thanks,

Jon

*This post is locked for comments

  • Community Member Profile Picture
    on at
    RE: Scheduled workflow date condition

    I checked it again. It was a small error on my side.

    Thanks Ravi. You're a life saver!

    Best,

    Jon

  • Verified answer
    RaviKashyap Profile Picture
    55,410 Moderator on at
    RE: Scheduled workflow date condition

    Hi Jon,

    I just tried a sample on opportunity entity 'Actual Close date' and it seems to be workings fine. Can you check separately . It is possible then some other condition is failing and not this date check.

    checkdate.png

  • Community Member Profile Picture
    on at
    RE: Scheduled workflow date condition

    Nope

  • RaviKashyap Profile Picture
    55,410 Moderator on at
    RE: Scheduled workflow date condition

    So you mean it didn't satisfy the condition of ship date within 2 weeks?

  • Community Member Profile Picture
    on at
    RE: Scheduled workflow date condition

    Hi Ravi,

    I tried using the condition above but it didn't work. Any other way I could make it work?

    Thanks,

    Jon

  • Community Member Profile Picture
    on at
    RE: Scheduled workflow date condition

    Hi all,

    I'll give "Actual Close Date "Is Greater Than Or Equal To'  14 Days  before the process execution time" a try and see if it works.

    Thanks,

    Jon

  • Verified answer
    RaviKashyap Profile Picture
    55,410 Moderator on at
    RE: Scheduled workflow date condition

    You are right Alex, its not aviable in wokflow.

    Jon, you can then use it something like this-

    Actual Close Date "Is Greater Than Or Equal To'  14 Days  before the process execution time.

    I haven't tried it but believes this should work.

    Hope this helps.

  • Alex Fun Wei Jie Profile Picture
    33,626 on at
    RE: Scheduled workflow date condition

    Hi,

    if i am not mistaken, the workflow doesnt have this operator

  • RaviKashyap Profile Picture
    55,410 Moderator on at
    RE: Scheduled workflow date condition

    Sorry I think it would be Next 'X' weeks... Do a test to see if this works.

  • Suggested answer
    RaviKashyap Profile Picture
    55,410 Moderator on at
    RE: Scheduled workflow date condition

    Hi Jon,

    If I am not wrong, there are operators to check if the date is within last 'X' weeks. Something similar to this-

    weeks.png

    Hope this 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 Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics CRM (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 83 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 52

#3
dkrishna Profile Picture

dkrishna 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans