"AQL" Queries and ADO Script"AQL" Queries and ADO ScriptRE: "AQL" Queries and ADO ScriptMehmet Albayrakhttps://www.adoxx.org/live/c/message_boards/find_message?p_l_id=&messageId=3353892015-07-02T05:41:36Z2015-07-02T05:40:14ZDear Fadi,<br />Thank you for your question. If you delete the two '+' from your query expression than it should work.<br /><br />like:<br /><div class="code"><span class="code-lines">1</span>SET aqlGetPredecessorsForObj: ("(<\"Operation\">)DIFF(<\"Behavioral Unit\">)")<br /><span class="code-lines">2</span> CC "AQL" EVAL_AQL_EXPRESSION expr: (aqlGetPredecessorsForObj) modelid: (nGraphModelID) <br /><span class="code-lines">3</span> SETL lGraphNodeIDs: (objids)<br /></div>Mehmet Albayrak2015-07-02T05:40:14Z"AQL" Queries and ADO ScriptFadi Al Machothttps://www.adoxx.org/live/c/message_boards/find_message?p_l_id=&messageId=3352292015-07-02T08:19:27Z2015-07-01T19:53:02ZFirst thank you for your support all the time,<br />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.<br />I need to get Ids of all objects except the ones from class "Behavioral Unit".<br /><br />I tried this query but it did not work, I think there is a syntax problem:<br /><br /> SET aqlGetPredecessorsForObj: ("(<\"Operation\">)+DIFF+(<\"Behavioral Unit\">)")<br /> CC "AQL" EVAL_AQL_EXPRESSION expr: (aqlGetPredecessorsForObj) modelid: (nGraphModelID) <br /> SETL lGraphNodeIDs: (objids)<br /><br />Would you help please?Fadi Al Machot2015-07-01T19:53:02Z