Define Relationship - How to customise the Filter?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-01-2011 08:12 AM
Hello Community!
Once again, I have a strange question that needs answering.
Scenario:
When defining a relationship for a CMDB CI, you have a filter above the slushbucket and gets set with default values:
(Class is a Circuit && Site is anything && Operational Status is anything)
Now I have gotten so far as to find out that this relationship definition page is a UI Page called "ci_relationship_manage"
Also, that most probably, the point where the filter is set is using the following variables:
How can I change the "default" filter to anything else?
On which values depend the filter considering the top filter option changes, depending on the type of CI used?
PS: Side question:
Is there a smart list of variables on wiki that are used in SN-jelly for things like the slushbucket or views etc? Also, any good books on starting with jelly? (Maybe a course from SN? 😉

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-01-2011 11:52 AM
The filter is built very dynamically based on the types of CI's that the selected relationship is set to be used for (See http://wiki.service-now.com/index.php?title=Suggested_Relationships). I dug pretty deep into the code of how it works to see if there was an option to further define the filters and as far as I can tell it's not possible without completely rebuilding the functionality.
For the side question, this is the best set of instructions for how to use Jelly Script: http://wiki.service-now.com/index.php?title=Extensions_to_Jelly_Syntax
There are also lots of examples in the UI Macros and UI Pages.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-04-2011 02:32 AM
Hi,
whee would I customize the fields displayed in the slushbucket of the CI Relation Editor for a selected element (see below)?
I would like to show some more information that is available in the cmdb_ci base table, so avialable for all CIs.
I have looked in the "ci_relationship_manage" UI Page but have not found it...

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-04-2011 05:15 AM
You're limited to fields from whatever table is being queried so you can only pull fields from the actual table that is being queried as far as I know. You can personalize these options by following the instructions here.
http://www.servicenowguru.com/system-ui/customizing-slushbucket/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-04-2011 05:45 AM
Thank you Mark! That was exactly what I was looking for ... 🙂