The API documentation states that when creating an automation rule for a ticket update the performer field needs to be and array of objects but this returns a 500 error.
P.S. type in the above example refers to performer type and not the rule type.
This object as whole is applicable only when the rule type is 4 (Ticket updates)
Performer types:
1 - Agent (Array of agent ids expected in members)
2 - Requester
3 - Agent or requester
4 - System
Thanks for that info. I think that means the documentation is wrong as its states performer is an array of objects where in fact it can only be a single object.
I wanted to be able to create a rule that covered both type 3 and 4 in one rule but I believe that is not possible.
Yes. Thats right Rob. The only other option is to have 2 rules with the same conditions and actions, with just different event performers. I do however understand that this is not ideal.