Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Suggested answer

Cannot update closed or cancelled activity dynamics 365

(0) ShareShare
ReportReport
Posted on by 30

Hi There,

I need some help on the below please.

We have a custom form for a phone call activity and when the user goes to create a new phone call they get this error message below, this is a brand new phone call activity record.

pastedimage1682691254069v1.png

This is in the error log

Starting sync workflow 'YYY KIT - Phone Call Account Management', Id: dabe32ad-86be-ed11-83ff-000d3ab959c0
Entering ConditionStep1_step:
Sync workflow 'YYY KIT - Phone Call Account Management' completed successfully
Starting sync workflow 'YYY Phone call not completed', Id: 43bf32ad-86be-ed11-83ff-000d3ab959c0
Entering ConditionStep1_step: Check if Phone call is completed
Entering UpdateStep3_step:
Entering UpdateStep4_step:
Entering SetStateStep5_step: close phone call
Sync workflow 'YYY Phone call not completed' terminated with error 'Cannot update Closed or Cancelled Activity'

On the workflow it comes up with the message " failed ISV code aborted the operation "

pastedimage1682691698357v3.png

Anyone got any ideas please?

  • CrashQ Profile Picture
    30 on at
    RE: Cannot update closed or cancelled activity dynamics 365

    i've looked at the workflow and this is what it runs off:

    pastedimage1683017033507v1.png

    The option when "record is created" has been ticked, would cause the issue? As an admin i am able to create a new phone call activity if the contact has an existing phone call activity that has been closed. The issue is when the user goes to create a phone call activity they they get the error message.

  • CrashQ Profile Picture
    30 on at
    RE: Cannot update closed or cancelled activity dynamics 365

    thanks for the reply, how do i find out how if there are any custom plugin against the workflow, the failed process session has been deleted now so i unable to check the dialog box.

  • Suggested answer
    Adrian Begovich Profile Picture
    1,019 Super User 2025 Season 1 on at
    RE: Cannot update closed or cancelled activity dynamics 365

    Hi JamesP2793,

    There is a custom synchronous workflow in your environment called YYY Phone call not completed. You will need to investigate this synchronous workflow to work out why it is trying to update a closed or cancelled activity record and terminating with a 'Cannot update Closed or Cancelled Activity' error message. I suspect that the YYY Phone call not completed synchronous workflow is trying to update a closed or cancelled phone call record.

  • Steve Le Monnier Profile Picture
    955 on at
    RE: Cannot update closed or cancelled activity dynamics 365

    In the dialog box if you scroll down there will be a log file that will provide a basic stack trace which may help.

    My first thoughts having seen something similar is is there any Custom Plug-Ins involved in the process that's causing the issue. The debug file from the dialog box should confirm this.

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,025 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,837 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans