cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
NielsL
Helper V
Helper V

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
yashag2255
Dual Super User II
Dual Super User II

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
yashag2255
Dual Super User II
Dual Super User II

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

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

 

Thanks! 

 

Eivj7ENXYAAqSnI.jpg

Helpful resources

Announcements
2022 Release Wave 1 760x460.png

2022 Release Wave 1 Plan

Power Platform release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Users online (2,368)