Create an action. Set Action name to “Update Employee Status”. Set For a record of this table to the Employees table. Set Do this to “Data: set the values of some column in this row”. Configure the column and value to set the employee’s status to “Assigned”.
Create an action. Set Action name to “Get Employees to Update”. Set For a record of this table to the Employees table. Set Do this to “Data: execute an action on a set of rows”. Set Referenced table to the Employees table. Set Referenced Action to “Update Employee Status”. Set Referenced Rows to an expression that returns a list of row keys from the Employees table. The row keys will be used by AppSheet to identify the employees to be updated. For example, to select the employee that has been assigned to the current project, use the expression:
Create a workflow rule. Set Rule name to “On Adding New Project”. Set Target data to the Projects table. Set Update event to “ADDS_ONLY”. Set Reaction to “Change Data”. Set Workflow Action Name to “Get Employees to Update”. Set Data Change Action Name to “Update Employee Status”.
The last sentence is the problem: "Set Data Change Action Name to “Update Employee Status”. The dropdown only shows options from the same table. The generated actions referencing to Employees table do not appear as an option, so I cannot select the action.
Is this an error in the article or am I doing something wrong?
Thanks
Thanks but no. If the change is set to the Project Table, then the Action 1 won´t appear in the “Referenced Action” drop down.
And if I change the table on the Action 1, then I´m not making a change in the Employees table.
I´d created a project just with the example data and it´s not working.
Just to further add what I did for the last paragraph of the help article (which also confused me initially when following it through), a little bit typo as can be seen on below snapshot:
Can someone fix the original article? It would save the readers some time. After reading it and not getting the solution I came across this community post.
Can someone fix the original article? It would save the readers some time. After reading it and not getting the solution I came across this community post.
I am trying to solve a similar problem, but where Table 2 supplies data to Table 1. Lets assume in the above example, instead of setting the [Employee Status] to “Assigned”, you would like to update that column with the [Project Name]. Any ideas on how that can be done?
With which, I understand that the solution proposed here is no longer viable.
So I would like to ask you, if you can guide me on how is it currently done to modify certain fields of certain records of a table_2 from the changes in a certain record of a table_1?