You need to sign in to do that
Don't have an account?

How to access Multiselect Picklist Values individually in Flows ?
Hi All,
I need to access the individual value of a multiselect picklist field in my flow and compare each value to a text field in another object.
While doing so, all the values of multiselect picklist are coming in the format "HR;Sales;Finance" but I have to access them individually.
Can any one help me out in this.
Thanks In Advance!
I need to access the individual value of a multiselect picklist field in my flow and compare each value to a text field in another object.
While doing so, all the values of multiselect picklist are coming in the format "HR;Sales;Finance" but I have to access them individually.
Can any one help me out in this.
Thanks In Advance!
Multiselect picklist fields are stored as text values in the database. There is no easy way of getting these values returned in an array or list fashion.
However, can you not just use the CONTAINS function to check if the text value is present in the picklist value?
Thanks for replying.
I tried the CONTAINS function and it has worked to a large extent . But this can cause problem for the fields value which are similar like Sales and Presales . It will consider sales and presales equal.
Is there any other way for doing this ?
Something like
pickField.equals(myStr) OR pickField.begins(myStr+";") OR pickField.contains(";"+myStr+";") OR pickfield.endsWith(";"+myStr)
I know I wrote the crude operations above but you should be able to build a complex formula that can do this for you. Please let me know if were able to achieve this and post the formula once done so that others can benefit.
Try this:
By using contains you easily check your values.
Thanks
This is possible with Coding. But I have a big scenerio which I am doing using Flows. These multiselect picklist values are needed in that.
So, I was looking for a solution in Flows. If no solution is found, then I will use coding.
Thanks!!
I created an invocable method in my Apex class to split my multiselect picklist value into List of Strings which I am calling in my Flow. But the problem which I am facing is the output field while using the apex class in Flow. The Apex class is returning a List of String Data Type but while assigning output to a collection variable , validation prevents collection variable assignment.
My Apex Class is And the error that I am gettting is
Can you help me out in this?