Auto-run for script in deployer

Hello,
I know that we can auto-start activities with the deployer, but is there a
way to auto-start scripts or state machines?

Thank you,

Philippe

Auto-run for script in deployer

On Tuesday 17 March 2009 18:54:42 Philippe Hamelin wrote:
> Hello,
> I know that we can auto-start activities with the deployer, but is there a
> way to auto-start scripts or state machines?

There probably should be such an option in the deployer xml. It looks like a
trivial extension. The work around today is to look up the state machines in
your startHook() and start them all or if they meet some naming criterium.

this->engine()->states()->getStateMachineList(); // returns vector of names
this->engine()->states()->getStateMachine("name"); // returns state machine 
object

Peter