How to Incorporate Form Into Screen Flow
You can embed Form to the Salseforce Visual Workflow.
Visual Workflow in Salesforce is a drag and drop interface that allows Salesforce user’s to automate business processes by creating applications using Process builder without code. It is similar to Work-Relay, but less powerful and very simple. Read this Salesforce article to know more.
Go to needed Visual Workflow page (1). Double click on necessary "Screen" element (2) to show it's "Edit" popup (3), select WR Form Panel component (4) in the components list and place panel appeared (5) to the screen section you need:
Fill in API Name (6), Form Id (7; copy the Id from your form Settings tab -> Id and define a variable for the Form Id):
Populate other properties:
-
Form mode (10)
The form mode: pass 'view' or 'edit' values. -
Context Fields (8)
Allow to pass parameters to the form from the Context object.
Use JSON key/value format to pass the context record field values to the form. The 'key' is the parameter name, the 'value' is the field api name.
Example: The form source object is Contact(FirstName='Jim', LastName='Lee'). The contextFields in this case may look like:{"fnameParam":"FirstName", "lnameParam":"LastName"}
- In the form the merge field {$FormParameters.fnameParam} will be replaced with "Jim".
Note: Context field setting will work only if Record Id is passed. -
Entire Height (9)
Select this mode if you want to see the entire height form. -
Record Id (11)
Pass context record id to the form. To do this create recordId flow variable first, then put it into Record Id field.
NOTE: Variable should have 'recordId' API name:
0 Comments
Add your comment