I have a flow that creates a record and needs to check if it's creating in a case record or in a homepage. Can I add a criteria inside the flow that will check if I'm creating in a case or home page?

  • 1
    did you think about to send a parameter to flow (record or homepage, for example) and test it in the flow?
    – m Peixoto
    Commented May 6, 2019 at 11:00

1 Answer 1


You can use recordId variable in flow to get the record id of Case. If it is coming as null, then you can assume that it is homepage otherwise it is executed from Case record page. Refer 2nd answer in the given thread to understand how to pass recordId to flow from a record page: How to pass parameter to flow launched from Quick Action You just need to do a null check before your main logic to identify if flow is executed from a record page or homepage.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .