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

4 REPLIES 4
Highlighted
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 (+1.000 students | 25% OFF) : https://www.udemy.com/pva-beginners
Highlighted

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

 

Highlighted

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




Highlighted
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




Helpful resources

Announcements
PVA Commnity Blog

NEW Power Virtual Agents Community Blog

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

Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

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.

Top Solution Authors
Top Kudoed Authors
Users online (13,893)