Scenario A: Create a custom action to clone multiple records from the listview including related records. A staff member needs to update external id and neccessary fields for each record at the time of the cloning action.
Builind Blocks : Rest API, JSON, InvocableMethod, ScreenFlow, Custom Quick Acition Button
Summary: Your company offers a certification program requiring an application, references and review/training processes hosted in a proprietary software. The certification lasts a year and applicants are required to maintain their certifications by submitting the renewal request to the app. When a returning applicant submits the interest to return, the app creates an a renewal application by cloning the previously existing application with related supplements to start the new review process. This workflow eliminates the full reviewing process for the returning applicants.
Salesforce REST API/JSON integration of the external data comes in when there is a new application record; however, the cloned application of the returning applicant should be cloned manually from Salesforce due to irregularity of each applicant's experience after the first program.
You, as a Salesforce guru, provide solutions for the staff member to clone multiple records from the application listview including related records and to add new info on the renewed application.
Make dynamic query with selected record ids passed from the listview.
FlowInputParameters
FlowOutputParameters
FlowInputParameters
FlowOutputParameters
This class contains one invocable method which processes the cloning of child object records when the cloning of parent object is being initiated. The method does not require a uer input though it can be easily configured by adding new variables to FlowInputParameters inner class.
FlowInputParameters
FlowOutputParameters