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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested Answer

HexErrorCode: 0x80040315

(0) ShareShare
ReportReport
Posted on by 5

Made a new model driven app but getting this error below when trying to create an automatic email that is linked to a record of an entity. 

Exception Message: this action is not supported

ErrorCode: -2147220715
HexErrorCode: 0x80040315
Error Details: {"errorCode":2147746581,"message":"this action is not supported.","code":2147746581,"title":"not supported","raw":"{\"_errorCode\":2147746581,\"_errorFault\":{\"_responseXml\":null,\"_errorCode\":2147746581,\"_innerFault\":{\"_responseXml\":null,\"_errorCode\":0,\"_innerFault\":null,\"_callStack\":null,\"_responseText\":null,\"_annotations\":null,\"_messages\":[\"ccp_generatedocument_bra_brandveiligheidsattest#2011/Organization.svc\"]},\"_callStack\":null,\"_responseText\":\"{\\\"error\\\":{\\\"code\\\":\\\"0x80040315\\\",\\\"message\\\":\\\"ccp_generatedocument_bra_brandveiligheidsattest#2011/Organization.svc\\\",\\\"@Microsoft.PowerApps.CDS.HelpLink\\\":\\\""@Microsoft.PowerApps.CDS.TraceText\\\":\\\"\\\\r\\\\n[CCP.ProcessEngine.Plugins:">go.microsoft.com/.../ CCP.ProcessEngine.Plugins.TriggerBusinessProcess]\\\\r\\\\n[5581fc13-2e8a-e611-80db-0050569270d7: CCP.ProcessEngine.Plugins.TriggerBusinessProcess: SetStateDynamicEntity of task]\\\\r\\\\n\\\\r\\\\n\\\",\\\"@Microsoft.PowerApps.CDS.InnerError.Message\\\":\\\"ccp_generatedocument_bra_brandveiligheidsattest#2011/Organization.svc\\\"}}\",\"_annotations\":{\"@Microsoft.PowerApps.CDS.HelpLink\":\""@Microsoft.PowerApps.CDS.TraceText\":\"\\r\\n[CCP.ProcessEngine.Plugins:">go.microsoft.com/.../ CCP.ProcessEngine.Plugins.TriggerBusinessProcess]\\r\\n[5581fc13-2e8a-e611-80db-0050569270d7: CCP.ProcessEngine.Plugins.TriggerBusinessProcess: SetStateDynamicEntity of task]\\r\\n\\r\\n\",\"@Microsoft.PowerApps.CDS.InnerError.Message\":\"ccp_generatedocument_bra_brandveiligheidsattest#2011/Organization.svc\"},\"_messages\":[\"ccp_generatedocument_bra_brandveiligheidsattest#2011/Organization.svc\"]},\"_message\":\"ccp_generatedocument_bra_brandveiligheidsattest#2011/Organization.svc\",\"_exception\":null,\"_innerError\":null,\"_errorSource\":3,\"_blockErrorReporting\":false,\"_stack\":null,\"_faultedRequestIndex\":-1,\"_clientRequestId\":\"d0e3dc93-49ce-4143-8d56-c336f2a085f1\",\"_serverResponseId\":\"49805fdd-1db1-444c-b8bc-c6a913fcc6d5, cf625cad-f8c8-4a25-88ce-d4089685fae2\",\"_httpStatusCode\":405,\"_retryAfter\":null,\"_date\":\"2023-03-23T10:10:18.000Z\",\"_isRequestTooLong\":false,\"message\":\"ccp_generatedocument_bra_brandveiligheidsattest#2011/Organization.svc\",\"name\":\"Error\",\"stack\":\"No stack available.\",\"__action\":{\"source\":{\"actionType\":\"modernDataSource.execute.odata.async\",\"actionStack\":\"modernDataSource.execute.odata.async\",\"contextId\":\"fc7af0b3-c2af-4abd-bfca-98343ad54223\"},\"child\":{\"actionType\":\"oData.update.async\",\"actionStack\":\"oData.update.async\",\"contextId\":\"18d5a487-1db9-4193-85df-c6e15fe01034\"}}}"}

I have the same question (0)
  • XM-22040801-0 Profile Picture
    11 on at

    Can you share the associated source code or the steps to reproduce this bug?

  • Suggested answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at

    Hello,

    It seems that you have plugins that do not work the proper way and the name of it CCP.ProcessEngine.Plugins.TriggerBusinessProcess. Try to disable the operation and check it again. If it is that plugin - you will have to troubleshoot the plugin, find and fix the issue to enable your full scenario.

    Good luck.

  • Elien Stevens Profile Picture
    5 on at

    Plugin is working fine in another model driven app

  • Elien Stevens Profile Picture
    5 on at

    I'm trying to close an activity (task) after which the message shows. After this task the system should create an e-mail and send it. When I delete the step of the e-mail the problem is gone but I don't want users to manually create an e-mail.

  • Suggested answer
    XM-22040801-0 Profile Picture
    11 on at

    It seems to come from a status transition error.

    Are you trying to change the statuscode / statecode of the task while sending the mail?

    Does the status code exist in the entity you are modifying? Do you try to close the task twice?

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Martin Dráb Profile Picture

Martin Dráb 62 Most Valuable Professional

#2
#ManoVerse Profile Picture

#ManoVerse 57

#3
Pallavi Phade Profile Picture

Pallavi Phade 49

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans