I am unable to capture the logged-in user’s details in taskspace. My application requires me to capture the logged-in user’s user_name in a text field and assign the next task to the same user. For this I attached a template adaptor in the electronic form in Forms Builder and appended a DQL query in the adaptor (select user_name from dm_user where user_name=USER). But this is not working. I even tried hard-coding the user_name in the query. Still, it’s not getting captured in the task.
How can I fix this issue?