Click HERE to see how Saviynt Intelligence is transforming the industry. |
10/18/2024 04:34 AM
Code:
<%if(( user?.regioncode?.equals('NAZ'))) print "abcd.pasila@pqr.com,xyz.bangera-ext@prq.com" else print ""%>
10/18/2024 05:08 AM - edited 10/18/2024 05:09 AM
@GitaGupta try this
<% if(user.regioncode.equals('NAZ')) print "abcd.pasila@pqr.com,xyz.bangera-ext@prq.com" else print "" %>
10/18/2024 05:19 AM
Tried , but email did not triggered.
Any more suggestions please
10/18/2024 05:22 AM
@GitaGupta share logs..
10/18/2024 05:30 AM - last edited on 10/18/2024 05:52 AM by Sunil
10/18/2024 05:31 AM - edited 10/18/2024 05:32 AM
@GitaGupta text file please
And is email address valid?
10/18/2024 05:34 AM - last edited on 10/18/2024 05:52 AM by Sunil
10/18/2024 05:36 AM
@GitaGupta are you send the email from analytics?
10/18/2024 05:38 AM
Yes and that query is returning 5 records for dry run
10/18/2024 05:53 AM
@GitaGupta use sample
${ANALYTICSDATA.'column name of region code in analytics'[i]}
Region code - should be present in query.
10/18/2024 06:03 AM
We are using this query and it is returning countable records
SELECT USERNAME,EMAIL,STARTDATE,COUNTRY,REGIONCODE,EMPLOYEETYPE,CUSTOMPROPERTY34 FROM USERS WHERE REGIONCODE='NAZ' AND COUNTRY='US' AND EMPLOYEETYPE='Managed Contractor';
10/18/2024 06:32 AM
@GitaGupta yes but records are different so you have to have the above expression.
10/18/2024 06:35 AM
If possible , Can you please frame the query as I am not getting it.
10/18/2024 05:30 AM - edited 10/18/2024 05:31 AM
@GitaGupta <% if (user.secondaryManager) print "${test1}" else print "${manager.email}" %>
This is what we are using and it is working.
10/18/2024 06:51 AM
try this
<%if (user.regioncode == "NAZ") print "abcd.pasila@pqr.com,xyz.bangera-ext@prq.com" else print "" %>
10/18/2024 06:57 AM
Have tried but its not working.
10/18/2024 07:08 AM
I think you need to put <space> after coma
"abcd.pasila@pqr.com, xyz.bangera-ext@prq.com"
10/18/2024 11:15 AM
<%if(( user?.regioncode?.equalsIgnorecase('NAZ'))) print "abcd.pasila@pqr.com, xyz.bangera-ext@prq.com" else print ""%>