Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Is it possible to use ObjectType In as part of an automation

Ste404
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 28, 2022

Hi there,

I am trying to do a lookupObjects for two particular ObjectTypes only out of a group of about 10.

I was tying this

ObjectType In("Technical Approver Group","Support Group") AND "Updated" <= now() AND "Updated" > now(-7d)

but it is failing with a whole heap of formatting errors

 

{"errorMessages":["AQL \"ObjectType In(\"Technical Approver Group\",\"Support Group\") AND \"Updated\" <= now() AND \"Updated\" > now(-7d) and objectSchemaId == 5\" has invalid syntax at position 13 with error message \"mismatched input '(' expecting ' '\""],"errors":{}}

 

The output of this is going to be an email, is it possible to combine two object types into the one lookup.

 

I'm stuck.

1 answer

1 accepted

1 vote
Answer accepted
Ste404
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 28, 2022

should have been a = instead of the In.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events