Hi
I currently are working on a script that takes data from different objects in different ObjectSchemas. Basically I do some simple calculations based on objects in different schemas that has reference to a master object. This works fine when using the script console. But when using it in an automation rule it only collects the data from the schema that the rule resides in, which is where the master object resides in.
I'm using the IQL facade findObjectsByIQL. And as mentioned when using it in the script editor there are no problems.
I'm using version 6.1.0
Any ideas ?
Best regards
Michael
Hi Michael.
This is due to the Schema context, where the Automation rule is running from.
You can try findObjectsByIQLAndSchema and loop through your schemas (by Schema Id) to find the objects matching your IQL.
Kind regards,
Yinon
Team Riada
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.