Alternative for Macro in Agent Workspace

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-06-2024 08:06 AM
I have a kind of hierarchy table, then I have a hierarchy tree.
For instance:
Level 1
Level 1.1
Level 1.1.1
Level 1.2
Level 2
Level 2.1
Level 2.2
Level 2.21
Level 2.2.2
Then the Configuration Items have one level hierarchy, for instance:
Server A is Level 2.2.2.
So, in the Server form I have 1 field to show the level hierarchy and a Formatter with UI Macro to show the hierarchy tree related the level hierarchy
But when I open the same record in Agent Workspace my Formatter and Macro don't appear.
 
Is there any workaround for this?
 
 

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-10-2024 10:51 AM
I was able to by pass with a solution.
It was not what I needed and I wanted. But it was what I thought and ServiceNow provided as a solution in a Hi_ticket.
Basically I created a Client Script to call my Script include and get the string hierarchy tree.
Then I used the function
Here is how it looked like.