Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undefined Trim Issue on Select Screens #7

Open
handlerda opened this issue Oct 14, 2022 · 2 comments
Open

Undefined Trim Issue on Select Screens #7

handlerda opened this issue Oct 14, 2022 · 2 comments

Comments

@handlerda
Copy link

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:

image
Screen Shot 2022-10-14 at 9 41 43 AM

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();
Screen Shot 2022-10-14 at 9 45 29 AM

@esnorris
Copy link

esnorris commented Jan 5, 2023

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:
image

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.
image

@handlerda
Copy link
Author

handlerda commented Jan 5, 2023

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants