This function retrieves the data of a submission which was temporarily stored in the 'pending' directory (waiting for an approval for example), and moves it to the current action directory.