alexed1 / LightningFlowComponents

A collection of unofficial Flow extensions that can be used to enhance Salesforce Flow and Orchestrator.
http://unofficialsf.com
Other
585 stars 575 forks source link

Quick Choice FSC v1.4 Error Message go to previous page #374

Open SaschaLoeffler opened 4 years ago

SaschaLoeffler commented 4 years ago

Hi,

the following error message was already discussed on your website, but we are still not able to get this fixed. Our flow is setup to get details for a custom object record using fast lookup and everything looks good on the screen component, the prefilled value is defined correct and it is also saving to the record like we expect it. Only thing is in our flow we have multiple screens with multiple Quick Choice Lightning components and if we use the "Previous" button in the flow sometimes it is giving us the following error:

class java.lang.String cannot be cast to class moduleapi.interaction.FlowPicklistValue (java.lang.String is in module java.base of loader 'bootstrap'; moduleapi.interaction.FlowPicklistValue is in unnamed module of loader org.eclipse.osgi.internal.loader.EquinoxClassLoader @4ee37ca3)

Thats the setup of one sample component: image image

Error occurs in debug and runtime mode.

We also tried reffering the current value using a formula because this was mentioned somewhere in the comments, but if we do so it is still not solving our issue. Also we tried to define a seperate output value (advanced section) even that did not work, but as we are no coders maybe we also have some limitations with our knowledge.

Other than that i have no idea what to do for this. Would be great to get assistance from your side.

ericrsmith35 commented 4 years ago

See if the newer version found here works for you: https://github.com/trailheadapps/automation-components/tree/master/src-ui/main/default

SaschaLoeffler commented 4 years ago

Hi Eric, how can i deploy this as we installed the app from the package? Did not find a link.

Am Fr., 29. Mai 2020 um 14:50 Uhr schrieb Eric Smith < notifications@github.com>:

See if the newer version found here works for you:

https://github.com/trailheadapps/automation-components/tree/master/src-ui/main/default

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/alexed1/LightningFlowComponents/issues/374#issuecomment-635954978, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKFK5GHF6JEF32NBQZOWXR3RT6VS5ANCNFSM4NN6WHUQ .

ericrsmith35 commented 4 years ago

All of the Install links are on this page: https://github.com/trailheadapps/automation-components

The QuickChoice component is part of the UI section

UI Install https://login.salesforce.com/packaging/installPackage.apexp?p0=04t5w000003ysO5AAI Documentation https://github.com/trailheadapps/automation-components/wiki/ui

On Fri, May 29, 2020 at 9:58 AM SaschaLoeffler notifications@github.com wrote:

Hi Eric, how can i deploy this as we installed the app from the package? Did not find a link.

Am Fr., 29. Mai 2020 um 14:50 Uhr schrieb Eric Smith < notifications@github.com>:

See if the newer version found here works for you:

https://github.com/trailheadapps/automation-components/tree/master/src-ui/main/default

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub < https://github.com/alexed1/LightningFlowComponents/issues/374#issuecomment-635954978 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/AKFK5GHF6JEF32NBQZOWXR3RT6VS5ANCNFSM4NN6WHUQ

.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/alexed1/LightningFlowComponents/issues/374#issuecomment-635986992, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF4UHX5OFUBLDRHLNYCX7WTRT65QBANCNFSM4NN6WHUQ .

SaschaLoeffler commented 4 years ago

Hi Eric,

we installed that updated version but it doesnt change anything for us. Whenever we try to go back to previous screen, it gives us that error. Any other ideas how to debug it?

Sascha

Am Sa., 30. Mai 2020 um 11:46 Uhr schrieb Eric Smith < notifications@github.com>:

All of the Install links are on this page: https://github.com/trailheadapps/automation-components

The QuickChoice component is part of the UI section

UI Install < https://login.salesforce.com/packaging/installPackage.apexp?p0=04t5w000003ysO5AAI

Documentation https://github.com/trailheadapps/automation-components/wiki/ui

