1766
Points
Questions
1
Answers
49
-
- 2571 views
- 4 answers
- 0 votes
-
- 2445 views
- 4 answers
- 0 votes
-
- 1933 views
- 5 answers
- 0 votes
-
I will use SDK for this,
- Create search include all changes for week/ month include user run this report.
- Create FOR loop all changes result:
- Each change open TABLE_WORKFLOW
- Get value ATT_WORKFLOW_SIGNOFF_USER
- Check if Sign Off User is the same as user run this report?
- YES- read ATT_WORKFLOW_SIGNOFF_COMMENTS and continue to next workflow.
- NO- continue to next row.
You need decide what you do when you have more than one cycle for the change. Did you read comments only from last cycle or you read all comments from all cycles.
IF you have more questions please feel free to ask,
- 3773 views
- 4 answers
- 0 votes
-
I will use SDK for this,
- Create search include all changes for week/ month .
- Create FOR loop all changes result:
- Read Approvers for each change:
IChange change = (IChange)session.getObject(IChange.OBJECT_TYPE,"ReportChanges[i]"); IWorkflow[] wfs = change.getWorkflows(); IWorkflow wf = wfs[0]; IStatus[] steps = wf.getStates(StatusConstants.TYPE_REVIEW); IStatus step = sts[1]; // in my ECO I have two steps of Review. IDataObject[] Approvers =change.getApprovers(st);
- continue to next change
- Read Approvers for each change:
If you have more questions please feel free to ask,
- 4076 views
- 4 answers
- 0 votes
-
- 3773 views
- 4 answers
- 0 votes
-
You can check the solution in link below: http://www.myagileplm.com/question/java-8-issue/
In our organization is soךve the problem with java 8.
- 3583 views
- 2 answers
- 0 votes
-
- 1933 views
- 5 answers
- 0 votes
-
- 1933 views
- 5 answers
- 0 votes
-
I work with Java PX, you can adapt to script PX.
IObjectEventInfo objectEventInfo = (IObjectEventInfo) request; IDataObject affectedObject = objectEventInfo.getDataObject(); IChange ECR= (IChange ) affectedObject; String ECO= info.getNewNumber();
This answer accepted by PLM_admin. on May 7, 2024 Earned 15 points.
- 1999 views
- 2 answers
- 0 votes