How to Make a Task parallel multi instance programmatically


I want to convert a task to Parallel Multi Instance through JavaScript rather selecting this option from popup header.

Likewise I would like to convert Parallel Multi Instance task to normal task again.

Thanks in advance for your inputs.


You could have a look at Here at ReplaceMenuProvider class. This method is executed when you click on MultiInstance etc. items.

Does this belong / is this the same question as in your other opened thread? Please avoid opening different threads for the same question.

As Oguz said, this is the place were a multi instance marker will be created currently in the application, and it showcases how to do it. Where do you struggle for now?