Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
WCBasicAdminGuide.pdf
Скачиваний:
71
Добавлен:
23.03.2015
Размер:
3.31 Mб
Скачать

Once the process images have been associated with the workflow templates, they can be viewed from the Tasks table in the context of a specific routing task or change request. They provide the end-user with a quick look at the process flow and the behavior of the task in which they are participating.

For detailed procedures for editing and associating process images to the workflow templates, see the Workflow Template Administration help.

Workflow Template Execution Flags

The workflow engine uses several flags to control behavior during the execution of the workflow. These flags default to wt.property values. Execution flags fall into three categories:

Process - These flags affect the entire workflow process.

Activity - These flags affect individual workflow activities.

Both process and activity - These flags are meaningful for both workflow processes and workflow activities.

Process Flags

These flags are meaningful only to workflow processes.

Flag Name

Associated wt.property

Short Description

Create

wt.workflow.engine.recordProcess

Determines if the workflow process

process -

Creation

creation events are recorded as part

record

 

of the workflow history. You can

 

 

change the value of this property for

 

 

a specific process by altering its

Create

 

execution characteristics.

wt.workflow.engine.emitProcess

Determines if workflow process

process -

Creation

creation events should be emitted as

emit

 

a keyed event. This event can be

 

 

listened to and used for

 

 

synchronization and other purposes.

 

 

You can change the value of this

 

 

property for a specific process by

 

 

altering its execution

 

 

characteristics.

Change

wt.workflow.engine.recordProcess

Determines if the workflow change

process state

StateChange

of state events should be recorded

- record

 

as part of the workflow history. You

 

 

can change the value of this

 

 

property for a specific execution

 

 

object by altering its execution

 

 

characteristics.

376

PTC Windchill® Basic Administration Guide

Flag Name

Associated wt.property

Short Description

Change

wt.workflow.engine.emitProcess

Determines if the workflow state

process state

StateChange

change events that occur with

- emit

 

processes should be emitted as a

 

 

keyed event. This event can be

 

 

listened to and used for

 

 

synchronization and other purposes.

 

 

You can change the value of this

 

 

property for a specific process by

 

 

altering its execution

 

 

characteristics.

Change

wt.workflow.engine.recordProcess

Determines if the workflow change

process data -

DataChange

of data events should be recorded as

record

 

part of the workflow history. You

 

 

can change the value of this

 

 

property for a specific execution

 

 

object by altering its execution

 

 

characteristics.

Change

wt.workflow.engine.emitProcess

Determines if the workflow state

process data -

DataChange

change events that occur with

emit

 

processes should be emitted as a

 

 

keyed event. This event can be

 

 

listened to and used for

 

 

synchronization and other purposes.

 

 

You can change the value of this

 

 

property for a specific process by

 

 

altering its execution

 

 

characteristics.

Execution

workflow.engine.recordException

Determines if the workflow

error - record

 

execution exceptions should be

 

 

recorded as part of the workflow

 

 

history. You can change the value of

 

 

this property for a specific

 

 

execution object by altering its

 

 

execution characteristics.

Execution

workflow.engine.emitException

Determines if workflow execution

error - emit

 

exception should be emitted as a

 

 

keyed event. This event can be

 

 

listened to and used for

 

 

synchronization and other purposes.

 

 

You can change the value of this

 

 

property for a specific execution

 

 

object by altering its execution

 

 

characteristics.

Notify on

wt.workflow.engine.notifyOn

This event can be listened to and

Understanding Workflow

377

Flag Name

Associated wt.property

Short Description

exception

Exception

used for synchronization and other

 

 

purposes. You can change the value

 

 

of this property for a specific

 

 

process by altering its execution

 

 

characteristics.

Abort

wt.workflow.engine.

Determines whether to abort the

process on

abortProcessOn

workflow when an exception

exception

Exception

occurs. If true, the process instance

 

 

is aborted if a contained activity

 

 

aborts.

Notify on

wt.workflow.engine.notifyOn

Determines whether a notification

overdue

Overdue

should be sent to the participants in

 

 

the overdue notification list when

 

 

the process or activity is overdue.

 

 

You can change the value of this

 

 

property for a specific process by

 

 

altering its execution

 

 

characteristics.

Notify on

wt.workflow.engine.notifyOn

Determines whether a notification

complete

Complete

should be sent to the process

 

 

responsible when the execution

 

 

object completes. You can change

 

 

the value of this property for a

 

 

specific process by altering its

 

 

execution characteristics.

Notify on

wt.workflow.engine.notifyOnPast

Determines whether a notification

past deadline

Deadline

should be sent to the process

 

 

responsible after some time has

 

 

elapsed since the execution object

 

 

completed. The time is defined in

 

 

an attribute if the object is past the

 

 

deadline.

Notify on

wt.workflow.engine.notifyOn

Determines whether a notification

approaching

ApproachingDeadline

should be sent to the process

deadline

 

responsible when the time to

 

 

deadline has been reached. You can

 

 

change the value of this property for

 

 

a specific process by altering its

 

 

execution characteristics.

Asynchro-

wt.workflow.engine.asynchronous

Determines if the execution of an

nous

Execution

activity is asynchronous, that is, not

execution

 

terminated when the host process or

 

 

block completes. If an

 

 

asynchronous activity occurs in a

378

PTC Windchill® Basic Administration Guide

Flag Name

Associated wt.property

Short Description

 

 

loop, one may have several

 

 

instances of the same activity

 

 

template executing concurrently.

Has

wt.workflow.engine.

Determines whether the workflow

dedicated

dedicatedQueue

processes have dedicated queues for

queue

Mode

event propagation and user work

 

 

(robot expressions, synchronization,

 

 

and so forth). Avalue of true causes

 

 

the processes to have dedicated

 

 

queues. Users may want a dedicated

 

 

queue for a process when they want

 

 

to prevent its execution from being

 

 

impacted by the execution of other

 

 

workflows.

 

 

The default value is false, which

 

 

means that these queues are

 

 

normally shared (as are the other

 

 

workflow queues).

 

 

This attribute is used when the

 

 

dedicatedQueueMode is one of

 

 

propagation, userWork, or both.

 

 

You can control this property in an

 

 

individual process base by setting

 

 

the appropriate execution flag in the

 

 

process template.

Select Latest

wt.workflow.engine.useLatest

Determines whether the latest

Template

TemplateIteration

iteration of a specific version of an

Iteration

 

object is used the first time the

 

 

subprocess is encountered in the

 

 

workflow. If the subprocess

 

 

template is iterated and then the

 

 

process loops back, the initial

 

 

version (not the iterated version)

 

 

continues to be used because the

 

 

subprocess referenced that version.

 

 

The default value is true, which

 

 

means that the latest iteration is

 

 

used the first time the subprocess is

 

 

encountered.

Understanding Workflow

379

Соседние файлы в предмете [НЕСОРТИРОВАННОЕ]