If we have placed the file upload component in the published rich form, then in order to consume that file in the process flow, follow these steps.
1. Put a Context Source in the process flow
2. Make the Document Repository property to True
3. Select FORM_UPLOADED_FILE_NAME variable in the File Name property