25
Views
4
Comments
split the string and then match it with static entities
Question

Hi,

I have a string which I need to split it in to two and then match it with static entities. When I try to do so I am getting an error because split function with give us text record. 

How can I proceed further.

mvp_badge
MVP
Rank: #73

Hi Ankit,

If possible could you please share some code screen clips with us for better understanding?


Regards,

Benjith Sam

Rank: #93

Hello Ankita,

The String_Split action returns a Text Record List with the values of the split.

You will need to compare the Value attribute inside the Text Record with your Static Entity.

Can you share an image of your error?


Kind regards,

Rui Barradas

mvp_badge
MVP
Rank: #135

Hi Ankita,


You should use String_Split(your string here) [0] for comparing the first part of the string with static text.


String_Split(your string here) [?] : Replace "?" with correct index value


Example: compare the first part of the string

String_Split(your string here) [0] = Entites.Status.value 


Thanks 



Rank: #391

Hi,

Write down one function that will verify a text value against the Static Entity values.


if any one value in Entity matched with the split string value that you will send to this function, then set the output parameter = True.



Now split your string inside any flow and send the values one by one in the function and get the status if it is True or False


Thanks

Sourav