Issue with Execute Action on a set of rows - Referenced Rows

I have a simple "execute an action on a set of rows" Action in place with Referenced Rows set as follows:

SELECT(project_plan_template[project_template_id],[project_template_id]=[_THISROW].[template])

The action does not work  - doesn't trigger. But, when the Referenced Rows is set to "project_plan_template[project_template_id]"  it works fine - ALL the fields are updated . Unfortunately, I need just records with the particular project_template_id designated in the SELECT statement to be updated.

Note: project_template_id is the key field for the project_plan_template table. Could this be the reason it's not working?  I've used Referenced Rows many times and not sure how I should be configuring this?

 

Thanks so much!

 

Daisy_Ramirez_0-1645577782925.png

 

 

 

 

 

 

Solved Solved
0 15 1,102
3 ACCEPTED SOLUTIONS

Again, just to be sure your [template] col in the project_plan table contains project_template_id's, i.e 500001 ~13.

View solution in original post

Correct, or is it mix up of key  (Template_Id) and label (Template) may be? Is [Template] having template IDs?

View solution in original post

Hello,

I believe you do not need to use SELECT in your expression; you are selecting the key column and your condition also matches the key column. Instead, I believe your expression should be: 

LIST([template])

instead of:

SELECT(project_plan_template[project_template_id],[project_template_id]=[_THISROW].[template])

Would you please try this and tell us the outcome? Thank you!

View solution in original post

15 REPLIES 15
Top Labels in this Space