Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

create workflow to check condition

Posted on by 215

i want to check condition by time

for example i want to change the status of the record when the "created on" time is after 10 o'clock 

please help

*This post is locked for comments

  • Suggested answer
    Rawish Kumar Profile Picture
    Rawish Kumar 13,756 on at
    RE: create workflow to check condition

    that would be the best option indeed.

  • Verified answer
    ehsan af Profile Picture
    ehsan af 215 on at
    RE: create workflow to check condition

    i write custom workflow plugin that get current date and set fixed time for it with c#, and send this field as output argumant .

    thanks for all :)

  • Suggested answer
    Sid07 Profile Picture
    Sid07 285 on at
    RE: create workflow to check condition

    Hi,

    You can create a custom activity workflow and which will check the above condition of 10 o clock and set the Boolean parameter as output parameter. And then if it is yes then change the status.. else you may proceed with other condition.

  • Suggested answer
    Rawish Kumar Profile Picture
    Rawish Kumar 13,756 on at
    RE: create workflow to check condition

    my bad , sorry.

    try this thn : https://www.powerobjects.com/2012/11/09/create-recursive-or-scheduled-workflows-in-crm/ 

  • ehsan af Profile Picture
    ehsan af 215 on at
    RE: create workflow to check condition

    10 o'clock  !!!!!!!!

    that's mean when the created on time is after exatly on 10:00 o'clock ( hh:mm )

  • Suggested answer
    Rawish Kumar Profile Picture
    Rawish Kumar 13,756 on at
    RE: create workflow to check condition

    Hi Ehsan,

    you can do it easily. Create a workflow on creation of the record & it will be a background workflow.

    -  add a step , insert a wait condition - Check if process execution is 10 mins after the created on date

    7737.5.png

    click on check condition and select process from related local values > process>equals> and in the next box click ok. then on right side " form assistant. select 10 mins - After - contact - and the field createdon. it will put a dynamic value in the field. and click on save and close.

    7737.5.png

    now add a step > change status :

    1817.6.png

    there you go - activate the workflow , set the scope as per your need. 

    once a record is created in the background you will see it in waiting condition. and once it pasts 10 mins it will change the status.

    mark my answer as verified if helpful

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans