Hello all,
I'm in need of assistance here.
I'm using a separate attachment control copied from a form and using a file attachment as an input to run a flow using PowerAutomate. Afterwards this flow is supposed to output back into PowerApps as a string variable.
I know I'll have to set a variable while running the flow like so (not sure if this is correct):
Set(SavedVar, ForAll(DataCardValue33_1.Attachments, Flow.Run({file: {contentBytes:Value, name:Name}}))); - note I'm not getting any error with this.
After my PowerAutomate flow finishes it outputs a text string named "TextOutput"
However, when I try default a text label as TextOutput:
SavedVar.TextOutput
I get TextOutput isn't recognized. I'm assuming this is an error with the way I set the variable as I've used powerautomate outputs before but never with an attachment.
Any help would be great!
Hi all I was able to figure out the issue!
I believe because of the ForAll function it made my variable save as a table instead of a text string - This is why I was not able to simply use my variable in a text label. I had to do the following to access the text value IN the table:
Index(SavedVar, 1).TextOutput
User | Count |
---|---|
254 | |
107 | |
92 | |
48 | |
37 |