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

Re: Is it possible to populate fields using calculations to strip out unnecessary content from other fields?

$
0
0

Hi Peter

 

You could use the SubString function.

 

So if I wanted to return in another attribute the first 5 characters in the title of a incident, you could make the new attribute as a before save calculation with the title as a dependency and the following calculation.

 

import System

static def GetAttributeValue(Incident):

  Value = Incident.Title.Substring(0,5)

  return Value

 

for more information on the above function you can see the following.

String.Substring Method (System)

 

Not sure where this would piece together in your integration but i help it helps.

 

Thanks

Paul


Viewing all articles
Browse latest Browse all 12704

Trending Articles