I'm trying to set up a calculation in our change management system so that if a Standard impact is selected, it then always defaults the Urgency to Routine after creation.
The calculation is:
import System static def GetAttributeValue(Change): Value = Change.Urgency if Change._ChangeImpact != null: if Change._ChangeImpact._RFCImpact= "Standard": Value = "Routine" return Change.GetRankedObject("ChangeManagement.ChangeUrgency", Value) However when I run it I get the following error message:
Calculation
Action Value Calculation Unsuccessful at 2013-03-04 14:04:19.526
Calculation successful for Attribute [Urgency] on Class Type [ChangeManagement.Change]
On Object : Key = [73adba48-85f1-435e-897a-41c96e722852] Name = [54]
Calculated Value = []
FAILED
The method or operation is not implemented.
Any ideas?