javascript:GetGroupFilter not working for scoped applications / CreateNow apps since Helsinki!

dave_edgar
Mega Guru

We took Helsinki yesterday and although all stakeholders for our Scoped Applications tested and gave signoff it would appear that they ALL missed that the dictionary overrides for the Assignment Group field no longer work, the assignment_group field simply shows ALL groups!   Not the filter list that the dictionary override should show.

Here is a dictionary override that is completely untouched:

Screen Shot 2016-09-20 at 11.17.57.png

I have tried the following and none work!

  • javascript:GetGroupFilter('FCR Accounts Payable','FCR Team');
  • javascript:GetGroupFilter('FCR');
  • javascript:GetGroupFilter("FCR");
  • javascript:GetGroupFilter('FCR')
  • javascript:GetGroupFilter("FCR")
1 ACCEPTED SOLUTION

Hi Chuck



I have had a Problem record raised by SNow for this now.   I have reverted away for the business rule as there was a simpler way to handle the assignment group lookup.   I have merely change the dictionary override from :



  • javascript:GetGroupFilter("FCR");

to :


  • parent=d1b2e722377c820050579c9953990e9f


BUT, and here's the kicker, in Helsinki the tree_picker attribute is not working correctly for dictionary overrides and therefore it has to be turned off, tree_picker=false, and we'll have to wait for it to be fixed!   How can this be missed in testing?!


View solution in original post

7 REPLIES 7

Chuck Tomasi
Tera Patron

You're going to have to make your own copy of this global business rule as a script include.



  1. Create a new script include (in your scope) with the name GetGlobalGroup
  2. Remove the template script and replace it with the exact same code from the global business rule (function and all)
  3. Save it.

nope this hasn't worked:



script include added, as GetGlobalGroup, script exact copy of the GetGroupFilter BR


Screen Shot 2016-09-20 at 13.02.50.png


Dictionary override entry for assignment_group:


Screen Shot 2016-09-20 at 13.07.40.png



List not filtered, only the FCR prefixed teams should show as their parent is 'FCR':


Screen Shot 2016-09-20 at 13.04.16.png


The name field and the function name have to match exactly. Sorry, I mislead you in my instructions. Use the name of the former global BR (which is also the function name being called) as the script include name.


hmm, so I have created a new script include called 'GetGroupFilter' and the function matches this and the dictionary override is also quoting this but still no joy



Screen Shot 2016-09-20 at 13.59.58.png


Screen Shot 2016-09-20 at 14.00.19.png