Enable fields below slush bucket field type

Tammy Simmons
Tera Guru

We have enabled the slush bucket field type so that we can present 7 slush buckets to the itil user for a specific catalog service. These will be displayed in a new custom section in the catalog task. This seems to have better performance than using the list collector variable or the list field type. Is there a way to enable additional fields to be displayed below the slush bucket field that we are used to seeing in the list collector slush bucket? Currently there are no fields displayed and itil user may need to refer to an additional field to confirm correct selection.

9 REPLIES 9

I should have been more specific stating that I have only seen this field type displayed in the Catalog Task activities workflows and no where else. I actually queried the dictionary entries to see if how many oob fields were created as slush buckets and it was just this one.
WF Slush Bucket.PNG


And I should note that I am unable to add a reference to a table on this field type, I have to use the script attribute to fill the slush bucket.


Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hi Tammy,



I hope the below thread will answer your question.


https://community.servicenow.com/thread/156463


http://www.servicenowguru.com/system-ui/customizing-slushbucket/



Kindly mark your question as answered if it resolves your issue.



Thanks,


Pradeep Sharma


Hi Sharma, thank you for the provided links. These will not meet our needs. We don't want to present a slush bucket pop-up. We actually want the task to load with the two column display. This is how the variable "List Collector" displays. We decided to go ahead and use the variable for each slush bucket since it display the additional fields below the slush bucket also. Performance is not as good as using the field type "Slush Bucket" but, since I am unable to get the fields to display below the "Slush Bucket" that is not an option.


Thanks for all of the recommendations.


Hi Tammy,


As you correctly identified, the only place the Slush Bucket is used in the system is for variables.   Unfortunately, this field type is not meant to be used on a regular form, it appears to have been built specifically for variable display purposes in Workflows.   Also, it does not seem to have attributes that will allow you to display the selected item information in the way that you want.



I know you have said that a glide_list field is not what you were hoping for, but I thought I'd throw it out there again anyway.   You can automatically unlock the glide_list field setting a global property to unlock all fields of that type upon form load (glide.ui.glide_list.start.locked Available System Properties - ServiceNow Wiki) OR using a dictionary attribute to expand one particular field (start_locked=false).



Using the third icon shown on the right of the unlocked glide_list (see below), the user is redirected to the standard slush bucket interface that will display the selected item information as you desire.


Screen Shot 2014-05-30 at 11.09.56 AM.png



It is also currently possible to use a client script to lock and unlock the glide_list type fields.   ServiceNow hasn't provided a specific g_form API to lock and unlock this field type, so it requires finding specific form elements and calling the functions associated to them.   Given the UI changes coming in future releases, I would recommend against that approach as these functions may not be available after upgrade.



Carleen Greenlee


Senior Architect


Efficient Technology


www.efftech.com


Carleen Carter
CMA, DEV MVP
https://www.smartcarleen.com/
https://www.linkedin.com/in/carleencarter/