lib/flow.js
/**
     * This method will set the current state Id and current state name for this flow and will NOT take into
     * account any subflow logic
     * @param requestedStateId
     */
This method will set the current state Id and current state name for this flow and will NOT take into
account any subflow logic
@param requestedStateId
This method will set the current state Id and current state name for this flow and will NOT take into account any subflow logic @param requestedStateId
set requestedStateId(requestedStateId) {
        if( requestedStateId === State.states.FLOW_COMPLETE || requestedStateId === State.states.INIT ) {
            this._requestedStateId = requestedStateId;
            this._requestedStateName = requestedStateId;
        }
        else if(this.states[requestedStateId]) {
            this._requestedStateId = requestedStateId;
            this._requestedStateName = this.states[requestedStateId].name;
            this._requestedState = this.states[requestedStateId];
        }
    }
set requestedStateId ( requestedStateId ) { if ( requestedStateId === State . states . FLOW_COMPLETE || requestedStateId === State . states . INIT ) { this . _requestedStateId = requestedStateId ; this . _requestedStateName = requestedStateId ; } else if ( this . states [ requestedStateId ] ) { this . _requestedStateId = requestedStateId ; this . _requestedStateName = this . states [ requestedStateId ] . name ; this . _requestedState = this . states [ requestedStateId ] ; } }
This method will set the current state Id and current state name for this flow and will NOT take into
 account any subflow logic
 @param requestedStateId
This method will set the current state Id and current state name for this flow and will NOT take into account any subflow logic @param requestedStateId
// States: State.states.FLOW_COMPLETE, and State.states.INIT // aren't in the definition outright