Execute a sequence of actions

Hello,
I am asking for your help because I would like to set up a sequence of actions allowing me to do the following two things:

1 Copy a line
2 Delete some data from this line

I managed to independently create these two functional actions
1 copy this row and edit this copy
2 set the value of some columns in this row

however, the two combined do not work.
Thanks for your help

3 séquence ==> KO

A grouped action stops at the first action that navigates the user to a view. The App: copy this row and edit the copy navigates the user to a form.

To create a new row with some or all of the values from an existing row, use an action of type Data: add a new row to another table with values from this row.

1 Like

Thank you so much,
i will try that
and what should I put in the formula?
Capture

Thank you

Action - Data: add a new row to another table using values from this row.
By this action we can add a new row of one table to another table.
@Romain_GICQUEL I see your are giving both “For a record of this table” and “table to add to” as same Intervention(table name) which is not allowed.

1 Like

To perform the below things:
1 Copy a line
2 Delete some data from this line

Create one new table with required columns Ex: Intervention copy
Create two actions:
1. Data: add a new row to another table using values from this row.
In your case give for the record of this table " Intervention" and table to add “Intervention copy”.
Set these columns take the required columns and new value(expression)
2. Data: Delete this row.
This action source table will be “Intervention”.
3. Now create a grouped: Execute a sequence of action.
Combine the action1 and action 2.

3 Likes

Thank you so much,
I go try this :wink:

1 Like

Whatever value you want the column of the new row to have. If you’d like the column of the new row to have the value of the existing row’s column, the expression could be as simple as:

[Date de la demande]

This would set the Date de la demande column of the new row to the value of the Date de la demande column of the existing row.

C’est exactement ce que j’ai fait et tous fonctionne à la perfection.
Merci beaucoup pour le coup de main

That’s exactly what I did and everything works perfectly.
Thank you very much for helping out

1 Like