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

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

How to close Activities as Cancelled in one click?

(0) ShareShare
ReportReport
Posted on by 1,210

I have this requirement, where when a User closes a Task as 'Close Task' it should simply close the Task as cancelled. Not throwing a dialog asking how I should close this Task activity "Completed or Cancelled".

Is there a code less solution for this ?

Would appreciate your help

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at
    RE: How to close Activities as Cancelled in one click?

    There is a way of customizing OOB command - ribbonworkbench.uservoice.com/.../81981-2-customising-standard-ribbons

    Option 1 - I don't think there is an easy way to accomplish that.

    Option 2 - definitely possible using call of realtime workflow or crm endpoint.

  • Karuna Karan Profile Picture
    1,210 on at
    RE: How to close Activities as Cancelled in one click?

    Ok lets say I go with Ribbon Workbench. Is there a way to modify the OOB button action? rather than I creating a custom button, do you know how to configure RWB which will set the state = cancelled?

    Option 1: Click cancel, the OOB dialog appears and default option is 'cancelled' not 'completed' and User just presses 'close'

    Option 2: Click cancel button, activity is cancelled directly

  • Suggested answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at
    RE: How to close Activities as Cancelled in one click?

    I'm afraid there is no no-coding solution. This way or that way you will have to open some tool either RibbonWorkbech or Visual Studio.

  • Karuna Karan Profile Picture
    1,210 on at
    RE: How to close Activities as Cancelled in one click?

    Andrii, I like the idea and to do that, I need to use Ribbon Workbench, remove the OOB Cancel button and put a custom button which will call a On-demand WF to set the status as cancelled.

    But I'm looking for more simple action, like one click, no pop up dialog.

    The User will go into the Task form review the data and then click a button, thats it.

    Any other ideas??

  • Suggested answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at
    RE: How to close Activities as Cancelled in one click?

    Hello,

    Have you considered Real-Time workflow?

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…

Mansi Soni – Community Spotlight

We are honored to recognize Mansi Soni as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Community Member Profile Picture

Community Member 2

#2
Christoph Pock Profile Picture

Christoph Pock 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans