Question
Change notice Approvers and their vote
hi,
I'm working on a query to report the voting details of change notice (i.e. CN_no, CN_approver, vote, Vote Comments).Here are the 'Types' (tables) I'm currently joining together to get my
Change notice number (wt.change2.WTChangeOrder2.Number) & activity name (wt.workflow.work.WfAssignedActivity.Name):
===================================================================
wt.change2.WTChangeOrder2
wt.workflow.work.WfAssignedActivity
wt.workflow.work.WfAssignment
wt.workflow.engine.WfProcess
Here are the fields I'm currently selecting for the report:
=============================================================
Change Notice (wt.change2.WTChangeOrder2).Number
WfAssignedActivity.Name {where name='Approve CN'}
and
Here are the 'Types' (tables) I'm using for cn_approver, vote & Vote comments
===================================================================wt.workflow.engine.WfVotingEventAudit
Here are the fields I'm currently selecting for the report:
===========================================================
WfVotingEventAudit.User Comment
WfVotingEventAudit.Event List
WfVotingEventAudit.Timestamp
WfVotingEventAudit.AssigneeRef.Name
so ,how can I join WfVotingEventAudit with WTChangeOrder2 or WfAssignedActivity, so I'll get CN_no, CN_approver,Vote,Vote comments.
Thanks,
-Shreyas
