青华模具培训学校

 找回密码
 注册

QQ登录

只需一步,快速开始

青华模具培训学院
查看: 8990|回复: 4

Teamcenter二次开发--流程中"特别模式"自动完成的配置

[复制链接]
发表于 2010-1-4 13:51 | 显示全部楼层 |阅读模式
TC2007的流程使用起来相当的不方便,其中用户抱怨的一个问题就是,用户建好一个流程确定后,还需要到自己的任务箱里去点一下“特别模式完成”确定以后,流程才算正式跑起来了,一旦用户忘记了此项操作,这个流程可能永远也无法完成了。在TC2007的帮助文档WorkflowDesigner里关于Workflow Handler里,有这样一项介绍, g1 h0 x  P; ^& J& F
1 F5 G2 F5 N$ i- H7 Y0 h* T* F, `6 k
adhoc-signoffs& E$ O4 {5 y2 ]1 b, _
DESCRIPTION
) ~. ?/ Y. v- L6 l. ?7 ~Determines the behavior of the Ad-hoc done check box that displays within the select-signoff-team task’s interface, allowing the initializing user, address list members and resource pool members to add users to the signoff team in an adhoc manner. If the task template contains predefined signoff profiles, the ad hoc selections add one-time-only additions to the required signoff team. Alternatively,if the task template contains no predefined signoff profiles, the ad hoc additions comprise the whole of the signoff team.
& v4 `3 h' x; u" h( U6 TWhen this handler is attached to the select-signoff-team, the check box is not selected by default. You can modify this behavior using the AUTO_COMPLETE argument.* S) e/ P. ~2 v' j5 |
Note
, X; M2 u7 ?9 q6 e8 b5 iWhen this handler is not attached to the select-signoff-team task, the check box displays by default as checked, in expectation that ad hoc additions are not required. Users can still clear the check box, add additional signoff team members to the signoff team, and then select the check box again.Remember that the check box only indicates that the user has completed any ad hoc additions to the signoff team; it does not signify that the required profiles have been added to the signoff team.Using the AUTO_COMPLETE argument with this handler allows the select-signoff-team task to complete automatically. If the system’s ad hoc done query is returned as true and any predefined signoff profiles have been selected,then the task automatically completes without user interaction. Therefore, the
  M! D) ^4 C8 gselect-signoff-team task template can be configured to automatically choose a signoff team and decide whether or not to allow users to modify this predefined signoff team at execution of the task.. o6 ~" q! @" o* c" y) ^
This handler’s arguments are listed below in order of precedence, meaning that the system attempts to find a match for the argument as a user before it tries to find a match as an address list, and so on. When a select-signoff-team task is created,based on a task template that uses this handler, it parses these arguments and add those signoffs to the task. After that point, the ad hoc signoff functionality allows subsequent modifications to the signoff list. Therefore, what is specified in this handler is only used to initialize this task; during execution of the workflow process the ad hoc signoff functionality accepts further changes.This handler is executed at process execution, not at the task where it is assigned.
+ p# }# R3 \9 i: }/ j" g+ b) T% ~For instance, if you use the argument $TARGETGROUP with this handler, it will look at the group which owns the targets when the process is executed, not when the task using adhoc-signoffs is executed.
: d/ v9 k# E+ lSYNTAX
) ]1 B' |  R; s0 L) h1 j, L5 X/ Hadhoc-signoffs0 J* P9 k) H  ~. Z
ARGUMENTS- S! C  G7 m1 V. A4 O7 p
AUTO_COMPLETE! o7 a  }9 Y5 ~# _
Allows the task to complete without user interaction. Automatically selects the Ad-hoc done check box in the select-signoff-team interface. The task is PLM00037 B1 Workflow Designer Guide A-119 t- n( p+ y' t& m
Appendix A Workflow handlers assumed to be populated; no select signoff team task needs to be performed through the interface (providing at least one of the signoff profiles have been fulfilled).
( p2 C" ]6 z3 O' Q$ JWhen this argument is not used, the system doesn’t automatically select the Ad-hoc done check box, preventing the select-signoff-team task from completing until the user manually checks it, typically after ad hoc signoffs have been added. Absence of the adhoc-signoffs handler implies the presence of this" O/ b' ]; f6 s9 A. M% r
argument, and the Ad-hoc done check box is selected and behaves accordingly., ^( O: I. K) {. H3 o

2 M# w1 c9 y3 T在最开始有个词:“Ad-hoc done check box ”,这实际上就是翻译后的“特别模式完成”的那个对话框,从这里大概的意思可以理解,在有select-signoff-team的地方添加一个adhoc-signoffs的action handler,并添加参数AUTO_COMPLETE即可自动完成这一步,这样也不需要用户每次选完人后还要去启动流程了。
发表于 2010-1-10 18:36 | 显示全部楼层
看不太懂呢 是什么东西呀??
回复 支持 反对

使用道具 举报

发表于 2010-8-23 09:40 | 显示全部楼层
看不太懂呢
回复 支持 反对

使用道具 举报

发表于 2012-9-26 08:32 | 显示全部楼层
以后需再关注,现在先帮你顶一下# K9 {0 G& {4 c/ |9 i: a

/ {6 z" e# Q: P! Z
+ M2 {( t& A1 L0 X" {$ q' |* M4 F
8 @- J: K$ O1 _; f- ?8 M, m4 s3 j" m/ H% P% x
. F/ a- m8 d. B7 j) R! x7 C% h2 S
9 _3 F, J1 a1 Q6 r0 q" X6 U9 r
6 A# W, B9 Z0 D/ i; r4 Q5 M

0 I" q. ?# [; }( R; G0 W6 _- F4 G3 R& B: p5 `$ h. [

% K- G0 X; W* k  r% G0 @3 Q" l! ?, p, i7 N5 Z8 i# I/ z

$ u' }! k; k5 t/ g* W宿迁健坤网络
回复 支持 反对

使用道具 举报

发表于 2014-10-24 11:32 | 显示全部楼层
呵呵呵,很搞笑
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|关于我们|sitemap|小黑屋|Archiver|手机版|UG网-UG技术论坛-青华数控模具培训学校 ( 粤ICP备15108561号 )

GMT+8, 2025-1-23 13:46 , Processed in 0.055628 second(s), 25 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表