How do I retrieve the user name for the modifiedBy
I want to get the userId of the user that performs the save operation in the pre-process action.
I get a the IContributorHandle modifiedBy = workItem.getModifiedBy(); But can not get the userId. |
One answer
You can use IRepositoryItemService.fetchItem() to get the real item
(IContributor) for a handle (IContributorHandle). And then you can get the userId from IContributor. |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.