
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-12-2017 04:57 PM
I have a Catalog Item 'Loaner Laptop Request'. I am creating a task using a workflow and assigning it to the concerned team as soon as a user creates a loaner laptop request.
After the task has been assigned to the concerned team, I want to give them the power to assign a respective Configuration Item to the requester. The requirement is to show only 'In Stock Computers' in the Configuration Item lookup instead of all the CIs.
I tried writing a Dictionary Override -> Reference Qualifier with a custom condition on sc_task but I don't think this is a good idea because my application is in a global scope.
How should I achieve this?
Solved! Go to Solution.
- Labels:
-
Enterprise Asset Management

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-09-2018 11:10 AM
I created a JavaScript function and applied it to the reference qualifier to filter off of cmdb. It works like a charm. 🙂

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-08-2018 12:14 PM
Hi Priyanka, I do this same thing on multiple different tasks - but I use a reference variable - not the OOTB CI field on the Task form.
So, on your Loaner Laptop Request - you would have a variable of: Select Loaner Laptop (loaner_laptop) that is a reference table to your Computers CMDB table. Then you set an advanced reference qualifier on that variable to only show In Stock computers.
If you want the Task CI field set to the loaner for tracking, then you can set it easily in the items workflow with this line of code:
task.cmdb_ci = current.variables.loaner_laptop;
Hope this helps,
Teri

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-11-2018 03:13 PM
Thank you Terri! This is probably the easiest approach.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-09-2018 11:10 AM
I created a JavaScript function and applied it to the reference qualifier to filter off of cmdb. It works like a charm. 🙂