Skip to main content
Question

How to display Lists or Tables in notes created by automation

  • April 3, 2025
  • 1 reply
  • 8 views

Forum|alt.badge.img

I’m trying to create automation that displays reports on users that are offboarding.

All of my lists and table end up as nearly unreadable single strings.  I’ve tried using web requests that return json and scripts in PowerShell orchestration .. the result is that the results are always printed as single strings:

examples:

[{"Person":"dhendricks","DeviceName":"tl2612"},{"Person":"a-dhendricks","DeviceName":"tl2612"},{"Person":"dhendricks","DeviceName":"tl-5cg235073f"}]

Person DeviceName ------ ---------- dhendricks tl2612 a-dhendricks tl2612 dhendricks tl-5cg235073f

Never anything nice and readable, in spite of all of PowerShell’s functions, such as:

Person       DeviceName   
------       ----------   
dhendricks   tl2612       
a-dhendricks tl2612       
dhendricks   tl-5cg235073f

 

I think something about the orchestration app or the create note node keeps removing any newlines that I put in.

Does anyone know what is happening and/or how to fix it?

Did this topic help you find an answer to your question?

1 reply

Daniel Söderlund
Skilled Expert
Forum|alt.badge.img+14

I would guess that PS use \n for new lines and Fresh are HTML based. 
PS need to return the list in HTML format. See if it can be done :)