Field update in a transition

Hello!

Is there a possibility to identify if a particular field is updated/changed in a given transition ?

I'm trying to check it in ts_changeactions, ts_changes but not getting idea to bring all together to identify a particular field update with a given transition.

And I've to use this in a teamscript.

Let me know.

Thank you!
Parents
  • Like Lynn said:

    Function GetOldValue(inFieldName)
    Dim fldlist, fldobj, retValue
    Set fldlist = Shell.item.Fields()
    Set fldobj = fldlist.FindField(inFieldName)
    Call fldobj.getdbValue(retValue)
    GetOldValue= retValue
    End Function

    Call Shell.Item.GetFieldValue("MYFIELD", newValue)
    If newValue <> GetOldValue("MYFIELD") Then
    . . .
Reply
  • Like Lynn said:

    Function GetOldValue(inFieldName)
    Dim fldlist, fldobj, retValue
    Set fldlist = Shell.item.Fields()
    Set fldobj = fldlist.FindField(inFieldName)
    Call fldobj.getdbValue(retValue)
    GetOldValue= retValue
    End Function

    Call Shell.Item.GetFieldValue("MYFIELD", newValue)
    If newValue <> GetOldValue("MYFIELD") Then
    . . .
Children
No Data