Announcements
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\"}}}"}
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?
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.
Plugin is working fine in another model driven app
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.
Can you share the associated source code or the steps to reproduce this bug?
André Arnaud de Cal...
294,206
Super User 2025 Season 1
Martin Dráb
232,968
Most Valuable Professional
nmaenpaa
101,158
Moderator