Run phase and new phases in same component

Hi,
I have a case in which a component consists of both, a run phase and also the new(reset/configure/main/shutdown) phases. I am seeing issue like after reset phase, the configure (or even post-reset) phase is not getting called. The issue is not reproducible though. It sometimes does work properly.

Is this mix of two approaches(run phase along with new phases) supported? Or could this mix approach lead to some un-deterministic misbehavior?

Note: We have some code in out last project where this mix approach works.

Thanks,
Prasad

In reply to prasads:

Either you should work with the run_phase approach or with run sub_phases, but do not mix them.In your case I’d rename your run_phase with main_phase. This should work.

In reply to prasads:

Is this mix of two approaches(run phase along with new phases) supported? Or could this mix approach lead to some un-deterministic misbehavior?

It depends on your code.
What are exactly going on in reset and run phases in your component?

In general case both phases (‘run’ and ‘new’) going in parallel.

Best regards,
Dmitrii.