Skip to main content
1-Visitor
December 11, 2015
Question

How can I get the user that approve a promotion request using alias attributes?

  • December 11, 2015
  • 3 replies
  • 2979 views

I'm trying to use alias attribute to dsiplat some informations from a promotion request as attributes on a document.

I got to display the promotion request number and the promotion date using alias attributes, but I also need to display the user that aproves this promotion request.

For date and number promotion request, I use the following mapping:

roleBObject@wt.maturity.PromotionTarget~roleAObject^wt.maturity.PromotionNotice~promotionDate

roleBObject@wt.maturity.PromotionTarget~roleAObject^wt.maturity.PromotionNotice~number

But for approver, I use the following mapping but no value is displayed:

roleBObject@wt.maturity.PromotionTarget~roleAObject^wt.maturity.PromotionNotice~roleBObject^wt.workflow.engine.WfVotingEventAudit~workCompletedBy

If anyone could provide some support, I would appreciate it.

Wesley

3 replies

1-Visitor
May 29, 2018

Hi @wneves,

I am currently working on the same process. May I know if this solved your issue since it is not working for me. Your help would be greatly appreciated. 

14-Alexandrite
June 4, 2018
  • Use following syntax in the Alias Attribute mapping on the EPMDocument:
roleBObject@wt.maturity.PromotionTarget~roleAObject^wt.maturity.PromotionNotice~primaryBusinessObject@wt.workflow.work.WorkItem~theWorkItemReference@wt.workflow.engine.WfVotingEventAudit~userRef^wt.org.WTPrincipal~name

  • Notes:
    • This will get all users related to the Review and Approve and other tasks related to the promotion request
    • The users will be displayed as comma separated value for the attribute
    • The values are mapped only if the tasks have been completed
1-Visitor
June 5, 2018

Hi @rbhoraskar,

Thank you for your time. I have solved this issue few days ago. 

14-Alexandrite
June 5, 2018

You can mark this Topic as solved then.

No one will reply after that 🙂

 

Cheers,

Rahul