cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Kernel52
Frequent Visitor

The result of the evaluation of 'scope' action expression '@body('Get_item')?['Status']?['Value']' is not valid. It is of type 'Null' but is expected to be a value of type 'String, Integer'.

Quite a strange error appeared just yesterday.

My flaw worked just fine until yesterday.

 

What the workflow does is quite simple. Checks a sharepoint item, grabs the status vaule and goes on a switch case block.

 

What is very strange is that the flow retrieves the raw value of the status

image.png

 

The Switch Case block with the Status Value

image.png

 

 

 

And here is the error I receive (since yesterday)

 

image.png

 

Also:

I did send myself an email on fail with the values of status and satus value.

 

I get no values at all!

Kernel52_0-1614366109328.png

 

 

I have literally no clue. Can it be that some service of Microsoft is not resolved yet, since yesterday that they had a major incident?

 

thanks to any useful comment 🙂

2 REPLIES 2
DamoBird365
Community Champion
Community Champion

Hi @Kernel52 

 

Try inserting a compose just after your "Get Item" - to check what is being returned from your expression in the history of the run.  It looks like the expression "body('Get_item')?['Status']?['Value']" is not returning anything despite what you have screenshot.

 

Cheers

 

Damien

Kernel52
Frequent Visitor

Hi Damien,

 

thanks for sharing ideas on this issue and apologies for the delay on replying.

 

I get the impression that something has changed on the way that the flow is being triggered. I think that the split-on and the Concurrency Control have something to do with it.

 

Indeed a compose seems a very good way to check things. but on the specific issue I still went nowhere.

I redid my flow and it seems to be working.

 

best,

Nikolas

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Top Solution Authors
Users online (2,406)