Home General Discussion

Hide task if support group =

CaterhamITSupportCaterhamITSupport Member Advanced IT Monkey ✭✭✭

Dear All,

I need to hide a task on the incident form if the support group equals something like below. The code doesnt work can you help?

Thanks

Daniel

//Removing tasks for support group

app.custom.formTasks.add('Incident', null, function (formObj, viewModel) {

formObj.boundReady(function () {

//Hide task if equal support group

if(viewModel.TierQueue.id == 'Support Group')

{

$( ".taskmenu li:contains('Assign To Me')" ).hide()

}

});

return;

});

Best Answer

Answers

Sign In or Register to comment.