Salesforce-Indicators icon indicating copy to clipboard operation
Salesforce-Indicators copied to clipboard

Use Indicators in Flow

Open JodieM opened this issue 1 year ago • 3 comments

Similar to #63 let's start with a simple Component for showing one Indicator in a Flow. Pass in the CMDT Name for the Indicator, and show one Indicator.

JodieM avatar Nov 16 '22 10:11 JodieM

OK I've given up on this for now... I was able to create a simple indicator that was not record aware... that worked, but it defeats the purpose of the CMDT setup completely. I tried to make the Bundle Flow Aware but I could not work out how to get the recordId from the Flow into the Apex. So I'm not sure of the value of this at all now, so I'm putting it to future and discussion.

JodieM avatar Nov 19 '22 10:11 JodieM

I would like to we explore use of APEX Invocable method for this approach.

nzgonjanin avatar Mar 29 '23 14:03 nzgonjanin

An idea that has come to me is if we design a version that instead of using the component's record context, we can create a special version for a Flow that creates either:

  1. Dynamic SOQL to retrieve the data it needs using just a record id to render the Indicators.
  2. Accepts a record variable and can the render the Indicators.

It would of course need other inputs, such as the Bundle itself.

tschug avatar Jan 08 '24 05:01 tschug