ericrsmith35 / DatatableV2

28 stars 24 forks source link

Error with multi-picklist after variable assignment #44

Closed AndreaDan1004 closed 3 years ago

AndreaDan1004 commented 3 years ago

Hi, I faced an exception when trying to list records in a table with multi-picklist as column.

Steps to reproduce:

Error This page has an error. You might just need to refresh it. [Cannot read property 'message' of undefined] Failing descriptor: {markup://c:datatableV2}

Notes I wasn't facing this issue using the previous version when multi-picklist selections were shown as API names instead of labels.

ericrsmith35 commented 3 years ago

Please share your flow or some screenshots of how you have it configured and I'll take a look.

AndreaDan1004 commented 3 years ago

Screenshots.zip I created a simple flow in order to repro the issue. Please find screenshots attached. Thanks a lot for your help!

ericrsmith35 commented 3 years ago

Thank you for the screen shots. Could you also share how you have configured the Get Records and the Loop?

Screenshots of the Flow running in debug mode would also help.

AndreaDan1004 commented 3 years ago

Screenshots2.zip Here the screenshots of missing blocks and flow executed in debug mode. Note: the Get_Account step has an hard-coded id in the query, but it's only for repro purpose. Thanks again for your help!

ericrsmith35 commented 3 years ago

See if it makes any difference if you remove the , and the / from the picklist values.

AndreaDan1004 commented 3 years ago

I just made a test removing "," and "/" but faced same error as before.

ericrsmith35 commented 3 years ago

Please post an issue here if this is still a problem with the current release (3.0.10) https://github.com/alexed1/LightningFlowComponents/tree/master/flow_screen_components/datatable