We have Dual User Identification turned on and it works as expected. Since we have the config set as “If set to “User ID” – the ‘Display User ID’ Preference should be set to “NO”, the user values in SDK comes back as lastname, firstname. Any ideas how to get to User object ?

Example: Lets say we have Change Order: ECO-001. The creator is James Bond. In UI the creator attribute displays “James Bond”. In SDK when we get values for ECO its comes back with James Bond for creator. 
The issue arises when the First name and Last name is not unique enough ? So when we need to send an email notification based on an ECO function we want to ensure we send it to the correct user ?Any suggestions?

Add Comment
1 Answer(s)

Please find the below steps
1.Fetch change

IChange change=session.getObject(IChange.OBJECT_TYPE,”ECO0001″);

2.fetch the cell

ICell userCell=(ICell)change.getCell(based);

3.Get the user from cell

IUser user=(IUser)userCell.getReferant();

Agile Talent Answered on March 19, 2018.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.