On Fri, May 29, 2020 at 9:58 AM SaschaLoeffler notifications@github.com wrote:

Hi Eric, how can i deploy this as we installed the app from the package? Did not find a link.

Am Fr., 29. Mai 2020 um 14:50 Uhr schrieb Eric Smith < notifications@github.com>:

See if the newer version found here works for you:

https://github.com/trailheadapps/automation-components/tree/master/src-ui/main/default

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <

https://github.com/alexed1/LightningFlowComponents/issues/374#issuecomment-635954978

, or unsubscribe <

https://github.com/notifications/unsubscribe-auth/AKFK5GHF6JEF32NBQZOWXR3RT6VS5ANCNFSM4NN6WHUQ

.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub < https://github.com/alexed1/LightningFlowComponents/issues/374#issuecomment-635986992 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/AF4UHX5OFUBLDRHLNYCX7WTRT65QBANCNFSM4NN6WHUQ

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/alexed1/LightningFlowComponents/issues/374#issuecomment-636306777, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKFK5GBBRVT5ZQH3UK4IV5TRUDIV3ANCNFSM4NN6WHUQ .

ericrsmith35 commented 4 years ago

Not all components behave well when going backwards. More details are available here: https://unofficialsf.com/optimizing-lightning-component-inputs-and-outputs-in-flow-screens/

On Tue, Jun 2, 2020 at 4:02 AM SaschaLoeffler notifications@github.com wrote:

Hi Eric,

we installed that updated version but it doesnt change anything for us. Whenever we try to go back to previous screen, it gives us that error. Any other ideas how to debug it?

Sascha

Am Sa., 30. Mai 2020 um 11:46 Uhr schrieb Eric Smith < notifications@github.com>:

All of the Install links are on this page: https://github.com/trailheadapps/automation-components

The QuickChoice component is part of the UI section

UI Install <

https://login.salesforce.com/packaging/installPackage.apexp?p0=04t5w000003ysO5AAI

Documentation https://github.com/trailheadapps/automation-components/wiki/ui

On Fri, May 29, 2020 at 9:58 AM SaschaLoeffler <notifications@github.com

wrote:

Hi Eric, how can i deploy this as we installed the app from the package? Did not find a link.

Am Fr., 29. Mai 2020 um 14:50 Uhr schrieb Eric Smith < notifications@github.com>:

See if the newer version found here works for you:

https://github.com/trailheadapps/automation-components/tree/master/src-ui/main/default

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <

https://github.com/alexed1/LightningFlowComponents/issues/374#issuecomment-635954978

, or unsubscribe <

https://github.com/notifications/unsubscribe-auth/AKFK5GHF6JEF32NBQZOWXR3RT6VS5ANCNFSM4NN6WHUQ

.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub <

https://github.com/alexed1/LightningFlowComponents/issues/374#issuecomment-635986992

, or unsubscribe <

https://github.com/notifications/unsubscribe-auth/AF4UHX5OFUBLDRHLNYCX7WTRT65QBANCNFSM4NN6WHUQ

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub < https://github.com/alexed1/LightningFlowComponents/issues/374#issuecomment-636306777 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/AKFK5GBBRVT5ZQH3UK4IV5TRUDIV3ANCNFSM4NN6WHUQ

.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/alexed1/LightningFlowComponents/issues/374#issuecomment-637365484, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF4UHX6P7VCIKWWTPNK27EDRUSW2JANCNFSM4NN6WHUQ .

srichardsonxmatters commented 4 years ago

@SaschaLoeffler I"m having this exact same error and issue when hitting the previous button.

srichardsonxmatters commented 4 years ago

This error also occurs if you have other fields on the same screen in which you are validating input and the error message for the input validation is triggered.

mhamzas commented 4 years ago

I am also facing the same error. using latest build.

mhamzas commented 4 years ago

Well, looks like its a KNOWN ISSUE https://success.salesforce.com/issues_view?id=a1p3A000001HFd5QAG

Don't forget to click "THIS ISSUE AFFECTS ME"