cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Regular Visitor

Flow fail with Condition @empty(body('Filter_array'))

 

I am followed steps in this post to get the thing.  In one O365 enviromnent it is working, but when I export that flow to other O365 enviorment it is failing.  I am not getting the error it is showing.

 

Below the scree shot of the error I am getting.

 

1.PNG2.PNG

 

 

 

It is failing at condition  @empty(body('Filter_array'))

 

 

any suggestion !!

4 REPLIES 4
Highlighted
Community Support
Community Support

Re: Flow fail with Condition @empty(body('Filter_array'))

Hi @CJ_SH,

 

Could you please share a screenshot of the configuration of your "Create item" action in your flow?

Could you please share the run details of the flow when it run failed?

Could you please share more details about the error message of the "Create item" action?

 

I have checked your flow and find no any issue, please share more details about the error message so we would try to provide a proper workaround for you.

 

Best regards,

Alice

Highlighted
Regular Visitor

Re: Flow fail with Condition @empty(body('Filter_array'))

hi @v-yuazh-msft

 

Here is all the details, i could gather..

 

1.Complete Flow

2. Details of Create Item 

3. Error Details for Flow Run

 

Complete Flow:c1.PNG

 

c2.PNG

 

 

 

  Detailed Flow 

 

d1.PNG

 

d2.PNG

 

 

 

Create Item

 

Create Item when Condition is True (Manually added m/f and NA, in some columns)

create1.PNG

 

 

Create Item when condistion is False

 

if no create2.PNG 

 

Flow run error detailserror details.PNG 

 

 

Please do let me know if need any more details.. 

 

 

 

 

 

Highlighted
Community Support
Community Support

Re: Flow fail with Condition @empty(body('Filter_array'))

Hi @CJ_SH,

 

The information that you provided couldn't help solve the issue.

 

Please share the full screenshot of the run details of the Create item action in the If yes branch.Capture.PNG

 

 

 

The full screenshot of the image above would help solve the issue.

 

Best regards,

Alice

 

Highlighted
Regular Visitor

Re: Flow fail with Condition @empty(body('Filter_array'))

Hi Alice

 

Please find below screen shot and details

w1.PNG

 

w2.PNG

 

 

 

Details under Item (I have changed personal details with my name  CJ_SH) 

 

{
  "EmployeeID": "CH_SH",     
  "Title": "CJ_SH",
  "Gender": "m/f",
  "Designation": null,
  "Grade": "NA",
  "DOB": "0001-01-01T00:00:00Z",
  "Location": null,
  "Division": "NA",
  "Last_x0020_Working_x0020_Day": "NA",
  "Date_x0020_of_x0020_joining": "0001-01-01T00:00:00Z",
  "Department": null,
  "Status": "NA",
  "EmployeeName": "SJ_SH",
  "Display_x0020_Name": "CJ_SH",
  "Email": "CJ_SH",
  "City": null,
  "Phone": null,
  "DOJ": "0001-01-01T00:00:00Z"
}

 

 

Details Under Header:

 

Key

Value

X-SharePointHealthScore

0

X-MS-SPConnector

1

X-SP-SERVERSTATE

ReadOnly=0

DATASERVICEVERSION

3

SPClientServiceRequestDuration

103

SPRequestDuration

292

SPRequestGuid

6d0f7a9e-b072-6000-f9a1-e4f6ac533da4

request-id

6d0f7a9e-b072-6000-f9a1-e4f6ac533da4

MS-CV

nnoPbXKwAGD5oeT2rFM9pA.0

Strict-Transport-Security

max-age=31536000

X-FRAME-OPTIONS

SAMEORIGIN

MicrosoftSharePointTeamServices

16.0.0.7827

X-Content-Type-Options

nosniff

X-MS-InvokeApp

1; RequireReadOnly

Timing-Allow-Origin

*

x-ms-apihub-cached-response

TRUE

Cache-Control

max-age=0, private

Date

Thu, 12 Jul 2018 13:59:20 GMT

P3P

CP="ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI"

X-AspNet-Version

4.0.30319

X-Powered-By

ASP.NET

Content-Length

203

Content-Type

application/json

Expires

Wed, 27 Jun 2018 13:59:20 GMT

Last-Modified

Thu, 12 Jul 2018 13:59:20 GMT

 

 

Details Under Body

 


{
  "status": 400,
  "message": "Cannot complete this action.\n\nPlease try again.\r\nclientRequestId: 79acdf04-f6e7-4c45-ad4f-cd0ba9c2a452\r\nserviceRequestId: 6d0f7a9e-b072-6000-f9a1-e4f6ac533da4"
}

 

Thanks

 

/CJ

Helpful resources

Announcements
FirstImage

Microsoft Ignite 2020

Check out the announcement of Power Platform content at Microsoft Ignite!

thirdImage

Experience what's new for Power Automate

Join us for an in-depth look at the new Power Automate features and capabilities at the free Microsoft Business Applications Launch Event.

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Users online (8,063)