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
dear Ammar Zaied,
you choose one of the following:
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
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
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,
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.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,134 Super User 2024 Season 2
Martin Dráb 229,928 Most Valuable Professional
nmaenpaa 101,156