cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
MS_Sol
Level: Powered On

Using Output from Azure runbook get job output flow

I am trying to see how to pass information from an Azure automation runbook to flow.  The runbook has an object variable that has many properties to it.  I have tried passing this to a Flow variable of object type.  However, I dont see how you access properties of the object. 

 

For example, $object.subscriptionName in the output is an azure sub name.  How do I access that part of the object in flow?

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Using Output from Azure runbook get job output flow

Hi @MS_Sol,

 

Could you share a screenshot of your Flow configuration? 

Could you share the specific content of the object variable output?

I am wondering what type of format it is presented in.

Flow provides action-Parse JSON that can parse JSON objects.

Just need a paste a sample JSON payload to parse json and get the property value.

 

Image reference:

32.PNG

33.PNG

 

Best Regards,

Barry

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Community Support Team
Community Support Team

Re: Using Output from Azure runbook get job output flow

Hi @MS_Sol,

 

Could you share a screenshot of your Flow configuration? 

Could you share the specific content of the object variable output?

I am wondering what type of format it is presented in.

Flow provides action-Parse JSON that can parse JSON objects.

Just need a paste a sample JSON payload to parse json and get the property value.

 

Image reference:

32.PNG

33.PNG

 

Best Regards,

Barry

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

MS_Sol
Level: Powered On

Re: Using Output from Azure runbook get job output flow

I am not choosing the format, its a Flow action, so doesnt it determine what it formats the object as?  I would imagine if it uses the object type that the runbook uses, it would be a PSobject.  Sounds like maybe you are saying I need to change the format to JSON in the runbook.  

 

What about the object variable type you can set in initialize and set variable in Flow?  How would you access the properties of that variable?

 

Here is my flow:

 

flowscreen.jpg

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (4,984)