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

Split Comma Separated Values Into different fields salesforce
I have data coming from API in one Single field:
Customer Information : Ben Matthew, Xtream. Inc., benmatthew@Xtream.com
I want to update this value in 3 different fields on a different object:
Name = Ben Matthew
Company = Xtream. Inc.
Email - benmatthew@xtream.com
how do I go about doing this?
Any help will be highly appreciated.
Customer Information : Ben Matthew, Xtream. Inc., benmatthew@Xtream.com
I want to update this value in 3 different fields on a different object:
Name = Ben Matthew
Company = Xtream. Inc.
Email - benmatthew@xtream.com
how do I go about doing this?
Any help will be highly appreciated.
If my understanding is correct you primarly concentrates on splitting string based on a character and update some object fields by that.
In the below code look at the function processData() .
It splits the csv string and update 3 fields on account object. Let me know if you need any further support.
Thanks and Regards,
Shiva RV
I want to do this declaratively using Process builder.
any idea about achieving this using process ?
Not sure of doing inside Process builder.
Just add @InvocableMethod above processData function , i believe it should be on both the methods
refer the document given below
https://help.salesforce.com/articleView?id=process_action_apex.htm&language=en_US&type=0
Now in process builder based on certain criteria ,invoke this method.
There are settings for calling apex function in process builder.
Let me know if you need further help.
Thanks and Regards,
Shiva RV
Were u able to do that using declarative?