Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

How to Modify Activity tab on serviceportal

Samyukta1
Tera Expert

Hi All,

 

I had a requirement to hide the "input " text box on the Activity tab based on a condition (Like if incident state is "resolved" I dont want to show that text box). How can I update it? is it possible to do so?

Below is the screenshot. 

Samyukta1_0-1678197390133.png

 

3 REPLIES 3

Nia McCash
Mega Sage

That text box allows users to add comments to the ticket. Do you also want to prevent users from adding a comment in the platform view of the ticket? If so, then you can control this via ACL. Add/update the ACL so that the field is not writable based on some condition.

Hi @Nia McCash ,

 

Can you be more clear how can I control this via ACL?

You can set conditions on the ACL to prevent writing to the field when state is Resolved. Example:

NiaMcCash_0-1678304380468.png

But before doing that, you should really familiarize yourself with how ACLs work on the platform: https://docs.servicenow.com/bundle/tokyo-platform-security/page/administer/contextual-security/conce...