I have a total o 3 attachments of which only one is mandatory. I want to check in the flow that who ever has attachment to then do the parse jason so that I can get the link to add to a row table :
I am using this:
empty(body('Get_response_details')?['rf4878c9c994c45cca4d9ac4462d7f3b7'])
I have tried but not getting what I need. Please help!
Solved! Go to Solution.
Hi @vpatt91 ,
You could initialize a string variable to collect all links.
The configuration in the three conditions is similar. When judging that the attachment is empty, refer to the output of different Compose.
Please try again.
Best Regards,
Hi @vpatt91 ,
Please try to add multiple branches to check if the attachment is empty separately.
Hope this helps.
Best Regards,
Hi @v-bacao-msft ,
I have tried and it fails.
See the only one that passes is the mandatory attachment but the other two are not mandatory. Once an attachment is added on the other two I want to get he link of these but it fails my flow.
Any other idea?
@v-bacao-msft I have tried the following:
1. I compose using:
length(body('Get_response_details')?['r8909a43f5caa4cf3b9d3adb7b590ed2a'])
2. Add condition if yes then I Parse Jason (the reason I Parse is because I want to get the direct link of attachment) using:
3. Add row to table
To get the direct link to be added to the table but I get the error:
Hi @vpatt91 ,
You could initialize a string variable to collect all links.
The configuration in the three conditions is similar. When judging that the attachment is empty, refer to the output of different Compose.
Please try again.
Best Regards,
User | Count |
---|---|
95 | |
45 | |
21 | |
18 | |
17 |
User | Count |
---|---|
142 | |
50 | |
43 | |
40 | |
31 |