Solutions and When a Record is Selected don’t get along
Fellow MVP – Antti Pajunen – raised this question the other day. Even though I had heard some conversations about the limitation, I hadn’t seen anyone validate it and blog it.
You can’t currently include Flow’s equivalent to an on-demand workflow in a CDS solution.
This is what I did to confirm the experience.
- Created a simple trigger/action flow for When a record is selected.
2. Included the Flow in a Solution
3. See if it is present in the UI? Nope!
The solution is to create the When a record is selected flow and then manually move it to your production environment using Export/Import.
Wow, I’m glad I’m not the only seeing this limitation. I thought for sure I was doing something wrong.
I guess flow for When a record is selected is classified as “Button triggered flows” from the Known limitations list
https://aka.ms/powerappsflowsmigration
– Button triggered flows are not available in solutions.
I also bang my head on this limitation. I could not see the on demand flow in the list of flows when the record is selected. i went one step ahead imported the on demand flow to my flows outside the solution but still i cannot see the on demand flow when the record is selected in the Model driven app.
It seems that Solutions and When a record is selected worked on their relationship since your post 🙂 I’ve done some tests and the results were hopeful! See my blog post about this: https://www.scrumitup.net/on-demand-flows-part-of-a-solution-or-not/