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

Current method to return Pick List Values from PVA in Actions

Hello! What is the current method for puling the text value of an option set in Power Automate for a PVA Action? I found several methods suggested that didn't always specify the connector type and I thought this CDS method would be promising but its not working for me. http://crmaddicted.blogspot.com/2020/01/working-with-optionset-lables-in-power.html

 

The error states it cannot find the value?

 

Unable to process template language expressions in action 'Compose_2' inputs at line '1' and column '13242': 'The template language expression 'items('ApplyEachClaim')['_xxx_claimstatus_label']' cannot be evaluated because property 'xxx_claimstatus_label' doesn't exist, available properties are...

5 REPLIES 5
renatoromao
Super User
Super User

Hi @bradlaw ,

 

Can you take some screenshots around your workflow, please?

You can see my workflow template, they can help you to understand better about CDS with Power Automate to return to PVA.

https://powerusers.microsoft.com/t5/Publish-Channel-Management/Is-it-possible-to-reconnect-the-user-...


Did I answer your question? Mark my post as a solution!
Thanks!

Renato Romão,

Connect with me here 😉

Power Virtual Agents course (+2.300 students | PROMOTIONS) : English | Português

@renatoromao here you go. I am trying to get to the picklist label. Thanks!
pva action 1.png

 

Jcook
Super User III
Super User III

Hello @bradlaw 

 

CDS connector has been updated, the outputs are slightly different.

The best way to check, is to check the outputs of your List records action in the run. and copy the outputs to an editor like Visual Studio or Notepad++.

 

Check your outputs for the item value. For example:

I am looking for the text value of EventType. Looking in the outputs I found these

"cr589_eventtype@OData.Community.Display.V1.FormattedValue": "Potential Claim",
"cr589_eventtype": 659950000,

So my expression would look like this:

items('ApplyEachClaim')?['cr589_eventtype@OData.Community.Display.V1.FormattedValue']

 


Did I answer your question? Mark my post as a solution!

If you like my post please hit the Thumbs Up


Proud to be a Flownaut!


Check out my blog for Power Automate tips,
tricks, and guides
FlowAltDelete





Jcook
Super User III
Super User III

Hi @bradlaw 

 

Could you provide an update on this?


Did I answer your question? Mark my post as a solution!

If you like my post please hit the Thumbs Up


Proud to be a Flownaut!


Check out my blog for Power Automate tips,
tricks, and guides
FlowAltDelete





Jcook
Super User III
Super User III

Hello @bradlaw 

 

Is your problem solved? Please provide an update.

 

Thank you!


Did I answer your question? Mark my post as a solution!

If you like my post please hit the Thumbs Up


Proud to be a Flownaut!


Check out my blog for Power Automate tips,
tricks, and guides
FlowAltDelete





Helpful resources

Announcements
March Update

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Carousel

Sign up for our May 4th event!

May the fourth be with you, join us online!

MSFTBizAppsLaunchEvent

Experience what’s next for Power Virtual Agents

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

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (41,458)