Nintex Automation Cloud has a great way of capturing data that you need to store back into your Saleforce organization. However, multi-picklist fields require the information to be stored back by having each value separated by a semicolon. As the multiple choice input on form does not separate each value by a semicolon, this makes the writing back to Salesforce not as simple as the other input fields.
This post will introduce 2 methods that you can do to get the values delimited by semicolons:
1 – Use a loop to add the values into a text string
Drag and drop the Loop for Each action into your workflow. Inside the Loop for Each, also drop the Create a text string
![](https://uploads-us-west-2.insided.com/nintex-us/attachment/0cbdf4f2-4f6b-4c21-92f5-2cd1d55db47d.png)
In the “Target Collection” insert the multiple choice input field.
![](https://uploads-us-west-2.insided.com/nintex-us/attachment/26fed10e-3774-4768-b597-89629c9c98bd.png)
Next, go to the text string action and hit the Insert button to insert the “Current Item”variable from Loop for each. Have a semicolon entered after the variable
Have the result stored in a variable.
![](https://uploads-us-west-2.insided.com/nintex-us/attachment/525767f8-baf6-4def-b515-7685521578f0.png)
Once the result variable is created, add it to the string component after the semicolon
![](https://uploads-us-west-2.insided.com/nintex-us/attachment/826b45ed-f319-430f-9299-e6dcaa68fa55.png)
You can now use the result variable as a way to push data back into Salesforce.
2 – Create a form variable
Navigate to the Variables tab in your form to create a new form variable. Add the following formula:
replace(convertToString([insert multiple choice input field here]),",",";")
![](https://uploads-us-west-2.insided.com/nintex-us/attachment/a0d3e8dc-7064-4bd4-a68d-f3ad4938910f.png)
You can use this variable to push the value into Salesforce