web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

decrement days number

(0) ShareShare
ReportReport
Posted on by 1,670

Hi,

i have field (duration type) of number of days, how i can decrement the number of day (every day) ?

*This post is locked for comments

  • Suggested answer
    Wayne Walton Profile Picture
    13,730 on at

    So there are limitations on changing values every day without opening records.  Likely you're going to need an external batch process running on your CRM server that iterates through all your records and decrements that value.  the only other option is to rely on decrementing when someone opens the record.

    The latter should be fine if you only care about that value when they open the record, but not ok if you need to do anything else.

  • Aileen Gusni Profile Picture
    44,524 on at

    Ammar,

    Either you use the Timer control (but need a datetime not number) if for CRM 2013 SP1

    And put it to the CRM Form, yes as mentioned by Wayne, you need to always open it.

    Or like to create an aging field, you need to do batch job updating that day by day every day.

    Hope this helps.

    Thanks,

  • Verified answer
    purwar purwar Profile Picture
    2,836 on at

    You can use async type workflow . and  call same workflow as child after 24 hrs.

    I am hoping you are using number type field for decrement.

    You can use "DecrementBy" in workflow.

    For complete solution you can use below link

    mahenderpal.wordpress.com/.../step-by-step-using-decrementby-in-microsoft-dynamics-crm-2011-workflow

  • Verified answer
    Hamzeh Zawahreh Profile Picture
    3,674 on at

    dear Ammar Zaied,

    you choose one of the following:

    1. Host a service that implements the scheduling functionality and then have this service call into the CRM web service to perform actions regularly.
    2. Leverage the CRM workflow “wait” step.
    3. Alter the recurrence patterns of CRM asynchronous operations (unsupported).

    see this helpful link on create a recurring workflow, but after you read this article the work flow is have to created once on your entity on the first record was created.

    http://gonzaloruizcrm.blogspot.com/2011/05/quite-often-we-have-business-process.html

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
TNJ_CRM_Team Profile Picture

TNJ_CRM_Team 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans