Is it possible to have a single button perform a few sequences of actions? I have an action that โCloses Jobโ, which sets a column on the record to TRUE. But, I want to show another view that can ask for follow-up questions.
For exampleโฆ
When the user clicks, โClose Jobโ, I want to perform the following
Is this possible?
Hello @squatch4014, yes, it is perfectly possible, you can do that using grouped actions, read more about it here:
Steps 1,2 and 3 could belong to a single grouped action, but the 4th step would have to be a different action, since step 3 requires user interaction, and grouped actions are run back-to-back.
@Rafael_ANEIC-PY - I totally missed that one of grouping and running similar actions for a table. Thanks for pointing that out to me. I can achieve step 3 but how could I โpassโ the variable to that view?
For exampleโฆ
When I close job #12345 by clicking on the grouped action of โClose Jobโ, I want to pass job number #12345 to the WorkOrderOperations view. Is that possible?
No problem, remember that when youโre running an action on a row, you have access to all of itโs columns, since the action is executing on that context.
So letโs say your first action would be one that โChanges the values of some columns of this rowโ which would set the job status as โClosedโ.
The second action would be โAdd a new row to another table using values of this rowโ and then you would simply select the columns you want to fill using the column values from the row you just closed.
User | Count |
---|---|
15 | |
11 | |
11 | |
8 | |
3 |