Worklow doesn't work

Hi gliders, I have a very simple workflow, but it doesn’t seem to work when I run it with Button component. This workflow only works when I run it in the Workflow screen. Even the Button component disappears when I add a condition (e.g., expired orders > 140 or something else) to my workflow. The Button component only appears when there is no condition in my workflow.

This used to work before, but then I changed the table style, then it no longer works. Any suggestions, please

Can you say more about the Button?
What type of screen is it on?
Can you share a screen shot of the layout view?

This is the lay out view, the button dissapear when I add condition in workflow.

after editting the workflow :

Okay, so let me ask you a question: is your intention to delete the row the screen is attached to, or one of the rows in the table that’s above the button?

my intention is to delete one on more rows that meet the condition I set in my workflow.

Okay. The way you have it currently is that it will only consider the row that the screen is attached to, which (in the absence of any screen filters) is probably the first row in the table. This most likely explains why the button disappears when you add a condition.

Looking at the number of pages in the table, can I assume you are working with a Big Table?
Assuming that’s the case, what you need to do in your workflow is start with a Loop, and apply your filter condition to the loop. Then inside the loop, add your delete row action.

I would recommend setting a limit of 1 on the loop to start with, then remove that once you are convinced it’s working correctly.

Update: Actually, I just realised that you won’t be able to add a loop, because it’s a user interaction workflow. So instead you’ll need to create a separate Manual Trigger workflow, and then call that with a Trigger Workflow action.

2 Likes

Yes, I’m using a lot of data rows, and some are no longer needed, requiring me to delete some rows of data that are no longer relevant to the current time. However, I’ve run this workflow before and had no issues at all. Moreover, this is a simple workflow.

Is there a row limit so this workflow can function again using the buttons as usual?

The limit on a workflow loop/filter is 1000 rows.

2 Likes