Power Automate Tip #2 : Use of Compose & Parse JSon

I am going to use the same use case (compressing the PDF using Adobe) that I used in my previous post and show how we extract the error message that's thrown by the Adobe Compress Plugin. Compose is a very powerful action in Power Automate. 



The result of the Adobe Compress looks like this when there is a failure

To extract the appropriate field, you have to compose the result that comes out of the Adobe and use the ParseJson which parses the Json so its easy for you to extract the appropriate property. It has to be a step by step procedure. 
1. You have to do the Compose and make a run.
2. Extract the Output and use it on the ParseJson Action. Use Generate from Sample and paste your Compose output from the previous run.
3. Now you should see these attributes available to be used in the subsequent steps as you see below

Comments

Popular posts from this blog

Linksys Wireless Connection Failure

The security validation for this page is invalid. Click Back in your Web

Access Denied Host Header Sharepoint 2010 Windows Server 2008 R2