Flow: Retrieve urls of uploaded files in standard object and update a field in custom object for Platform Salesforce license
Use case: Platform license users have no visibility to view Opportunity and its child object's records (S object) and files. E object is a custom object that has look up fields to Scope and Opportunity. Object structure: 1Oppt - mScope 1Scope - mE. The purpose is to get the urls of files in Scope object and update in a field of E object after those files were shared to Platform license user group. 1. Get parent record through input variable (if we use it in process builder) 2. To get ContentDocmentLink in parent object (Oppty or Scope in this case), we check LinkedEntityId equals parent object id. 3. Check if there is any doc is found. If yes, loop and get all urls, otherwise exit the flow or notify user through screen. 4. Loop each element 5. Create a formula for document url and assign values 6. Add each element to a collection 7. Assign url to a field in a child object (E object) and create/update record of E object.