- CheckMates
- :
- Products
- :
- Quantum
- :
- Management
- :
- Re: SmartTask - Validate Session Name Format
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Are you a member of CheckMates?
×- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks @Dima_M!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@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?
