Forum Discussion

rory_hewitt's avatar
rory_hewitt
New Contributor
11 years ago

What is a definitive list of Review Phase names?

I have written a script to automatically send emails when a review changes phases. According to http://codecollab/manual/index.html?admin_var_subst.html, I can pass in

${review.phase}, which is described as follows:



'The name of the phase this review is currently in, e.g. "Inspection" or "Completed" or "Canceled".'



Given that I want to send slightly different emails based on the phase, is there a definitive list of what values this substitution variable may have?

1 Reply

  • OK, I got the answer from Support, and I'm posting it here for anyone else who might find it useful:


    "Reviews can be in the following states:



    Planning

    Annotating

    Inspection

    Rework

    Completed

    Cancelled

    Rejected

    Deleted



    I don't think you'll ever see the 'Deleted' phase passed to your script, but you might. A review can be deleted if it never left the planning phase."