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

Best way to exclude certain Support Groups from Incident Survey?

$
0
0

Hi all,

 

I've been asked to implement Incident Survey. So far I've got a fairly straightforward calculation setup for the Precondition. Frequency has been set at 2 for testing only.:

 

import System

static def GetAttributeValue(Incident):

  Frequency = 2

  DoSurvey = false

  if (Incident.RaiseUser._FullName != null) and (Incident.RaiseUser._DoNotSurvey != true):

      DoSurvey = (Incident.Id % Frequency == 0)

  return DoSurvey

 

I've been asked to exclude the Resolving Support Group where a flag has been set.

 

I've added a Boolean attribute to System / Support Group object, which can be set on or off from within User Admin for the group.

 

However, I'm struggling to find the placeholder / reference I need to put that into the calculation into the Precondition.

 

When entering the calculation in the PreCondition and looking at the Resolutions[] collection I'm not seeing the DoNotSurvey flag in Create Group or Update Group.

 

Any advise would be most welcome.


Viewing all articles
Browse latest Browse all 12047

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>