on 11-25-2015 9:30 AM
Hello,
I want to create a jobdefinition with a parameter which is a list of all users defined in Security/Users and owner of a jobdefinition.
The Statement
select distinct s.Name from Subject s, Job j where s.Name like '%@xxx.com' and j.OwnerSubject=s.UniqueId
gives me the right list.
How can I insert this in the parameter?
The REL-Expression
=Query.getString('select distinct s.Name from Subject s, Job j where s.Name like ? and j.OwnerSubject=s.UniqueId',['%@xxx.com'])
is empty and gives no error.
Best regards
Dana
can you try escaping "%" character?
=Query.getString('select distinct s.Name from Subject s, Job j where s.Name like ? and j.OwnerSubject=s.UniqueId',['%%@xxx.com'])
thanks
Nanda
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.