|
|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
125. 在TC11.x下如何查找特定审批人未完成的执行签发任务
1 N0 T2 Y& L& V; j! \工作流附件的存储方式在 TC11.x以及后续版本下发生了变化,如下可以看到已经被声明不/ i7 }* j9 W& d7 ?
支持.9 E- j- N4 F6 o9 e' C
8 t! u! D+ [5 m p+ V7 ^- z
签发附件现在是作为关系引用的次对象,EPMTask作为关系引用的主对象。新的查询如; y; r: }7 V& o1 A* ~2 S
下:
2 U. ]8 k/ h3 J! H2 lObject_type is EPMPerformSignoffTask, m6 @% {$ e n
State_value 4 表示未完成的任务
3 I" _' Q2 j5 N; x O+ X查询脚本如下,可以导入Teamcenter查询构建器0 ?8 W# |+ I4 q, q
<?xml version="1.0" encoding="utf-8"?>
7 e+ E7 L8 p, w/ r! V1 }<!-- GENERATED BY: PLM XML SDK 7.0.4.411 -->& T8 T8 P l; |! E$ W5 k' K# e$ X
<plmxml_bus:PLMXMLBusinessTypes
0 L- |' U" X8 A3 M* v# Y% g& x5 Bxmlns="http://www.plmxml.org/Schemas/PLMXMLSchema"/ }! ~( j- {" |9 H, f0 R/ J- ]3 `
xmlns:plmxml_bus="http://www.plmxml.org/Schemas/PLMXMLBusinessSchema"
2 Q) _# m/ F: _7 }( K9 wlanguage="en-us" time="14:44:55" schemaVersion="6" author="Teamcenter% K4 w3 o2 `8 N6 v! \& ]& J; G3 d
V11000.2.2.20_20160504.00 - demo@IMC--1942934752(-1942934752)" date="2016-12-15"; u3 F* q2 Y' u: V, ~9 x
languages="cs-cz de-de en-us es-es fr-fr it-it ja-jp ko-kr pl-pl pt-br ru-ru zh-cn zh-tw">
% n0 n& r) ?- [: D' {0 I) e& ^<plmxml_bus:SavedQueryDef id="id1" name="Find unfinished perform signoff task"
: ]0 }) l/ x. nnameRef="#id2" queryFlag="0" queryClass="EPMTask">
! m# v( p& v: ]4 Q) a6 [<ApplicationRef application="Teamcenter" label="BLUhF49HIPhsCA"& E5 m; Q/ u& w
version="BLUhF49HIPhsCA"></ApplicationRef>/ I9 m* k) n5 `0 l' b" E
<plmxml_bus:QueryClause id="id3" stringValue="SELECT qid FROM EPMTask WHERE, O# ~9 |' E* h5 B, u
"ImanRelation<- [' c# [) x* j! e
primary_object.Signoff:secondary_object.group_member.User:user.user_id" =# f( ^$ U* V, I/ c
"${user_id = }" AND "object_type" = "${object_type =
. j/ |1 |6 B% h/ wEPMPerformSignoffTask}" AND "state_value" = "${state_value =
, H% W+ W, f1 V+ Y% X4}""></plmxml_bus:QueryClause></plmxml_bus:SavedQueryDef>
6 f' |0 U' T6 J0 E<plmxml_bus:Text id="id2" primary="enus"></- g/ Q. C) A7 q! g6 S4 b
plmxml_bus:Text></plmxml_bus:PLMXMLBusinessTypes>4 V- T6 p& l$ w* Q2 }- g# g! L
9 O& C/ W0 J, O& F |
|