Skip to main content

Posts

Showing posts from 2021

Flow: Retrieve urls of uploaded files in standard object and update a field in custom object for Platform Salesforce license

 Use case: Platform license users have no visibility to view Opportunity and its child object's records (S object) and files. E object is a custom object that has look up fields to Scope and Opportunity.  Object structure:  1Oppt - mScope 1Scope - mE. The purpose is to get the urls of files in Scope object and update in a field of E object after those files were shared to Platform license user group.   1. Get parent record through input variable (if we use it in process builder)     2.  To get ContentDocmentLink in parent object (Oppty or Scope in this case), we check LinkedEntityId equals parent object id.  3. Check if there is any doc is found. If yes, loop and get all urls, otherwise exit the flow or notify user through screen. 4. Loop each element 5. Create a formula for document url and assign values   6. Add each element to a collection 7. Assign url to a field in a child object (E object) and create/update record of E object.

Einstein Analytic Note: Prediction

Answer 4 questions:  What happened? --> Descriptive Why it happened? --> Diagnostic What will happen? --> Predictive What to do about it? --> Prescriptive Einstein Discovery works on: Numeric outcomes (revenue) True/False - Yes/No question Einstein Discovery Lifecycle: Idea/ KPI value Define the problem Create story with Dataset of historical information Iterate/ Review analysis and model metrics/ take recommendation  Deploy and Predict Review story and enable prediction Monitor and maintain in Production