Split String Into List In Flow - Salesforce

preview_player
Показать описание
I have added variable required to convert string into list please refer it.

For Loop Variables
1. Name : varN_Occurrences_of_comma_collection

Collection Variables : Number Type
Allow Multiple(Collection) = true

2. Name : varT_OriginalString
Variable : Text Type
Allow Multiple(Collection) = false
In default value Store your original String

3. Name : varT_RecordIdDisplay_collection
Collection Variables : Text Type
Allow Multiple(Collection) = true
It will store final output

4. Name : varF_RecordIdDisplay_split
Formula : Text Type
Formula Box :
LEFT( {!varT_OriginalString}, FIND(',', {!varT_OriginalString})-1)
Get first string

5. Name : varF_RecordIdDisplay_substitute
Formula : Text Type
Formula Box :
RIGHT({!varT_OriginalString},LEN({!varT_OriginalString})-FIND(',', {!varT_OriginalString}))
Remove first string from whole string

6. Name : varF_Occurrences_of_comma_max
Formula : Number Type
Decimal Places : 0
Formula Box :
(LEN({!varT_OriginalString}) LEN(SUBSTITUTE(LOWER({!varT_OriginalString}),",","")))
Рекомендации по теме
Комментарии
Автор

Thank you Bhai I was trying to solve this from 2 days it helped me alot

amarsinghchauhan
Автор

Bhai bhot mst hai👏
It's totally new for me, keep it up bro🤗

amitlakhara
Автор

Hi, maybe you can help me. Instead of the final step Get records, i need to create records containing in the Name field each one of the strings. I have created a loop and then a Create records, what I'm not sure is what to set in the Name field where the separated values should go. Many thanks in advanced.

ginaballaben
Автор

Hey Bro, there is Syntax Error in 6th Variable, You are missing Minus, Please correct that,

rinkupawriya
Автор

Hi Bro, in end loop decision after asssign last value you have added get contact records element, i didnt undersatnd can you tell me what it is exactly

AbdulRaseedhS
Автор

Sir very helpful video, i am new to Salesforce and i have started learnig some new concepts in salesforce, sir can u help me to start my career in Salesforce, it wold be very helpful for freshers like me.
Thanks in Advance

vicky-doth