DynamicFlowProgress
DynamicFlowProgress copied to clipboard
Undefined Trim Issue on Select Screens
Hi all,
We are running into an issue using the Path were we are getting the following error:
Error
Cannot read properties of undefined (reading 'trim')
We have configured using the following:

Observations
We have only noticed this error on select screens. Ie 1 progress bar screen works but most others in our flows do not.
Details
The below code resolves to 'Path'
let indicatorClean = indicatorDirty.trim().toLowerCase();

We are seeing a similar error that occurs when utilizing this in a Screen Flow where users click the Previous button and then return to any of the later screens with the progress bar.
Error:

Flow Config:
This is set up to display a different progress bar dynamically, and occurs whether the 'component visibility' criteria is based on a text variable that is assigned, or a screen input resource.

@esnorris we resolved this by creating a new flow. It did not work when we cloned the flow. I think this is an issue with Salesforce backend flow interview process and not the component itself.