I want to call screen flow from record triggered flow and same screen flow on click of button.
2 Answers
As of now there is no way to call Screen flow from a record triggered flow.
Because screen flow requires user interaction and record triggered flow gets automatically executed once the record has any change.
NOTE : There are workaround to trigger the screen flow, if you can subscribe to a platform event on Lightning page, but that comes with its own limitations and issues.
-
3I doubt there will ever be a direct way to do it. Remember that a record triggered flow responds to any CRUD operation against relevant records, regardless as to how that happens. This could be due to a scheduled job, a REST API call or some asynchronous processing inserting or updating relevant records. In each case, there is no UI context, so nowhere to present the screens.– Phil WCommented Apr 17, 2023 at 13:48
The unofficial extension Detect and Launch will launch Screen Flows based on a record change created from a record-triggered flow: https://unofficialsf.com/from-andy-haas-trigger-screen-flows-with-record-changes-using-detect-and-launch/