Proposed change UI Action Access issue

rakshith_shetty
Tera Contributor

For a change request, when i click on a 'Proposed Change' UI Action from the right-click menu in the 'Affected CIs' related list, I encounter an error. The message states that security settings prevent the execution of this action on the specified record. This issue we have started receiving Post Xanadu upgrade can someone help me on this

 

 

Ui Action code : 

 

function openFormDialog(){
var openProposedChange = function(answer) {
var proposedChgOverlay = new GlideModal('ci_popup', false, 'modal-lg');
proposedChgOverlay.setAutoFullHeight(true);
proposedChgOverlay.setTitle(getMessage("Proposed change"));
proposedChgOverlay.on('closeconfirm', function () {
var listId = g_form.getTableName() + ".task_ci.task";
var list = typeof GlideList2 !== "undefined" ? GlideList2.getByName(listId) : null;
 
if (list == null)
list = typeof GlideList !== "undefined" ? GlideList.get(listId) : null;
 
if (list != null)
list.refresh();
});
 
proposedChgOverlay.renderIframe(answer);
};
 
var gaJax = new GlideAjax("ChangeCIAjaxProcessor");
gaJax.addParam("sysparm_name","getProposedChangeCIPopupURL");
gaJax.addParam("sysparm_task_ci", rowSysId);
gaJax.getXMLAnswer(openProposedChange);
}

 

1 ACCEPTED SOLUTION

Swamy Malluri
Tera Guru
Tera Guru

Hi @rakshith_shetty 

 

Have you updated the UI action condition ? or is it same as OOB ? 

Please refer the below KB article and try to keeping simple condition or same as OOB. 

 

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0725860

 

Please hit correct/help button if my answers addresses your query.

 

 

Regards,

Swamy

View solution in original post

1 REPLY 1

Swamy Malluri
Tera Guru
Tera Guru

Hi @rakshith_shetty 

 

Have you updated the UI action condition ? or is it same as OOB ? 

Please refer the below KB article and try to keeping simple condition or same as OOB. 

 

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0725860

 

Please hit correct/help button if my answers addresses your query.

 

 

Regards,

Swamy