In this blog, we will check how we can add and subtract an ‘x’ time unit such as second, minute, hour, day, week, month, and year into and from the existing date.
Problem:
We have a client requirement in which, they want to calculate the next follow-up date for the current customer. This operation is performed when a new Customer (Account) is to be added to CRM and customer details are to be updated in the CRM.
Solution:
To achieve the above user requirement we have designed a Power Automate flow that triggers the creation of an account and modification of the same. We have used addToTime() function for this. On firing this flow, the CreatedOn field of the account is read and the addToTime() function gets applied to it. The output value gets updated in the “Next follow up” file which is filled on the account form. Please find the below syntax for the function:
Syntax:
addToTime(DATE_TIME,INTERVAL,TIME_UNIT,OUTPUT_DATE_FORMAT)
Where,
- DATE_TIME_VALUE: It states the Date Time…
Source link
More About This Author
-
Inogic is one of the leading Microsoft Dynamics 365 ISV since 10+ years. Its flagship product Maplytics™ is a market leading certified (CfMD) geo-analytical mapping app. Maplytics empowers Dynamics CRM users across industries with the power of geographical data visualization, route optimization and along the route search with turn-by-turn directions, appointment planner, locational search by radius and shapes with drill-down filters and color-coded pushpins, heat maps, shape layers & territory management.
Inogic is renowned for its high quality and low-cost offshore development services and productivity apps like InoLink: QuickBooks + Dynamics CRM, User Adoption Monitor, Attach2Dynamics, Alerts4Dynamics Click2Export, Click2Clone, Kanban Board, SharePoint Security Sync, Lead Automation & Distribution, Map My Relationships, Auto Tax Calculator, Subscription and Recurring Billing and Marketing4Dynamics.
Array
- Dyn365CE26 April 2024Webinar: A technical deep dive into How Copilot & Generative AI Can Transform Business Productivity
- Dyn365CE26 April 2024Combine Location Intelligence with Artificial Intelligence within Dynamics 365 CRM
- Dyn365CE25 April 2024Understanding Key Phrase Extraction in Power Automate for Text Analysis
- Dyn365CE24 April 20246 User-Friendly steps to connect Dynamics 365 CRM with Mailchimp – Effortless Integration!