How to allow NON-ITIL Users to post Additional Comments on SCTASK tickets via Portal?

Anastasia Ty-Ch
Tera Contributor

hi guys!

 

We created this widget in portal to display all the SCTASK for each user so they will have visibility on their tickets.
However, only ITIL user have the ability to post Additional Comments on the SCTASK tickets.

How can we enable the same functionality to NON-ITIL users?

 

PORTAL.jpg

17 REPLIES 17

@Anastasia Ty-Ch 

it will impact both native and portal.

For backend have onload client script and check if user has snc_internal then hide the field or show but make it readonly

function onLoad() {
    if (g_user.hasRole('snc_internal')) {
        g_form.setReadOnly('comments', true);
    }
}

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@Anastasia Ty-Ch 

Did my reply answer your question?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hi Sir @Ankur Bawiskar  good day! I created the 2 ACL just like what you did but it still didn't work. The additional comment field is still not available for NON-ITIL Users in portal

@Anastasia Ty-Ch 

are you sure both the ACLs allow that user to see and write?

Is that working fine in native?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hi Sir @Ankur Bawiskar, yes. I followed your instructions. Created both read and write

READ ACL:

ACL READ.jpg

 

WRITE ACL:

 

ACL WRITE.jpg