manage interceptor for changes

Kamal Haddou
Tera Contributor

Good morning,

I'm looking for ideas to move forward with my request regarding the changes.

I have to respond to a request which is as follows:

 

in addition to the 3 normal/urgent/standard changes I must add 3 "secure" changes visible by a role that we will call "secure", the only difference is a new custom field placed on the true boolean.

For urgent and normal no problem: I added two lines to the interceptor linked to a URL, to which I added at the end "^u_custom_field=true"

 

For standard, it is more delicate because it refers to a list of pre-approved changes. (com.glideapp.servicecatalog_category_view.do?v=1&sysparm_parent="sys_id")

 

Do you have a solution, so that I can on each of the standard change lines, when I click, I appear on the new change form in question, with the value of "u_custo_field" set to true?

 

thank you very much in advance

5 REPLIES 5

Sohail Khilji
Kilo Patron
Kilo Patron

Hi @Kamal Haddou ,

 

There will be many standard change you cannot add true value to all of them rather

 

How about creating a client script on change request table checking condition of the change type is 'secure', additionaly role and then set the "u_custo_field" set to true. ?

 

I hope this helps


☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....

LinkedIn - Lets Connect

Kamal Haddou
Tera Contributor

hi, thanks for you answer Sohail, but my user with "secure" role, must can create secured and not secured changes.

In your case, he is locked on secured.

iam confused ! lol secure secured ?


☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....

LinkedIn - Lets Connect

sorry maybe my english is not exact

 

My user that have the role "role_secure" must allow to create : 

-secure standard change (u_custom= true)

--standard change (u_custom= false)