Skip to main content

Notifications

Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

How to increment a field by 1 every day until status is Qualified?

Posted on by 2,645

Hello,

I have a field called "Lead Age," and I need to increment this field by 1 every day while the status = Open. Once the Status = Qualified then the counter needs to stop. What is the best way to do this and how?

Thank you

  • Suggested answer
    Bipin D365 Profile Picture
    Bipin D365 28,964 Super User 2024 Season 1 on at
    RE: How to increment a field by 1 every day until status is Qualified?

    Hi,

    I would recommend to go with Microsoft Flow with Coomon Data Service(Current Environment Connector).

    Create New flow  select Schedule and configure scheduling properties based on your convenient.

    CR1.PNG

    Step 2: Select list records add condition to get only open record

    Step : Get Lead Age field current value and store it in variable

    Step 3: loop through each lead record and update Lead Age field by 1

    Let me know if it helps!

  • a33ik Profile Picture
    a33ik 84,323 Most Valuable Professional on at
    RE: How to increment a field by 1 every day until status is Qualified?

    To create a recursive workflow you can use something like that - www.powerobjects.com/.../

    And to update records in bulk you can use one of Workflow Toolkits available (for example mine UWT) to run a recalculation workflow on the set of records.

  • USA80 Profile Picture
    USA80 2,645 on at
    RE: How to increment a field by 1 every day until status is Qualified?

    How would I go about doing this with a workflow?

  • Suggested answer
    a33ik Profile Picture
    a33ik 84,323 Most Valuable Professional on at
    RE: How to increment a field by 1 every day until status is Qualified?

    Hello,

    I would recommend to create some kind of scheduled service (executed once a day - it could be workflow, flow or 3-rd party) that will be executed once a day and increment the age by one for any lead that is in the status of open.

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,104 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans