I am unable to pass the value outside the scope once i resolved the promise. Please check my code here.
var FullName;
async.series([
  function(callback) {
    var name = element(by.css('.xyz')).getText().then(function(text) {
      console.log("print name" + text);
      FullName = text;
      console.log("Able to print successfully" + FullName);
    });
    console.log("Unable to print the name outside" + FullName);
    callback();
  },
  function(callback) {
    //I want to retrieve the FullName value to this function. 
    //but unable to bring the value to this function
    console.log("Unable to print the name on the second function too" + FullName)
    callback();
  }
], function(err) {
  done();
}) 
    