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
MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

March Update

Welcome to the User Group Private Preview

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

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Kudoed Authors
Users online (59,731)