Skip to main content
christopher_sanderson
Helper ⭐️⭐️
Aug 12, 2016 1:56 AM UTC
New Idea

Allow STRING field to write to PICKLIST

Most ETL tools allow you to use the SFDC API to write a STRING or TEXT type field into a PICKLIST, where the value will write over if it finds a like match, or will just not write the value if it does find a match.  I'd like to see what we can do to make this happen in our Rules Engine.

If I have a STRING field in the MDA, and I need to write that data to either Gainsight or SFDC, and one of those fields on the object is a picklist, i have to create one action for each picklist value and use a combination of + CUSTOM FIELD and CRITERIA to get that value to write in.  This is inconvenient, especially for one of the customers I am working with where they have 5 picklist fields.  Each picklist has anywhere from 4-8 values, so at a minimum I need multiple rules and multiple actions to manage this.

Looking for thoughts on this!

    6 replies

    sundar
    Expert ⭐️
    Aug 19, 2016 9:12 AM UTC
    Thats a great idea! 
    You would want to have a catch all in case of there is no match for a given STRING right?
    Translate
    christopher_sanderson
    Helper ⭐️⭐️
    Aug 19, 2016 12:53 PM UTC
    Absolutely!  It could serve a dual purpose, where they are allowed to either 1) enter the default value based on the picklist set or 2) enter a NULL value so that the picklist is blank.  Does that work?
    Translate
    jeffrey_coleman
    Helper ⭐️
    Jan 12, 2018 5:13 PM UTC
    Just wanted to echo this as a key requirement. Related to the thread over at https://community.gainsight.com/gainsight/topics/cannot-load-data-into-mda-drop-down-list-via-rules-...
    Translate
    ana_costa_ed8be0
    Contributor ⭐️⭐️⭐️
    May 7, 2018 11:09 PM UTC
    Thats a great idea!  :D  
    Translate
    phani_kumar
    Gainsight Employee ⭐️⭐️
    Jun 18, 2020 12:47 PM UTC

    Hi.

    Recently I created a rule that will load the data to the Multi Picklist Datatype field.

    You can refer to this link.

     

    Thanks.

    Translate
    shannon_olsen
    Contributor ⭐️⭐️⭐️
    Feb 25, 2021 5:37 PM UTC

    While this is listed with a workaround - all the links included in responses appear to error out or I do not have permissions to view the data?

    We’re looking to migrate some survey responses into our Customer Attributes to improve data captures and maintenance. While we mimicked the questions set up between the two sources (survey and attribute) the flattened survey response data presents our picklist options as strings which puts us in the same position as the original poster - having to create unique actions for each and every selection option in order to map into the applicable pick list value.

    Translate