Quantcast
Channel: Ivanti User Community: Message List
Viewing all articles
Browse latest Browse all 12704

Re: Getting Minutes To Breach on Process

$
0
0

This seems to work for me:

 

Wrote this as an after read attribute on Process.

 

 

import System

static def GetAttributeValue(Process):

       Value = ""

      

       if Process.Class.Name != null:

      

              if Process.Class.Name == "Incident":

                     Value = Process._MinutesToBreach.ToString()

              if Process.Class.Name == "Request":

                     Value = Process._MinutesToBreach.ToString()

       return Value


Viewing all articles
Browse latest Browse all 12704

Trending Articles