cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Microsoft
Microsoft

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
Highlighted
Community Support
Community Support

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
Highlighted
Community Support
Community Support

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

Highlighted

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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Top Solution Authors
Top Kudoed Authors
Users online (12,772)