Hello Aqib,
Try this code fragment. I am assuming that you are calling this against the Change Request table, in the same way that an Action Macro would raise the Severity, which is also held in that table.
closure_code = <closure code>
The Change Order table, stores "closure code" by the unique "id." Eg "Successful" = "200".
Is the code good, is it bad (Does it even work?) by itself, I can't say. But that's the basics at a guess.
Thanks, Kyle_R.