Hello,
I am working on a PC Request Notification Flow that runs when a PC request has been edited. My goal is to include a list of what changed in the email. Overall, it is going well, but there are 2 standard fields I don't need to put into the email which are "Modified" and "PCFormVersion". I would like to remove those 2 fields from the list that is included in the notification email. I'm getting an error on my second Select action that states "The 'from' property value in the 'select' action inputs is of type 'Object'. The value must be an array." I'm still new to PowerAutomate so I'm having a hard time figuring out how to adjust the flow. Can you help me?
Here is the Output from the first Select step so you can see what is being returned (this step is not broken).
Here are the flow steps. The last step labeled "Select - Remove" is the one that is throwing an error.
Here are the expressions I am having trouble with in text format:
json(replace(string(outputs('Select')),'Modified','PCFormVersion'))
removeProperty(removeProperty(item(),'Modified'),'PCFormVersion')
Hopefully, only small adjustments are needed. Thanks in advance for your help!
Teresa