Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Dima_M
Employee
Employee

SmartTask - Validate Session Name Format

 

This SmartTask validates that every published session has specific name format. To achieve it, SmartTask runs on each publish operation attempt, extracts the session name format specified in the custom data field and validates it against the actual session name.

 

You can download the attached SmartTask in txt format and import it to your Security Management Server. Right after import, you'll find the SmartTask itself in Manage and Settings > SmartTasks, the script it uses resides in Scripts Repository (Gateways & Servers > Scripts).

 

 

In this example, we want session name to start with ticket number (CR).

To achieve that, We configure a SmartTask that will run before a session is published and run a script that will validate that the session name prefix matches our format.

If it doesn't, the script will indicate to abort the publish operation.

 
 
 
 
 
 
 

Session Name Prefix.png

2 Replies
Danny
Champion Champion
Champion

Thanks @Dima_M!

0 Kudos
Tom_Cripps
Advisor

@Dima_M - is there a way to enforce a specific numerical value? Or to prevent the use of a certain numerical value? Thinking regex but unsure if the backend coding supports this?

0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events