XPath constraint error

0
Good Morning,   For this Reference Set Selector. I don’t want the current user to be able to be selected. I have tried the formula below. Am I on the right lines? does anyone know what I have done wrong?     Thanks in advance   Jess
asked
6 answers
1

Hi Jessica Parsons,

 

If you are using the Account entity to show the user name,

you can try using this xpath [id!='[%CurrentUser%]']

answered
0

Hello,

What constraint exactly are you looking for ?

answered
0

I think you can just check the association:

[System.owner != '[%CurrentUser%]']

 

answered
0

 

Hi Martin,

 

Thank you for the response. It is still coming up with an error. %CurrentUser% doesn’t actually come up as an option so have had to type in manually. I don’t know if that has anything to do with it.

answered
0

Hello,

Under Datasource option, first you have to select the object :


Then under Selectable Objects tab, add the Xpath constraint :

[System.owner != '[%CurrentUser%]']

 

 

Hope it’s clear !

answered
0

Hi Dinesh,

 

It is still not liking it. Thank you though!

 

answered