Personalized Community is here!
Quickly customize your community to find the content you seek.
Check out the latest Sales updates!Learn about the key capabilities and features of Dynamics 365 Sales and experience some of the new features.
Download overview guide | Watch Sales video
2020 Release Wave 2Discover the latest updates and new features to Dynamics 365 planned through March 2021.
Release overview guides and videos Release Plan | Preview 2020 Release Wave 2 TimelineWatch the 2020 Release Wave 1 virtual launch event
Ace your Dynamics 365 deployment with packaged services delivered by expert consultants. | Explore service offerings
Connect with the ISV success team on the latest roadmap, developer tool for AppSource certification, and ISV community engagements | ISV self-service portal
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance TechTalks | Customer Engagement TechTalks | Upcoming TechTalks
Following up on my previous blog about automating web apps with UI Flows, it’s time for legacy applications. I will show you how desktop UI Flows for windows applications can automate manual entries in legacy systems.
Imagine you are a call center agent and a new customer is calling to place an order. You enter their contact information and order details in your modern CRM system. However your organization still has a legacy order delivery system. Therefore you need to enter all information regarding their order again inside that application.
This can now be automated using Power Automate UI Flows! I record a UI Flow to enter contact information into this legacy system. A regular Flow inside a model-app starts the UI Flow. After the desktop UI Flow creates the contact in the legacy system a unique identifier is created. We grab the unique identifier of the just created contact. And as a result we can add this to our contact record in the Common Data Service. Let’s check out more details.
Now I do not have such a legacy application to play around with. Luckily I am a developer by day and thus could create such a legacy application. I present to you the Old Ugly Legacy App. I am very proud of this creation and I want to share this with you! No really, it is on my github here. Not because it’s useful, but you might want to play around with UI Flow yourself and are not a developer. Feel free to use this app.
This application mimics a contact form. With a typical form you add a contact to this legacy system. After saving the contact the record will get a unique identifier. This auto number represents the contact. Of course we want to know about this in our CRM system! Luckily grabbing an output parameter is easy, as you can see in the following video:
To start recording, take a look at the documentation provided by the Power Automate team. I love how integrated the experience is in the Power Automate Portal. It feels very familiar and even without looking at the documentation you will be on your way recording in no-time. Of course I do want to give you a few pointers:
As I explained in my blog about automating web apps, use API’s and connectors as much as possible when automating. Only use UI Flows when you have no other option. Using Power Automate Flow we trigger the UI flow. Inside the model-app the user can choose which contact to add to the legacy system. The flow is very basic. Choosing the trigger ‘When a record is selected’ on a contact the attributes are available. Use these attributes to run the attended UI Flow.
When the UI Flow finishes, the output variable is available to use in the next action. Update the contact attribute Legacy App Number with the legacy application auto number and that’s it! We now have automated a process which a user normally has to do by hand.
See this short clip below to see this in action:
In this scenario we manually start the automation process by pressing the Flow. Of course another option would be to trigger the flow on create of a contact record. However in that scenario it would be better to use the unattended feature of UI Flows. A bot on a virtual machine will perform the automation.
Although this is a simplified solution of the scenario I described in the intro, it shows the power added to the platform. In short if you have legacy systems in your enterprise, desktop UI Flows will help you. It improves productivity by freeing end-users with less administrative tasks. Also it will help quality as humans are error-prone when performing mundane tasks.
I prefer using unattended UI Flows though. Using an attended UI Flow will use the system of the user. Using the mouse and keyboard during play back of the automation will result in failures. Choosing unattended UI Flow will also allow to scale the automation to multiple entries if needed.
The post Desktop UI Flows – automate your legacy applications! appeared first on Power Addict Ben.
Business Applications communities