Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Parsing text using delimited text (pattern designer) Jakarta

d_hertel
Mega Contributor

I'm trying to parse text following ITOM > Service Mapping docs (Jakarta) while in Debug mode.   Step 3 of procedure states:    

To define parse the file and extract the string as a variable from within Debug mode:

  1. Select the string to be parsed in the text box.All settings are automatically entered in the variable fields.
  2. Provide a unique and meaningful name for the variable and click OK. The variable is added to the Variables table.

Indeed, selecting a portion of a text string creates a dialogue box to pop up with a default variable name.   But I never see an "OK" button, nor does the variable actually get saved to the variables list.   Has anyone successfully used the specific steps outlined in step 3?     It seems like a helpful procedure to define a variable related to a portion of the text file... but ... not sure it works...

7 REPLIES 7

Hi ,



I am new to Service Mapping. I am trying to parse the file using "Delimited Text". But, I am unable to add multiple values in Include lines, I mean I am able to add but it doesn't retrieve any data. Is there anything that we will be able to add only one value ( conditions).Here is my example --- I am trying to parse the command output   using delimited text and I want to include lines which has values ( 50123 and 52530) but if add them separated by comma . It doesn't retrieve any data. But, if I try to retrieve them individually I am able to retrieve. Could you please let me know any info regarding this.



Thanks,


Sankrupa.


Hi Sankrupa,



I am not sure if you still have this requirement.



If yes, then in include line field provide 50123|52530



Thanks


Nimmi


Thanks Nimmi. It really helped me.