can I auto refresh main form every one day ?
*This post is locked for comments
can I auto refresh main form every one day ?
*This post is locked for comments
omg, sorry
duration = current time - createdon
Hi Rangga Pramana,
Firslty, now and current time are same. May be you have some confusion in your logic.
Secondly, i would like to suggest Microsoft Flow to update a record on daily basis in Dynamics CRM.
You can choose "Schedule-Reccurance" as trigger and "Update a record in D365(or CRM)" as action as below:
Hope this helps!!:)
Hi Rangga,
Your logic doesn't seem correct. now - current time? Doesn't both will be same?
You could also think about recursive workflow to calculate the date daily.
Hi,
Perhaps you can consider to build a console application / batch job to do that if you are not required user to open the record.
I want to calculate field duration, which is will recalculate every one day
duration = now - current time
If you can share some more details about your requirement that can help others to give you better suggestions.
Hi Rangga,
If you are referring to the entity form then it refresh by itself when you open it.
If you have some logic which runs on the form load (opening a form), then it wont trigger unless you open the form. For this achieve without opening a form, you need to write some kind of scheduler which does the same operation which you do it on form load.
Hope this helps. If not, please share some more details.
Hi,
why would you like to do that, any reasons?
André Arnaud de Cal...
292,516
Super User 2025 Season 1
Martin Dráb
231,403
Most Valuable Professional
nmaenpaa
101,156