Logged in user

 2 Replies
 0 Subscribed to this topic
 52 Subscribed to this forum
Sort:
Author
Messages
TommyT
Veteran Member Send Private Message
Posts: 58
Veteran Member
Can you grab the id of the person entering a transaction (ie. the logged in user) when that user triggers a flow?
John Henley
Send Private Message
Posts: 3351
I think the WF-RM-ID field on the WFWORKUNIT record contains the last user to update the record, so for a newly-created workunit, that should be the user who triggered the flow.
Thanks for using the LawsonGuru.com forums!
John
TommyT
Veteran Member Send Private Message
Posts: 58
Veteran Member
That works great. It gives me one issue, though. In the flow I use a resource query to turn ID numbers into usernames for inbaskets. With this I need to turn a username into an ID. Ive been fooling around with the query but I'm not getting it.

What would resource query code that takes in a user ID and returns an ID number look like.  It's the opposite of what I have now...