Skip to main content

Hello All, 

Is it possible to create a Custom Lookup on an assystNET form using Contact User as the single-select-lookup but have the Default Value Expression as the user who is currently logged in?

Hi Chris, 

If you are hiding the affected user field from the end user you could use something similar to the below:

$new.affectedUser.shortCode

If you aren’t hiding the affected user field then this would update as the affected user is updated. Alternatively you can use the Reporting User field - but that isn’t populated until the ticket is submitted so couldn’t drive further lookups on your form at time of completion (eg telephone number). 


Hi Chris, 

If you are hiding the affected user field from the end user you could use something similar to the below:

$new.affectedUser.shortCode

If you aren’t hiding the affected user field then this would update as the affected user is updated. Alternatively you can use the Reporting User field - but that isn’t populated until the ticket is submitted so couldn’t drive further lookups on your form at time of completion (eg telephone number). 

 

Hi Kevin, 

That is so simple it is genius, we tested and it works.

Thanks for your very quick response.


Reply