use variable as column name (dynamically update columns)

  • 5 June 2017
  • 1 reply
  • 3 views

Badge +3

Hi

I have a list A with 12 columns (months). and I have another list B with different fields.

users will add to the list B monthly and do some calculation. the result will be updated in list A in the columns based on the month.

Example. 

user will add data to list B in June. the workflow will update the column "June" in list A.

I want to do this dynamically (not using switch) where I can update columns using variable as column name.

is this possible?


1 reply

Userlevel 5
Badge +14

you will not be able to achieve it with OOTB action, you would need make updates by webservice call.

see Lists.UpdateListItems Method (Lists) 

Reply