I managed to open tasks using java script and populate suggested fields. It works OK. Additionally I discovered that for change process made with new process designer you also have to populate "changePlan" table which holds information about change and each task; when it is opened (openInPhase) and when it should be closed (closedByPhase). OOB does this but has several bugs and it does not work. I solved this with another JS ... it works.
Now I have new challenge; most of phases in CM process have automatic phase transition defined. This should be activated when all necessary tasks are closed or all necessary approvals were made. With approvals it works but when I close tasks that need to be closed in defined phase, the change process is not forwarded to next phase. Opening change record and simply saving it (all tasks for the phase should be closed) with no data changes triggers phase forwarding.
1. How to trigger automatic change phase forwarding (transition) without opening and saving change record?
2. Alternatively … how to call “change.update.save” (actual Save button) without opening change record?
I have taken in account your suggestion and used "doAction" in JS. It worked normally except once (it could be a coincidence) when the client crashed and data has become corrupt (... update and "save" task record and based on task status perform referenced change "save" action ...).
On my opinion this scenario can also be performed manually (two users ... two simultaneous "save" actions).
Is there any possibility to delay second action (in this case change "save") or somehow to schedule change "save" action?