Final state for the satatMachine workflow

Hi,

CompletedStateName is the property of the stateMachine workflow, it is for the final state. Is it ok for a stateMachine WF that doesn't have the final state It will be runing forever and will never be completed. My group leader suggests that I should use stateMachine WF that doesn't have the final state for our project.

Is there any problems to do that

Thanks

Brain



Answer this question

Final state for the satatMachine workflow

  • Chris Smith

    You are not required to have a CompletedStateName set. Keep in mind that since completed state name property is a Metadata property it must be set a design time so you can't decide at some later point to use dynamic update to add and set the completed state.



  • PURNARAM

    You should have a CompletedState for a State Machine workflow.

    It might help if I understand a bit more about what you are trying to accomplish.



  • kajester

    Bill ,

    I've just tested it right now (beta 2.2) : my state machine can loop; and I don't have to provide a CompletedState.

  • Final state for the satatMachine workflow