Add state machine identifier
Support define context event, like start, finish, terminate