Skip to main content
1-Visitor
January 27, 2017
Question

Trigger Rules base on changes to Computed Fields

  • January 27, 2017
  • 1 reply
  • 1846 views

Through trial and error I have learned that using the Condition: Field != Field[New Value] as a Trigger Rule works for picklists etc but does not trigger when a Computed Field value changes. I can somewhat get around this by changing the trigger condition to reference the inputs to the computed field. However one of the field inputs is a computed field that I don't know how to generate otherwise. It is a computed field called Last Result which is computed based on the LastResult() command to come up with the last verdict for a Test Case. Does anyone have a simple way of 'triggering' a trigger to set a field in a Test Case when a test result changes?

Thank you,

Adrian

    1 reply

    1-Visitor
    January 30, 2017

    Adrian,

    I believe you would need to create a trigger like such:

    Capture.JPG

    apost1-VisitorAuthor
    1-Visitor
    January 30, 2017

    Thanks Dan. I was looking at that but the assignment tab is not enabled with this option so I suppose I would need to call a script with the trigger tab. Is there a script available that does the same as the assignment tab in that it simply sets a value of a field from a picklist?