I'm having some problems creating a calculation to do the following:
If the Problem attached to the Incident is at either "'Investigating Root Cause Workaround Identified' or 'Root Cause Identified Workaround Identified' then give value as "true" otherwise "false".
This is so that i can include this in a decision in the Incident Process.
I've tried to write the below calculation to do the above but it doesn't seem to work? Im a newbie with calculations if im honest.
static def GetAttributeValue(Incident):
Value = 'False'
if Incident.IncidentProblem.Problem.Status.Title!='Investigating Root Cause Workaround Identified':
if Incident.IncidentProblem.Problem.Status.Title!='Root Cause Identified Workaround Identified':
Appologies if its simple school boy error, but im sure the error will jump out at some Landesk Servicedesk Calculation Guru!