Here is the Rule I'm attempting to run (Closed):
Event:
After saving a new comment of type Repair comment
Conditions:
Content is of type -> Parameter: Content: [comment:node], Content types: Repair
Actions:
Set a data value -> Parameter: Data: [comment:node:field-scheduled], Value: - None -
Set a data value -> Parameter: Data: [comment:node:field-status], Value: Closed
But it keeps getting overridden by this Rule (Ready for Pickup):
Event:
After updating existing content of type Repair
Conditions:
Data comparison -> Parameter: Data to compare: [node:field-invoiced], Data value: Yes
Actions:
Set a data value
Parameter: Data: [node:field-status], Value: Ready for Pickup
I'm not sure why it happens. I've tried updating my version of Rules. Even when viewing the Rules log it shows the Closed rule runs second in the timeline. I've also tried adding the same conditions to the Closed rule, still not firing. The only time this works is when disabling the Ready for Pickup rule. It seems that the Updating Content has a higher priority somehow.
Any help would be appreciated. Thanks!
Comments
Comment #1
degraw CreditAttribution: degraw commentedI solved my own issue. Here's how...
Comment #2
degraw CreditAttribution: degraw commented