Forum Discussion

WillVitale's avatar
WillVitale
Contributor
2 years ago

Amount and Annotation Confirmation Rule

Hello, I'm trying to create a confirmation rule that looks if these two accounts have a difference of 10k USD or more and if so it looks to see if it has a comment (annotation) made by our user and ...
  • MikeG's avatar
    2 years ago

    Hi WillVitale ,

    This will return the cell text Annotation - update with your respective POV:

    stringAnnot = api.Data.GetDataCellEx("Cb#GolfStream:E#" + WFEntity + ":C#USD:V#Annotation:A#Account:F#Flow:O#Forms:I#None:U1#None:U2#None:U3#None:U4#None:U5#None:U6#None:U7#None:U8#None").DataCellAnnotation

     

    You can then do 

    If ResultCellEx.DataCellAnnotation.Length < 1 Then