We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

New Change Management Request, limit Assignment Groups

unresourceful
Giga Contributor

I'm attempting to limit the assignment groups available to a requester when the New Change Management Request form loads. I tried to write a script to set the group at load 

setQueryString('assignment_group', 'sys_id=a715cd759f2002002920bde8132e7018');
but this didn't do produce the expected result. Instead, the normal outcome of being able to select any of the available assignment groups resulted.
 
Let me know of any ideas that you may have.
 
Change Manager wants to only have a specific assignment group input when new change requests are submitted.
1 ACCEPTED SOLUTION

Ehab Pilloor
Mega Sage

Hi @unresourceful,

 

Instead of you giving only a single option, why not use Assignment Rule for Change table?

Assign the particular group via mentioned method and make the field read only.

 

Please Accept the solution if it assisted you with your question & Mark this response as Helpful.

 

Regards,

Ehab Pilloor

View solution in original post

7 REPLIES 7

Kieran Anson
Kilo Patron

Hi,

Is this just for new changes? Once a change is submitted, should the restriction be lifted? 

 

When you say change management request form, are you referring to a record form, or a record producer?

 

This will be achieved with a reference qualifier in both instances, but we can assist in how to populate this once we have further details 

Hi,

This would be for new changes, don't wish to update existing. Restriction should not be lifted once change is submitted.

 

I believe I'm referring to the request form. That is the interface that a user completes to create a new change request. I've attached a screenshot of what I'm referring to.

Hi,

That screenshot shows a standard record page. To add a filter to restrict the options on the assignment group, you'd edit the dictionary entry for the assignment group field. Because the assignment group is inherited from the task table, you'd do this via the a 'dictionary override'

  1. Search for 'dictionary' in the application navigator
  2. In the list of dictionary attributes, search for 'assignment_group' in the 'column name' column
  3. Open the record and scroll down to the related list called 'dictionary overrides' and find one called change_request. If one doesn't exist, create one using the 'new' button
  4. Select 'override reference qualifier'
  5. In the newly shown reference qualifier field you can either copy and paste your filter condition, or call a script incldude. To call a script include use the following format
javascript: new global.MyScriptIncludeName().myFunction(current); //current being the record loaded

Ehab Pilloor
Mega Sage

Hi @unresourceful,

 

Instead of you giving only a single option, why not use Assignment Rule for Change table?

Assign the particular group via mentioned method and make the field read only.

 

Please Accept the solution if it assisted you with your question & Mark this response as Helpful.

 

Regards,

Ehab Pilloor