You need to sign in to do that
Don't have an account?
Peter Herzog
Dynamic Choice - Choice Stored Value not working as expected
I am not getting the IDs of the dynamic choice options when I set it as the Choice Stored Value.
Here is what I have:
First screen, Dynamic Choice for the Contact record - Choice Label: Name Choice Stored Value: Id
Last screen, Outputs the field
Behavior:
1. Run the flow, select the contacts (I see their names)
2. Click Next
3. Last screen shows their names. I expect and want to see their Ids.
Screenshots:
Here is what I have:
First screen, Dynamic Choice for the Contact record - Choice Label: Name Choice Stored Value: Id
Last screen, Outputs the field
Behavior:
1. Run the flow, select the contacts (I see their names)
2. Click Next
3. Last screen shows their names. I expect and want to see their Ids.
Screenshots:
Bohdan Dovhan
If you want to see Id, you should have probably choose Id as Choice Label since Choice Label is what displayed actually on the flow.
Peter Herzog
But in my scenario how is ID accessed? I want choice label to be Name but I want to capture the Id for processing.
Chris Bock
You must reassign the screen field using the dynamic choice element to a text variable and then that text variable will have the Choice Stored Value -- ID in your example (or for multi-value choices a semicolon-delimited list of values. Multiple values are actually delimited by semicolon and a space, so you have to take the space into consideration when parsing the list of values in the text.)