Thanks to those who have moved me forward on this project before. I'm ready to solve a next problem or two.
I am building a flow which will be called to update a row in an Excel table. Input parameters will include the fields for row selection and fields in the table which will drive an action for each field to leave it as is, clear it, or assign the new value.
If input value is "#", clear the field
else if input value is not blank, post the input value to the field
else leave the field value unchanged
How do I build logic like this in the Expression builder?
Clarification: I am using "Apply to each", not "for each".
Hi @akharns ,
I think the Power Apps Id column should two "_" vs. one, like '__PowerAppsId__'
I would also recommend using a custom ID column so you can control the value as you want to use this in the filter, instead of using auto-generate by Power Automate, again, this is my thought.
——————————————————
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
You're probably right about the powerapps id field spelling. I was hoping to use an auto-generated ID. My records require more than one column for specification. I suppose I could create a concatenated column to use as a key. I'll give that a try. Maybe this would be easiest. Still, I am left without a method of referencing the values in the Current record, if needed.
The 2nd question remains to be answered.
Regarding using the new concatenated key field, here is a sample expression intended to build the key value
vSubmissionMonth = 2019-10
triggerBody Vendor = XYZ
Expected key value: 2019-10-XYZ
The following code is not yet correct:
key eq concat(variables('vSubmissionMonth'),"-",@{triggerBody()?['Vendor']})
Hi @akharns
Yes following should work:
concat(variables('vSubmissionMonth'),'-',triggerBody()?['Vendor'])
——————————————————
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.