Prompt users for a more guided experience using screen flows. When creating a Salesforce Flow, Users now have the ability to add the following Squivr Components to be referenced in a screen:
Setting the Design Attributes when using Screen Flow
Org Chart Wrapper
Populate the data for Org Chart by completing the following design attributes:
Account Field: This is used to reference the field that the account you want to reference is populated. This field is necessary if you do not populate the Record Id (see below) with an Account Id from the provided record.
Enabled Objects: This field allows you to determine which objects are displayed on the Org Chart. Valid inputs are Accounts and Contacts, Accounts, Contacts, with the default being Accounts and Contacts.
Org Chart Configuration: This field needs the Record Id of the Org Chart Configuration you want to use, if you do not plan to override the default Configuration you do not need to worry about this field.
Record Id: This is the record Id referenced for the Org Chart. If passing an Account Id, the Account Field is not needed unless referencing another Account related to the Account. If the Record Id is any other object, the Account Field will need to be populated with the field API Name that references the Account you want to view.
Populate the data for Timeline by completing the following design attributes:
Record Id: This is the record Id referenced for the Timeline. This can be any Id that references an object configured for Playbook.
Populate the data for GanttChart by completing the following design attributes:
Record Id: This is the record Id referenced for the GanttChart. This can be any Id that references an object configured for Playbook.
Note: when creating a variable for Record Id you must set it to be Available for Input
Screen Flow Setup Examples
Org Chart Examples
Account Screen Flow
Simply search for the Org Chart Wrapper component and dragged onto the screen. In this example, since we are planning to launch this flow from an action on the Account page, we did not need to set a value for Account Field
The variable set for Record Id is of Date Type Text and is Available for input
Opportunity Screen Flow
In this example, we plan to launch this Screen Flow from an Opportunity page action so the Account relationship field (AccountId) is populated. Also, we want to only show Opportunity Contact Roles in this Screen Flow so the Id of the Org Chart Configuration record has been populated. The variable used for Record Id is configured exactly like in the above example.
In this example, the Flow contains two Screen elements - one for the Timeline component and one for the GanttChart component. This will be launched from an Opportunity providing insight into how we are tracking against key milestones. The variable used for Record Id is configured exactly like the Org Chart examples above.
The Screen element for Timeline and GanttChart will reference the same Record Id variable.