How to add a stage in Document Checklist
How to add a stage in Document Checklist
To add a stage in Document Checklist,
Go to ‘Document Checklist’ object and add the picklist values in 'cm_lending__Application_Stage__c' field.
Then, go to ‘Document Checklist Configurations’ object and add the picklist values in 'cm_lending__Application_Stage__c' field.
Then create the below mentioned flow.
How to Create a Flow for Document Checklist Configuration
This flow is created to make sure that whenever an intake application form is filled, the credir application record shows the document checklist items in the new stage.
Click on New Flow and select Record Triggered flow.
Select the Object as ‘Credit Application’.
Configure Trigger: Select ‘A record is updated’.
You see Entry conditions as shown below.
Field: cm_lending__Application_Type__c Operator: Is Null Value: false
Field: RecordTypeId Operator: Is Null Value: false
6. When to Run the Flow for Updated Records: Every time a record is updated and meets the condition requirements.
7. Optimize the Flow for: Actions and Related Records
Create a Document Checklist variable
Note: Please make sure you are on ‘Freeform’ type.
In Toolbox section, select ‘Manager’ tab and then click on ‘New Resource’.
Select ‘Variable’.
Select the datatype as ‘Text’ and put the Default value as Record ID as shown in the picture below.
Mark the checkboxes for Available for input and Available for output as true.
Click on ‘Save’.
Setting up configuration:
In Toolbox section, select ‘Elements’ tab and then drag ‘Assignment’ to the white area.
In the ‘Set Variable Values’, (refer to the screenshot below)
Variable: Add the variable you just created, in this case, it is creditStageVariable
Operater: 'Add'
Value: “-<Document Stage Name>” (without quotes), in this case, -Credit
Click on ‘Done’
4. Drag and drop ‘Action’ from the Toolbox.
5. Select ‘Create Document Checklists’ in Action.
6. In Set Inpur Values, enable the toggle button ‘creditIdCombo’ and enter the name of the Variable.
7. Click on ‘Done’.
7. Connect the elements as shown below: