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

Email to D365 status and missing fields

Hi all,

I want to realize a flow that when a mail arrives at an mailbox, this mail is being attached to an opportunity. Now am i having a two problems:
1. The fields: 'From', 'To', 'CC', 'BCC' are not being filled.
2. The created mail has the status CONCEPT and I want to have the status to Received (Ontvangen). 
2.1 - When i change the flow to 'Get e-mail record' i see that i need to fill the following fields
get email record.PNG

But when i  fill the field Statuscode i get the following error? 

message": "3 is not a valid status code for state code EmailState.Open on email with Id 009bc0e1-59a2......


The flow i trying to realize is :

Flow create mail.PNG
This is my output on the D365 side
Dynamics mail open.PNGD365 created mail


1 REPLY 1
Community Support Team
Community Support Team

Re: Email to D365 status and missing fields

Hi @Oos ,

 

"From" you mentioned can be found in the field list.

21.PNG

To/CC/BCC seems to be unified into To Recipients field. It may be necessary to use a semicolon to separate the relevant email addresses.

22.PNG

 

In addition, regarding the invalid status code, I can reproduce similar errors here, but I have not found the reason yet. Please refer to the thread and see if it helps in Dynamic community:

create-lead-exception-3-is-not-a-valid-status-code-for-state-code-leadstate-open-on-lead-with-id

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020.

thirdimage

Flow Community User Group Member Badge

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

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 4 members 4,121 guests
Recent signins:
Please welcome our newest community members: