Is it dynamically possible to embed a flow (with multiple flow action) inside a modal (on click of a button?

Is it dynamically possible to embed a flow (with multiple flow action) inside a modal (on click of a button? I have tried creating custom react component (in visual studio) and publishing it but getting a error. Kindly guide me if there is already a documentation for it or any other guidance

Hi,

From my understanding, embedding a full flow (with multiple flow actions) inside a modal on button click is not supported OOTB.

In Pega, flows are tied to the case lifecycle and assignments, so they can’t be directly executed or controlled from a button/modal like that.

What you can try instead:

  • Use a flow action (assignment) and open it in a modal

  • Model the steps using a screen flow or multiple assignments

  • Trigger the flow through case processing, not directly from UI

1 Like