code: function (config, cb) {
  
          var o = {}, k;
          o.domain = this.baseConfig.domain;
          //o.execution = this.workflowId;
  
          for (k in config) {
              if (config.hasOwnProperty(k)) {
                  o[k] = config[k];
              }
          }
  
          this.swfClient.getWorkflowExecutionHistory(o, cb);
      }
docs: Get the history for the workflow execution
  @param {Object} config
  @param {Function} cb