cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
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

 

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




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




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
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Virtual Agents Community Super Users!

Congratulations to our Season 1 2021 Super User Crew!

PVA Commnity Blog

NEW Power Virtual Agents Community Blog

View articles posted by fellow community members on the Power Virtual Agents Community Blog!

Microsoft Ignite

Microsoft Power Platform: 2021 Release Wave 1 Plan

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

Top Solution Authors
Users online (71,513)