How to Combile string variable based on Success Condition

Well there is one more option to handle this

Inside the then block use a ADD TO COLLECTIONS activity where mention in property panel as

Collections - list_mailid
Item - strValidate.ToString

Where list_mailid is a variable of type system.Collections.Generic.List(of String) defined in the variable panel with default value as New List(Of String)

after the loop use a assign activity like this

str_finalmailid = String.Join(“;”,list_mailid.ToArray())

A simple approach to solve this

Cheers @Vincent_Nuestro

1 Like