Choice list value and label is different

beycos
Tera Contributor

Hello Community, 

 In my scenario, the label and value of a choice list  are  different. I use the value for calculations, while the label serves as a user-friendly display.

When Flow Designer creates a new record;

Data from the previous record is coming by default. However, this data does not match the existing choice in the choice list because the label and value are different. Instead of using the existing choice from the list, Flow Designer creates a new choice. If the label and value are the same, Flow Designer correctly matches and uses the existing choice from the list.

 

For example, When the data is 0, as shown in the screenshot, the flow selects from the choice list. However, for other values, Flow Designer creates a new choice, which is displayed in blue.

I am unable to use this data created by the flow in the calculation.

What solution would you recommend for this issue?

Many Thanks and Regards, 

Beyza

 

 

4 REPLIES 4

Ahmmed Ali
Mega Sage

Hello @beycos 

 

Currently where the data is being copied from old to new record? is it happening in flow or some BR. You may check the place where data copy is configured and check if display value is being configured to copy instead of actual value. If you can paste the flow/script screenshot here, it would be helpful to suggest on the issue.

 

Thank you,

Ali

 

If I could help you with your Query then, please hit the Thumb Icon and mark my answer as Correct!!

Thank you,
Ali

Thank you Ali,

When a new record is created in the table using Flow Designer, all fields are automatically filled with data from the previous record. Using the Look Up Record action, I can take data from the previous record. However, in the new record, the flow does not use the existing choice from the choice list. Instead, it creates a new choice with blue color. For this reason, I am unable to perform calculations on the new record. (if value and label different)

Many thanks 

Beyza

Hi @beycos 

 

Instead of data pills, try using script as below. Change script according to your flow steps and field

SwathiPedireddy_1-1735925947493.png

 

Thanks,

Swathi

 

Hello @beycos 

 

When a new record is created in the table using Flow Designer, all fields are automatically filled with data from the previous record. - I would first lookup how exactly this field values are being copied automatically, there should be a BR or some other script. First approach would be to check that script and update that script to copy all fields instead of having the current flow which you have.

 

If your requirement is to have it updated in flow only, then as @SwathiPedireddy  suggested, you can try using script instead of data picker.

 

Thank you,

Ali

 

If I could help you with your Query then, please hit the Thumb Icon and mark my answer as Correct!!

Thank you,
Ali