cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
CJ_SH
Level: Powered On

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
Community Support Team
Community Support Team

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
CJ_SH
Level: Powered On

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.. 

 

 

 

 

 

Community Support Team
Community Support Team

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

 

CJ_SH
Level: Powered On

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

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

firstImage

Coming Soon: T-shirt Design Contest

Keep your eyes open for our upcoming T-shirt design contest!

firstImage

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Users online (6,616)