6

Is it possible to push the value of a text field into a picklist without using a trigger in salesforce?

  • I'm pretty sure Process Builder can do this. – Adrian Larson May 29 '15 at 22:56
4

You should use Process Builder.

  1. Create a process for your object and select Start the process- "when a record is created or edited"

Start the process when a record is created or edited

  1. Set criteria to check if your text field Is Changed = true or Was Set = true.

Is Changed or Was Set

  1. Set action type as Update Records, click on your root object (shot 1) and hit save (shot 2).

Select Object Object is properly selected

  1. Set the Field as your picklist value, and make sure your Value is set to reference.

Select field and value

I used Account with some standard fields for simplicity, but you obviously will want to replace the object and fields.

| improve this answer | |
1

@Adrian is right on with Process Builder.

You could also do this with the Data Loader if it's more of a one-time thing.

It's certainly not best-practice to store text values in picklist fields. There are several places in the UI where your choices are presented as lookups (list views for example). You'll never be able to create views to filter on those values. But I'll assume you have a good reason to want to do this :)

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.