Hi Guys
Just want to find out... Up to which point will rules trigger that has a condition of (IF Object IS NEW).
Is there a specified set of (rules) that defines when an object is not considered NEW anymore? Just need to clarify as I find that sometimes rules trigger and sometimes they don't and I suspect it has something to do with when an Object Stops being new.
Here is an example: I have an object with 3 rules -
Rule 1
If ReceivedEmail IS NEW AND ReceivedEmail.Subject CONTAINS XXX THEN
ReceivedEmail.TicketReferenceNr = XXX
Rule 2
IF ReceivedEmail.TicketReferenceNr WAS CHANGED Then
FIND Ticket WHERE Ticket.TicketReferenceNumber=ReceivedEmail.TicketReferenceNr
INSERT ReceivedEmail IN Ticket.ReceivedEmails
Rule 3
IF ReceivedEmail.Ticket WAS CHANGED THEN
INSERT ReceivedEmail IN ReceivedEmail.Ticket.Pool.EmailMessages
Which of these three rules will trigger when the Received email is created for the first time?
Don't know if state NEW is perhaps explained in detail in one of the guides, but I couldn't find it
if it is.
Ideally I don't want Rule three to trigger as a result of the action of Rule 2 because that would
be inefficient as it essentially executes the same thing.
Thnx for any advise.
Hein
When is an object New?
-
- Posts: 345
- Joined: Mon Nov 12, 2012 9:08 pm
- Location: South Africa
When is an object New?
Hein Hanekom & Werner Hanekom
Sinov8.net
AwareIM Version 5.9 | 6.0 | 7.0 | 7.1 (Windows EC2 R2012 & MySQL)
Sinov8.net
AwareIM Version 5.9 | 6.0 | 7.0 | 7.1 (Windows EC2 R2012 & MySQL)