« Back to AAU Project

"AQL" Queries and ADO Script

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
"AQL" Queries and ADO Script
Answer
7/2/15 8:19 AM
First thank you for your support all the time,
My question is, suppose that I have a parent class "Operation" and the subclasses of Operation are "Behavioral Unit", "Behavioral Makro". In my model all objects are instances of the these classes.
I need to get Ids of all objects except the ones from class "Behavioral Unit".

I tried this query but it did not work, I think there is a syntax problem:

  SET aqlGetPredecessorsForObj: ("(<\"Operation\">)+DIFF+(<\"Behavioral Unit\">)")
  CC "AQL" EVAL_AQL_EXPRESSION expr: (aqlGetPredecessorsForObj) modelid: (nGraphModelID)
  SETL lGraphNodeIDs: (objids)

Would you help please?

RE: "AQL" Queries and ADO Script
Answer
7/2/15 5:41 AM as a reply to Fadi Al Machot.
Dear Fadi,
Thank you for your question. If you delete the two '+' from your query expression than it should work.

like:
1SET aqlGetPredecessorsForObj: ("(<\"Operation\">)DIFF(<\"Behavioral Unit\">)")
2  CC "AQL" EVAL_AQL_EXPRESSION expr: (aqlGetPredecessorsForObj) modelid: (nGraphModelID)
3  SETL lGraphNodeIDs: (objids)