|
|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
125. 在TC11.x下如何查找特定审批人未完成的执行签发任务$ J$ ~* g" y1 N* q9 ]; g
工作流附件的存储方式在 TC11.x以及后续版本下发生了变化,如下可以看到已经被声明不
0 x$ E+ f4 q2 q+ t支持.4 B. m4 p8 n2 S
: G2 }2 k/ H# P6 F( K1 i& m3 S签发附件现在是作为关系引用的次对象,EPMTask作为关系引用的主对象。新的查询如
; A. |6 ]+ A) f1 c w5 R0 d( F下:, L. W9 _& b. M" N7 g7 |; W- g
Object_type is EPMPerformSignoffTask
# |* w! f9 x( a: k% [State_value 4 表示未完成的任务7 |* l% }1 C2 u+ ^# f6 b1 G5 ^6 r
查询脚本如下,可以导入Teamcenter查询构建器$ E: f: p5 T. j5 X
<?xml version="1.0" encoding="utf-8"?>
& u$ p" y1 K# \8 q$ M/ H4 P<!-- GENERATED BY: PLM XML SDK 7.0.4.411 -->
' S$ [8 r. V j: m<plmxml_bus:PLMXMLBusinessTypes
9 Q" l( ]( \9 Yxmlns="http://www.plmxml.org/Schemas/PLMXMLSchema"
) F8 G7 i3 S* i' I2 I G( Pxmlns:plmxml_bus="http://www.plmxml.org/Schemas/PLMXMLBusinessSchema"8 R% ^/ e) s$ t/ M- P* k2 D3 ]) ?
language="en-us" time="14:44:55" schemaVersion="6" author="Teamcenter; U! R- l3 r5 O" S b: [( B2 @' r8 }* I
V11000.2.2.20_20160504.00 - demo@IMC--1942934752(-1942934752)" date="2016-12-15"; `6 D6 E! J3 z; F8 T
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">$ P4 }* `, P; _2 J; E" }+ u; _- S
<plmxml_bus:SavedQueryDef id="id1" name="Find unfinished perform signoff task") S% t9 C# k/ K0 }; b- H1 G w
nameRef="#id2" queryFlag="0" queryClass="EPMTask">2 c1 m* Y3 l: T D9 p8 A2 b
<ApplicationRef application="Teamcenter" label="BLUhF49HIPhsCA"
0 {* N# s* I6 O& T) n5 m2 p* Dversion="BLUhF49HIPhsCA"></ApplicationRef>5 k! O1 c3 J0 @. C
<plmxml_bus:QueryClause id="id3" stringValue="SELECT qid FROM EPMTask WHERE
" S3 R( }: w7 ?" i2 }, l8 J"ImanRelation<-/ U- m. _% O0 m9 t
primary_object.Signoff:secondary_object.group_member.User:user.user_id" =
/ q. e1 b6 w! }0 P"${user_id = }" AND "object_type" = "${object_type =
3 ~5 q/ ?5 h! b" B( u6 LEPMPerformSignoffTask}" AND "state_value" = "${state_value =
3 m6 z: D2 B# R0 Q0 |4 V4}""></plmxml_bus:QueryClause></plmxml_bus:SavedQueryDef>& V& r+ V( {" [ Y
<plmxml_bus:Text id="id2" primary="enus"></
; M4 A# O4 m0 I4 @' U: gplmxml_bus:Text></plmxml_bus:PLMXMLBusinessTypes>- k4 p8 x1 b3 S8 f! ]- G* l# P" D
( z, H# Y h d1 C9 u" H8 D" a Y |
|