Hello,
I have a Variable Array that contains the column names ("Tracker Columns"). Its format is:
[
{
"Column Name": "AIO Approval (S)",
"Internal Name": "AIO_x0020_Approval_x0020_Status"
},
{
"Column Name": "Approval Queue (S)",
"Internal Name": "Approval_x0020_Queue_x0020_Statu"
},
{
"Column Name": "BOM Ready (S)",
"Internal Name": "BOM_x0020_Ready_x0020_Status"
}, .....
This Variable Array contains a subset of names found in the SharePoint Custom List - "Tracker."
My goal is to use "Apply to each" to traverse the "Tracker columns," ideally setting a string variable - "New Status Value" - when for the desired columns only. I have tried using - triggerBody()?variables('Current Internal Name')?['Value'] - whereby the italisized portion of the statement would be variable. However, when I try to save I get "Expression is invalid." Note: Current Internal Name has the format - ["AIO_x0020_Approval_x0020_Status"]. (I am unsure how to use concat to create a single quote versus the ones showing. Thus, I could use a clue.)
Is there a way to feed a variable into a statement as per the example above? If so, how?
All ideas, insight, and help is very much appreciated.
Cheers.