Last Updated on April 3, 2022 by Rakesh Gupta
Big Idea or Enduring Question:
- How do you find who Created or Last Modified a Flow?
After reading this blog, you’ll be able to:
- Understand how to find who created or Last Modified a Flow?
- Understand Flow related metadata objects
Business Use case
Cathal Murtagh is working as a System administrator at Universal Containers (UC). A few months ago, she has created a process Getting Started with Salesforce Flow – Part 62 (Auto Assign or Remove Permission Set to Multiple Users) to auto-assign or remove permission set to users based on criteria. It seems like; someone created a new version, which is now not working. She wants to identify the person’s name who last modified the process.
Automation Champion Approach (I-do):
In the past, I have shared a couple of use cases where we can use Flow or Process Builder to solve the complex business use cases instead of writing Apex code. In this article we will learn who Last Modified Date a Flow.
|Flow||It represents the metadata associated with a flow.
|FlowDefinition||It represents the flow definition’s description and active flow version number.|
Guided Practice (We-do):
There are 8 steps to solve Cathal’s business requirement. We must:
- Click Setup.
- In the Quick Find box, type Flows.
- Select Flows then select View Details and Versions for Scheduled: Auto Add or Remove Permission Set flow.
- Now you can check Flow Version, Flow Label, Description, CreatedDate, Type, Status, Run In Mode, API Version for Running the Flow etc.
- Check FlowDefinition for Flow URL, API Name, Type, Active Version, Trigger, etc.
I want to hear from you!
What is one thing you learned from this post? How do you envision applying this new knowledge in the real world? Feel free to share in the comments below.
Let me know by Tweeting me at @automationchamp, or find me on LinkedIn.