Question

Service File - Multiple characters as record terminator

Hello,

I have an coming file where the records are delimited by a Line Feed character. We use \n as the "Record Delimiter" but there are a few records which have a line feed character within a particular record.

Is there a way to specify 2 characters as the record delimiter, for example a combination of the pipe sysmbol (|) and a \n ? Or is there any other way to handle this scenario?

***Edited by Moderator Marissa to update platform capability tags****

Comments

Keep up to date on this post and subscribe to comments

Pega
September 8, 2019 - 7:56am

You can select the processing method as 'File at time'.  In the service activity you can manually handle the content based upon delimiters mentioned.

Thanks,

Pardeep

October 14, 2019 - 6:01pm
Response to SHARP3

Hi,

Thanks for your reply, but my incoming file is pretty huge and it's difficult to store the entire file contents into a property and process it. 

Tejesh.