Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

Discovery Parse command output - convert to list and insert into fields.

Prateek Bisht
Kilo Expert

Hi, I am trying to parse the output of this command to a field.  But I am getting blank values.In Log I can see it is in list but I am unable to parse in list can someone guide how can we do it ?

find_real_file.png

 

find_real_file.png

3 REPLIES 3

Richard Hine
Tera Guru

Prateek,

Perhaps I have missed your objective, but why don't you exclude the header row and dashes row, then parse the rows into a table variable for output rather than a single variable?

Richard

Hi Richard , I have tried that still not working. 

Veeru Chinta
ServiceNow Employee

Hi Prateek,

use Delimters as space (' ') -> it split ouput based space.

Use positions are 1, 2 like this -> means after splitting the output based on Delimiters which position text wants to select.

Please refer below screenshot.

find_real_file.png

*Please mark as Correct and or helpful if appropriate.

 

Thanks,

Veeru