VTB How to remove/hide the Add a Card option on Guided Boards

angelas
Tera Contributor

Hello - Our guided boards for VTB are set to the task (task) table.  When a user creates a new card, it auto-populates a number with TASKXXXXXXX.  The problem this poses is that these numbers are already assigned to Catalog Tasks. If someone was trying a global search for the VTB task number, only the old Catalog task opens. We want the guided boards to show existing Catalog Tasks and Incidents, so that is why ours is configured to task (task) table.

 

After review, we would like to remove the 'Add a Card' option for ITIL users (without stopping their ability to create Catalog Tasks on RITMs or INCs). Any recommendations would be appreciated!   Thank you in advance!

1 REPLY 1

Marcelo Godoi
Tera Contributor

Hi Angelas, I hope you are well.

 

I had the same problem. My customer used the visual task board (guided) on the incident table. New records were created in the table, but not through the catalog item. In doing so, the catalog item variables were not populated.

To solve the problem, I chose the ACL from the table (type create) and included the following script:

 

var url = gs.action.getGlideURI();

if(url.indexOf('vtb.do') == - 1 ){
answer = true;

}

The script examines the url, if it does not find 'vtb.do' it gives access to create a record in the table. This way, the add card button will not be available.


Mark Correct if this solves your problem and also mark Helpful if you find my answer valid based on impact.

 

 

 

MarceloGodoi_0-1711049300840.png