All,

I am trying to write a workflow script to add to our quality centre installation. It is intended do the following:

-- When a certain field for a requirement changes, any linked tests are flagged for an alert. --

I have created the following pseudocode, but am not aufait with the QC script syntax.

SUB Requirements_Req_FieldChange("Details") {

DIM ScriptChangeList;

FOR each test script DO

IF test script is linked to the requirement THEN Add the test script to ScriptChangeList;

END FOR;

FOR each test script in ScriptChangeList DO

Flag test script with an alert(!);

END FOR;

END SUB;

Can anyone help me convert this into proper syntax please?

Thanks!