Use a popup to confirm an action

Hello guys. What I am trying to do:

When a user presses a button, it will open a confirmation popup and once confirmed it will start a workflow that makes a change on things. The problem is that when I set up the workflow, the data that I need to update is not there (it is in the former page.

Without the popup (when the user presses the button it makes a change on things directly, without confirmation), I was able to do it correctly, but I feel it is not safe (what if the user pressed it for mistake?). That’s why I’d like a confirmation popup.

I tried to display data once the button is pressed, to pass the information to the popup so that I can use it to make a change on things. But it keeps asking me for a condition, and I just want the raw data it self, have a look at this screenshot:

Can you help me solve that? I feel that it is a pretty simple workflow, but somehow Im stucked at it! Thank you in advance!

1 Like

The data type for consumer_page needs to match the type of data you’re trying to pass into it. What is the data type for consumer_page?

both are numbers already… not sure if Im making a mistake here, both are dynamic data from the database…

What is the repeating group a list of? The Popup should be of the same type. If your repeating group was a list of Products, then the Popup’s type should be Product.

When button is clicked > Display data in Popup, Data to display = Current cell’s Product.

The button inside the popup that then makes the change could pull from the Popup’s Product now that you’ve sent data to it. When “Save” is clicked > Make a change to Popup’s Product > Name = “New Name” (for example)

4 Likes

thank you!!! all set :slight_smile:

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.