View the record(s) that user follow in a table using flow #inSalesforce
Prod Install: https://login.salesforce.com/?ec=302&startURL=%2Fpackaging%2FinstallPackage.apexp%3Fp0%3D04t5G0000043xtAQAQ
Sandbox Install: https://test.salesforce.com/?ec=302&startURL=%2Fpackaging%2FinstallPackage.apexp%3Fp0%3D04t5G0000043xtAQAQ
Display the Case Records that the User follows
Create a screen flow
Create a text template name it suppose Query
Query: Select Id, CaseNumber, Subject, Status from Case where Id in(Select ParentId from EntitySubscription where SubscriberId='{!$User.Id}')
Create a record collection variable (CaseCollection) and store the output of the Apex Action in it
Action:
Select Execute SOQL Query Action. Select the object and the text template
Object: Case
soqlQuery:{!Query}
Advanced:
Manually assign variables
sObjects {!CaseCollection}
Decision:
Following Cases?
Yes CaseCollection isnull false
Screen: Datatable:
Object - Case
Select the record collection, etc.
Visual: https://www.youtube.com/watch?v=VIt4YZwG-88








Comments
Post a Comment