How to use Constrain for paid ticket permission?

##Rule 1:

Uses Load Ticket Action. IMO, this is not the best way. See Rule 1 (alternate) that follows.


##Rule 1 (alternate):

Uses Update Program Setting Action and Report Expression. IMO, this is a better method.

This is the Report expression:

{REPORT TICKET DETAILS:TS.Status:Ticket.Id=[:CommandValue]}


##Rule 2:

The [:CommandValue] in this Rule will contain either the value from {TICKET STATE:Status} [Rule 1], or the value from {SETTING:TicketStatusState} [Rule 1 (alternate)].

This is the Rule where you perform whatever actions you deem necessary, by constraining the Actions using [:CommandValue].