Reputation: 504
I'm attempting to move an email to a particular inbox based on the source. I have pulled the store out and have stored it in an Azure sql table. I also then have another table with my all my inboxes.
I want to do a condition that say, if my email subject contains an inbox stored in my inboxes table, move the email to that inbox, else do nothing.
I'm new to Azure so I'm still trying to figure out the possibilities and am currently getting the error that is below.
My condition action is below:
Here I am taking each InboxName(value-item) stored in my Inboxes table and trying to find a match within my body which contains all my email data.
I can't make sense of this error though, any ideas?
I think I should specify that I want to take the output of my function which is my email content and check it for an InboxName in my Inboxes table.
Upvotes: 1
Views: 430
Reputation: 6816
Body
and Value-item
are data of type Object. If you need to perform a Conditon
action, you need to get the value of a specific column in the table.
You can refer to the following expression:
body('Get_row_(V2)')?['<your- column-name>']
items('For_each')?['<your-column-name>']
Upvotes: 1