Salesforce Upsert Issue

I have upserted (there is no CaseNumber field in input file but CaseID will be there which is primary key in SF Case object) one document to SF Case object. after upserting it(CaseNumber) will be generated. Now I need to get that CaseNumber after the output of the SF upsert snap. Can any one suggest?