and more in a single search tool across platforms. Read the announcement here. |
11/22/2023 10:12 PM
This is my SQL queries for the technical rule to meet the CP49=true to create AD account?
a.customproperty16='Active' AND a.statuskey=1 AND a.customproperty49 = 'True' AND a.customproperty13 in ("Permanent Full Time", "Permanent Part Time", "Max Term Full Time", "Max Term Part Time", "Casual", "Vacation Students") AND (a.customproperty37 is not null AND upper(a.customproperty37) != 'NONE') AND (date(addtime(sysdate(), '8:0:0')) >= date(a.customproperty35) AND date(addtime(sysdate(), '8:0:0')) <= date(a.customproperty36)) AND (a.customproperty38 is null OR upper(a.customproperty38) = 'NONE')
Thanks
11/22/2023 11:11 PM
@Bsah - when the technical rules are evaluated, they are evaluated as HQL and not SQL. Hence, there are functions or syntaxes that are allowed in SQL which may not work in HQL.
Recommend you to look into the logs to validate what is the error that you are getting when this specific rule evaluates. Also, please check if functions like date(), addtime() are applicable for HQL or not.
What is the use-case that you are trying to implement here?
11/22/2023 11:30 PM
this query is for creating AD which meets CP49=true and CP13 in all the employee group.
11/23/2023 12:58 AM
Not sure where you are checking date and other conditions if there are only 2 conditions to be validated that you have mentioned above.
11/23/2023 04:40 PM
Does tasks are created ? If no can you check logs
11/30/2023 12:35 AM
No Pending task is creating for this tech rule.