This operator sets the status for the current shop. The status numbers can be any of the following:


0 : Created

1 : New

2 : Incomplete

3 : Completed

4 : Collaboration Shop

5 : Excluded

6 : Hold A

7 : Hold B

8 : Reviewed

9 : Finalized

10: Emailed

12: Client Finalized

15: Locked



Here's an example of its usage:


// Put shop in Hold A if Q(31) answered Yes

ifQ(31)
.answered(1)
.setShopStatus(6);


This rule can be used to organize your shops into statuses automatically based on RuleZ conditions. This can be useful if, for example, a certain response should mark the shop as being excluded. Or, as in the example above, the status of Hold A and Hold B can be used as bins to help manage the review process.


// Exclude shop if Q(31) is answered No

ifQ(31)
.answered(2)
.setShopStatus(5);