Hi Community,
I come across this requirement and wonder how a workflow can make this happen, or if workflow is not the right approach, is there any idea recommended?
There is a custom "Application" entity with Id, Account, Created by, Created on, and Status columns. The requirement is that, for each Account, we want to keep only the latest record active.
For instance, Account ABC and XYZ each has one active record on August 1st 2020.
Application id | Account | Created by | Created on | Status |
1 | ABC | Jimmy | August 1st 2020 | Active |
2 | XYZ | Jimmy | August 1st 2020 | Active |
On September 1st, 2020, Matthew creates a new record for Account ABC. So when this new record arrives, it will set Jimmy's ABC application record inactive.
Application id | Account | Created by | Created on | Status |
1 | ABC | Jimmy | August 1st 2020 | Inactive |
2 | XYZ | Jimmy | August 1st 2020 | Active |
3 | ABC | Matthew | September 1st 2020 | Active |
Hope I explained myself well. Thank you in advance.
Jimmy
Hi partner,
We will use Power automate to do it.
Go to https://make.powerapps.com/, click Flows, new a automated flow.
Set the flow as follow.
Test successfully.
Hi,
You cannot do this via workflow.
You have to develop a plugin, or use Power Automate to do it.
Smth like When new Application is created, find all active applications with the same account. If found, deactivate them.
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,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156