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

Get CDS environment/instance type in flow

I came across the blog post by Andrew Butenko on how to the type of instance/environment using code. 

 

I have a use case, where I would like to retrieve this information in a flow. E.g., is the current environment a Sandbox, Production or Support instance?

 

type.png

 

Does anyone know if that is possible to extract from a flow action of some sort? 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Dual Super User III
Dual Super User III

Re: Get CDS environment/instance type in flow

Hi @NielsL 

 

Have you tried this action:

 

yashag2255_0-1600957532533.png

 

It returns with all the relevant details for an environment. 

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

2 REPLIES 2
Highlighted
Dual Super User III
Dual Super User III

Re: Get CDS environment/instance type in flow

Hi @NielsL 

 

Have you tried this action:

 

yashag2255_0-1600957532533.png

 

It returns with all the relevant details for an environment. 

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

Highlighted
Helper IV
Helper IV

Re: Get CDS environment/instance type in flow

Cheers @yashag2255 . I was able to use that action with the expression below.

 

Thanks! 

 

Eivj7ENXYAAqSnI.jpg

Helpful resources

Announcements
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.

Upcoming Events

Experience what’s next for Power Automate

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Community Conference

Power Platform Community Conference

Find your favorite faces from the community presenting at the Power Platform Community Conference!

Top Solution Authors
Users online (6,906)