Hello,
I am working on a task in which I have two pages:
i) Parent Page
ii) Modal Dialog
I have two buttons on the parent page namely Button 1 and Button 2, initially, Button 2 is hidden. Now the situation is on click of the first button I need the following tasks:
- to execute a process to insert data into the database
- open the Modal Dialog Page
Post that I fill the data on Modal Dialog and add the Close Dialog action on a button in Modal Dialog Page since I need to return an item to the Parent Page on the close dialog. This return value will help me Show my Button 2 for further processes.
So the problem that is coming up is from what I have learned, to return an item on close dialog I need to make the action of Button 1 on the parent page as Redirect, now when I make it a redirecting button neither am I able to complete my tasks [(1) and (2)] with dynamic action nor from Processes and branching, and if I make its action as Submit or Dynamic Action I am unable to return the value on Dialog Close.
Can anyone please help me out of this complexity?