
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2016 06:20 AM
I am trying to run a filter on the task table for 'My Groups Work' to show any incidents, CATTSKs, changes, etc. that a group needs to actually take action on / fulfill. Part of the requirement is to show REQs which have not yet been transferred to an incident (easy enough, Transferred to = empty), or that have no requested items associated with them (that is the tricky part).
I can't figure out how to remove the REQs that DO have an RITM associated with them in the related list... it is kind of tricky since the RITMs are shown as a related list at the bottom of the REQ and therefore we cannot access info about those tickets from the REQ itself.
In Fuji, we had a solution where the filter was the REQ's price = empty, because the REQ's price was set to $0.00 whenever an RITM was actually added to the REQ. However, this filter was broken when we upgraded to Helsinki, as it appears that Helsinki now lists all empty REQ prices = $0.00, regardless of whether an RITM has been added or not.
Any help would be much appreciated, thanks!
Regards,
Chris Perry
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2022 03:48 PM
I know this is an old post but it came up in my inbox today.
This can be solved without custom fields or scripting by using the Related List Condition feature.
Just run the query against the Request [sc_request] table and then select Quantity = 0 (None) under the Related List Conditions.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2016 06:53 AM
Thanks Chuck, logically speaking - that makes sense. I would like to find a way to achieve this functionality without adding new customizations/configuration, so I am going to keep investigating but this solution will work if I am still unable to find anything. Thanks
Regards,
Chris Perry

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2016 07:01 AM
You can do it from a script, but there is no list filter capability that says "Show me only the REQ records with no child RITMs."

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2016 07:04 AM
Right... I was kind of thinking that myself actually. With that in mind, any ideas on what that javascript statement would look like in the filter to say 'REQ w/ no RITMs added'?
Regards,
Chris Perry

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2016 07:08 AM
Hi Christopher,
I don't know if we're on the same page with this... in order to write a javascript statement in the filter, you need to be able to compare it against an existing field (e.g. start date < javascript:gs.daysAgo(5)) implies there is a start_date field. While I could create the javascript part for you (basically putting the above code in a function in a script include), there's nothing to compare that against. Hence the problem. You cannot do this on a list filter. Sorry for the confusion.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2016 08:29 AM
understood, thanks Chuck. Yeah I was having a tough time conceptualizing this one as well, it wouldn't be possible to do something along the lines of an iterative script include which looks for REQ# != CATTSK.RITM.REQ? In other words if the REQ# exists as a CATTSK's RITM's REQ, then do not display.
Regards,
Chris Perry