web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Business Central forum

Business Central - Trigger email with Microsoft Flow

(0) ShareShare
ReportReport
Posted on by 297

Hello,

I created a flow (blank flow) with a condition "When a record created" and chosen the table Items. The action is to send a email.

When a new item was created, there was an error shown on the flow on the trigger.  

The error shown was: 

"ErrorCode: Application_StringExceededLength The length of the string is 544, but it must be less than or equal to 250 characters. Value: eyJuIjoiaHR0cHM6Ly9wcm9kLTA4LnNvdXRoZWFzdGFzaWEubG9naWMuYXp1cmUuY29tL3dvcmtmbG93cy9lOGY3ZjBmOTA4YmU0ZjkzYTcxNDc0ZTFhN2I5Njg3Ni90cmlnZ2Vycy9XaGVuX2FfcmVjb3JkX2lzX2NyZWF0ZWQvdmVyc2lvbnMvMDg1ODYzNzU3NTI2...\r\nclientRequestId: dd3187b8-cbd4-4075-881c-4f621eb642b8",

I tried creating another one for customers but encountered the same error.

Is there any setup that i must do before i can use MS Flow with Business Central?

Appreciate all assistance.

May,Tang

Categories:
  • Suggested answer
    Stefano Demiliani Profile Picture
    37,172 Most Valuable Professional on at

    No special setup needed. You should post a flow definition image here in order to assist.

  • Tymay Profile Picture
    297 on at

    BC-Flow-Error.docxHi Stefano, thanks for you feedback. Kindly find attached screen shot

  • Suggested answer
    Stefano Demiliani Profile Picture
    37,172 Most Valuable Professional on at

    Have you added Item fields on the Email body definition?

  • Tymay Profile Picture
    297 on at

    No. On my window, there is only Row ID that can be selected which i did not select. Based on the error, seems that the trigger itself already hit with error, before has the chance to go to the next step - send email.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Business Central

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans