Security Sessions History

Determining your actively logged in users is a little tricky in ISM.

Security History (Frs_ops_logon_history)

Security sessions are derived from the security history business object (Frs_ops_logon_history) and used the status value and logout time to determine “security session” by event type and login type.

This makes identifying the number of active sessions challenging as aggregate functions do not allow use of the distinct function. This limits the use of dashboard parts, as you will get false counts per user.

a19 Consulting – Best Practice System

An advanced workaround would be to create a summarized table similar to the a19 Consulting Best Practice System‘s implementation. More on that on a future blog post.

ISM Administration Tip

PS: Remember one of the culprits for users staying logged in is the dashboard setting for auto-refresh. Setting your security session timeout alone does not solve the issue, you must ensure that the Auto refresh (in minutes) on your dashboards is disabled or set higher than the session timeout number.

ISM Sessions Dashboard Autorfresh for Security Logons and timeout for ivanti service manager
Ivanti Developer - Ivanti Service Manager Consultant - Kifinti Consultant - Base 64 Code - Picture - HTML Text Field Type - Email Footer for Notifications - Service Desk

How to embed an image in Global Constants and business object fields

Binary Max field for pictures

If you want to add an image to a business object then you can use the Binary/Max field type which is a good way of displaying a screenshot or picture that you can open with a single click, opposed to attachments that you need to save locally first.

Ivanti Developer - Ivanti Service Manager Consultant - Kifinti Consultant - Screenshot Binary Max Field Type

HTML text fields with Base 64 Code

Another way is to use an HTML field, first select Text as the field type you want to add and then change it to HTML.  Now you can paste images which which will be converted to Base 64.   To view the base 64 code click source edit to copy it and voila!

Ivanti Developer - Ivanti Service Manager Consultant - Kifinti Consultant - Base 64 Code - Picture - HTML Text Field Type

Global Constants

Now you can copy and paste the base 64 code OR entire HTML code to Global Constants such as a “generic” Email Footer for example for ALL outgoing email notifications.

Tip:  If you do not have any HTML fields, then you can create an Email with Ivanti Service Manager and use the email body (it’s HTML) 

Ivanti Developer - Ivanti Service Manager Consultant - Kifinti Consultant - Base 64 Code - Picture - HTML Text Field Type - Email Footer for Notifications - Service Desk

and then click source edit to reveal the base 64 code

Ivanti Developer - Ivanti Service Manager Consultant - Kifinti Consultant - Base 64 Code - Picture - HTML Text Field Type - Base 64 Code - Email Footer for Notifications - Service Desk

and then copy the code into the Global Constant.

Calling Global Constants

In your email notification body, or anywhere else in ISM you can call the Global with the function GetGlobal()