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 :
Finance | Project Operations, Human Resources, ...
Answered

Extend wizard class of next() method with CoC

(0) ShareShare
ReportReport
Posted on by 16

when I create a method for wizard class for the next() method it gives me the error  " Chain of command method must contain one next call.
" how can I CoC for the next() method. The error picture is shown below.

pastedimage1653044457934v1.png

I have the same question (0)
  • Verified answer
    Martin Dráb Profile Picture
    237,967 Most Valuable Professional on at

    It's time for one rarely-used feature of X . 

    public void next()
    {
    	next @next();
    }

  • Ghzanfar Abbas Profile Picture
    16 on at

    Hi Martin.

    Thanks for the quick response and also thanks for the solution.

    one thing is that void does not return any type in the method.

    I replace the return with a blank and working fine.

    Again thanks....

  • Martin Dráb Profile Picture
    237,967 Most Valuable Professional on at

    Ah, sorry, I wasn't careful enough when typing code here. The forum lacks a compiler. :-)

    I'll remove the 'return' statement.

    If the problem is resolved, please don't forget to verify the answer.

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 456 Super User 2025 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 429 Most Valuable Professional

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 239 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans