Skip to main content

Notifications

Customer Service forum

How to set Process execution time Dynamically.

Posted on by 245

I would like to capture value from a field and set that value to process execution time dynamically. could you please let me know how can I set process execution time dynamically.

Categories:
  • LeoAlt Profile Picture
    LeoAlt 16,329 on at
    RE: How to set Process execution time Dynamically.

    Hi partner,

    You could try 2 ways.

    1.Setting SLA Warning condition

    https://community.dynamics.com/crm/f/117/t/262286

    2.Creating a console application connect to Dynamics and configure task scheduler.

    https://community.dynamics.com/crm/f/117/t/269538

    Hope it helps.

    Best Regards,

    Leo

  • Suggested answer
    Adrian Begovich Profile Picture
    Adrian Begovich 21,009 Super User 2024 Season 2 on at
    RE: How to set Process execution time Dynamically.

    Hi raki,

    I strongly encourage you to consider setting up a scheduled batch process instead of creating a workflow, unless you feel that you will not be using the workflow enough to make a noticeable impact on performance. If you decide you want to build a workflow despite knowing this then this article explains how you can do it.

  • raki Profile Picture
    raki 245 on at
    RE: How to set Process execution time Dynamically.

    First I need check the condition and wait for certain time based on dynamic value

  • Suggested answer
    Adrian Begovich Profile Picture
    Adrian Begovich 21,009 Super User 2024 Season 2 on at
    RE: How to set Process execution time Dynamically.

    Hi raki,

    Are you doing this because you want to wait until a certain time to execute some logic? If this is what you want to do then I recommend setting up a scheduled batch process instead of creating a workflow. Workflow wait conditions can also achieve this, but they can carry a significant performance overhead.

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,902 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,297 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans