Set Multiple Records on the SN Table using Pattern

Ankit Pratap009
Tera Contributor

 

Hello SN Team,

 

I have a requirement to fetch the records using PowerShell commands and creates a relationship between windows servers.

I am able to fetch the data from PowerShell commands and successfully set the value in the Target Table i.e.

SMB File System and creates a relationship with windows server as well, but it is only taking first records and skipping other records from the output, I don't know how to parse the output so that all the records get set in the table, below is the snapshots of my implementation, 

Please let me know if anyone have worked with similar requirement.. 

 

Firstly, I have used the Regular Expression to parse the output then i have used the delimiter to parse the output,

Using Regular Expression i can be able to set first records, but it skips other records, but using Delimiter it is not able to set any value

 

I have also tried to use powershell command and make output as a string but it is also not working in Service NOw but it is working powershell command. Below is the snapshot as well

@richardbrounste @CMDB @Veeru Chinta 

WhatsApp Image 2024-09-16 at 11.36.41.jpeg

WhatsApp Image 2024-09-16 at 11.37.35.jpeg

WhatsApp Image 2024-09-16 at 11.38.57.jpeg

WhatsApp Image 2024-09-16 at 11.39.58.jpeg

WhatsApp Image 2024-09-16 at 11.40.46.jpeg

  

Screenshot 2024-09-16 155426.png

Screenshot (100).png

WhatsApp Image 2024-09-16 at 14.54.00.jpeg

 

0 REPLIES 0