oracle workflowガイド,...

1048
Oracle Workflow ガイド リリース 2.6.2 2002 7 部品番号 : J06292-01

Upload: trinhdung

Post on 03-May-2018

253 views

Category:

Documents


1 download

TRANSCRIPT

  • Oracle Workflow

    2.6.2

    2002 7

    : J06292-01

  • Oracle Workflow , 2.6.2

    : J06292-01

    Oracle Workflow Guide, Release 2.6.2

    A95276-03Vol.1A95277-03Vol.2

    Siu Chang, Clara Jaeckel

    George Buzsaki, John Cordes, Mark Craig, Kevin Hudson, George Kellner, David Lam, Jin Liu, Kenneth Ma, Steve Mayze, Tim Roveda, Robin Seiden, Sheryl Sheh, Susan Stratton

    Copyright 1996, 2002, Oracle Corporation. All rights reserved.

    Printed in Japan.

    * Oracle Corporation

    Oracle Corporation Restricted Rights Notice

    Restricted Rights Notice

    Programs delivered subject to the DOD FAR Supplement are "commercial computer software" and use, duplication, and disclosure of the Programs, including documentation, shall be subject to the licensing restrictions set forth in the applicable Oracle license agreement. Otherwise, Programs delivered subject to the Federal Acquisition Regulations are "restricted computer software" and use, duplication, and disclosure of the Programs shall be subject to the restrictions in FAR 52.227-19, Commercial Computer Software - Restricted Rights (June, 1987). Oracle Corporation, 500 Oracle Parkway, Redwood City, CA 94065.

  • ........................................................................................................................................................................ xvii

    .................................................................................................................................................................... xviii ............................................................................................................................................ xviii ............................................................................................................................................................ xixOracle Applications ................................... xxv ................................................................................................................................................ xxv

    1 Oracle Workflow Oracle Workflow ...................................................................................................................................... 1-2

    ............................................................................................................................................... 1-3

    ....................................................................................................................................... 1-5

    2 Oracle Workflow Oracle Workflow .......................................................................... 2-2 ............................................................................................................................................................... 2-6

    Oracle Workflow ....................................................................... 2-6

    Oracle Applications embedded Workflow .............................................. 2-6

    ................................................................................................................................... 2-7

    ........................................................................................................................... 2-8

    Oracle Workflow Server ........................................................................................... 2-8

    ....................................................................................................................................... 2-9

    ..................................................................................................................................... 2-10

    ......................................................................................................................................................... 2-11

    Oracle Workflow ........................................................................................................ 2-95 ..................................................................................................... 2-99

    i

  • ................................................................................................................... 2-101Workflow XML Loader ....................................................................................................................... 2-106

    3 Oracle Workflow Builder ....................................................................................................................... 3-2

    ........................................................................................................................... 3-4

    ........................................................................................................................... 3-5

    Oracle Workflow Builder ................................................................................... 3-8 ..................................................................................................................... 3-13

    ................................................................................................. 3-19

    Oracle Workflow Builder .......................................................... 3-22

    Web ......................................................................................................................... 3-25

    4 ....................................................................................................... 4-2

    ....................................................................................................................................................... 4-2

    ..................................................................................................... 4-16

    ................................................................................................................................................ 4-18

    ..................................................................................................................................................... 4-22

    ............................................................................................................................................. 4-40

    ..................................................................................................................................... 4-58

    Oracle Workflow Builder ......................................................................................... 4-64Oracle Workflow Builder ......................................................................................... 4-65

    ............................................................. 4-66

    ......................................................... 4-67

    5 ......................................................................................................................................... 5-2

    Oracle Workflow Builder .......................................................................................... 5-22

    ............................................................. 5-24

    .................................................................................................................................................................... 5-25

    6 Oracle Workflow ............................................................................................................................................... 6-2

    ii

  • And/Or ............................................................................................................................... 6-2

    ................................................................................................................................ 6-3

    ............................................................................................................. 6-3

    ................................................................................................................................. 6-4

    ......................................................................................................................... 6-5

    ............................................................................................................. 6-5

    ............................................................................................................. 6-5

    Noop ............................................................................................................................... 6-6

    ......................................................................................................... 6-6

    ................................................................................................................................ 6-8

    ................................................................................................................................ 6-8

    .................................................................................................................... 6-8

    ................................................................................................................................ 6-8

    / ...................................................................................................... 6-10

    / ..................................................................................... 6-11

    .................................................................................................................. 6-11

    .................................................................................................................. 6-11

    .............................................................................................................................. 6-13

    URL ............................................................................................................. 6-13

    ................................................................................... 6-14

    ................................................................................... 6-14

    ................................................................................... 6-15

    XML ..................................................................................................... 6-17

    XML ..................................................................................................... 6-18

    XML ..................................................................................................................... 6-19

    ......................................................................................... 6-20 ........................................................................... 6-20

    ........................................................................... 6-21

    ............................................................................... 6-22

    ......................................................................................................................... 6-23 : ............................................................................................ 6-24

    ................................................................................................................. 6-25

    ............................................................................................................................... 6-29

    ............................................................................................. 6-32

    iii

  • 7 Oracle Workflow Oracle Workflow ...................................................................................... 7-2 PL/SQL API .......................................................... 7-3 Java API ................................................................. 7-8 API ................................................................. 7-12PL/SQL PL/SQL CLOB API ............................................................................................. 7-15

    PL/SQL ................................................................................................................................................. 7-15

    PL/SQL CLOB ..................................................................................................................................... 7-17

    API ......................................................................................... 7-19 API ............................................................................................................................. 7-21

    ..................................................................................................................................................... 7-22

    ......................................................................................................................................................... 7-22

    API ............................................................................. 7-24

    8 Oracle Workflow APIOracle Workflow .......................................................................................................... 8-2 ........................................................................................................................... 8-3

    Oracle Workflow Java ....................................................................................................... 8-6

    ................................................................................................... 8-9

    Workflow Engine API ........................................................................................................................................ 8-20CreateProcess ................................................................................................................................................ 8-22SetItemUserKey ............................................................................................................................................ 8-25GetItemUserKey ........................................................................................................................................... 8-26GetActivityLabel .......................................................................................................................................... 8-27SetItemOwner ............................................................................................................................................... 8-28StartProcess ................................................................................................................................................... 8-30LaunchProcess .............................................................................................................................................. 8-33SuspendProcess ............................................................................................................................................ 8-35ResumeProcess ............................................................................................................................................. 8-37AbortProcess ................................................................................................................................................. 8-39CreateForkProcess ........................................................................................................................................ 8-41StartForkProcess ........................................................................................................................................... 8-43Background ................................................................................................................................................... 8-44AddItemAttribute ........................................................................................................................................ 8-46AddItemAttributeArray .............................................................................................................................. 8-49SetItemAttribute ........................................................................................................................................... 8-51

    iv

  • SetItemAttrDocument .................................................................................................................................. 8-54SetItemAttributeArray ................................................................................................................................. 8-56getItemTypes ................................................................................................................................................. 8-58GetItemAttribute .......................................................................................................................................... 8-59GetItemAttrDocument ................................................................................................................................. 8-61GetItemAttrClob ........................................................................................................................................... 8-62getItemAttributes ......................................................................................................................................... 8-63GetItemAttrInfo ............................................................................................................................................ 8-64GetActivityAttrInfo ...................................................................................................................................... 8-65GetActivityAttribute .................................................................................................................................... 8-66GetActivityAttrClob .................................................................................................................................... 8-68BeginActivity ................................................................................................................................................ 8-69CompleteActivity ......................................................................................................................................... 8-71CompleteActivityInternalName ................................................................................................................ 8-74AssignActivity .............................................................................................................................................. 8-76Event ............................................................................................................................................................... 8-77HandleError .................................................................................................................................................. 8-79SetItemParent ................................................................................................................................................ 8-81ItemStatus ...................................................................................................................................................... 8-82getProcessStatus ........................................................................................................................................... 8-83

    Workflow Function API ..................................................................................................................................... 8-84loadItemAttributes ....................................................................................................................................... 8-85loadActivityAttributes ................................................................................................................................. 8-86getActivityAttr .............................................................................................................................................. 8-87getItemAttr .................................................................................................................................................... 8-89setItemAttrValue .......................................................................................................................................... 8-90execute ........................................................................................................................................................... 8-91

    Workflow Attribute API .................................................................................................................................... 8-92WFAttribute .................................................................................................................................................. 8-94value ............................................................................................................................................................... 8-95getName ......................................................................................................................................................... 8-96getValue ......................................................................................................................................................... 8-97getType .......................................................................................................................................................... 8-98getFormat ....................................................................................................................................................... 8-99getValueType .............................................................................................................................................. 8-100toString ......................................................................................................................................................... 8-101compareTo ................................................................................................................................................... 8-102

    Workflow CORE API ....................................................................................................................................... 8-104

    v

  • CLEAR ......................................................................................................................................................... 8-105GET_ERROR ............................................................................................................................................... 8-106TOKEN ......................................................................................................................................................... 8-107RAISE ........................................................................................................................................................... 8-108CONTEXT ................................................................................................................................................... 8-111TRANSLATE ............................................................................................................................................... 8-113

    Workflow PURGE API ..................................................................................................................................... 8-114Items ............................................................................................................................................................. 8-116Activities ...................................................................................................................................................... 8-117Notifications ................................................................................................................................................ 8-118Total .............................................................................................................................................................. 8-119TotalPERM .................................................................................................................................................. 8-120AdHocDirectory ......................................................................................................................................... 8-121

    ......................... 8-122

    Workflow API ....................................................................................................... 8-124GetRoleUsers ............................................................................................................................................... 8-126GetUserRoles ............................................................................................................................................... 8-127GetRoleInfo ................................................................................................................................................. 8-128GetRoleInfo2 ............................................................................................................................................... 8-129IsPerformer .................................................................................................................................................. 8-130UserActive ................................................................................................................................................... 8-131GetUserName ............................................................................................................................................. 8-132GetRoleName .............................................................................................................................................. 8-133GetRoleDisplayName ................................................................................................................................ 8-134SetAdHocUserStatus .................................................................................................................................. 8-135SetAdHocRoleStatus .................................................................................................................................. 8-136CreateAdHocUser ...................................................................................................................................... 8-136CreateAdHocRole ...................................................................................................................................... 8-139AddUsersToAdHocRole ........................................................................................................................... 8-141SetAdHocUserExpiration .......................................................................................................................... 8-142SetAdHocRoleExpiration .......................................................................................................................... 8-143SetAdHocUserAttr ..................................................................................................................................... 8-144SetAdHocRoleAttr ..................................................................................................................................... 8-146RemoveUsersFromAdHocRole ................................................................................................................ 8-147

    Workflow LDAP API ........................................................................................................................................ 8-148Synch_changes ............................................................................................................................................ 8-149Synch_all ...................................................................................................................................................... 8-150Schedule_changes ...................................................................................................................................... 8-151

    vi

  • Workflow Preference API ................................................................................................................................ 8-152get_pref ........................................................................................................................................................ 8-152

    Workflow Monitor API .................................................................................................................................... 8-153GetAccessKey ............................................................................................................................................. 8-154GetDiagramURL ......................................................................................................................................... 8-155GetEnvelopeURL ........................................................................................................................................ 8-157GetAdvancedEnvelopeURL ..................................................................................................................... 8-159

    Oracle Workflow .............................................................................................................................. 8-161WF_ITEM_ACTIVITY_STATUSES_V ..................................................................................................... 8-161WF_NOTIFICATION_ATTR_RESP_V ................................................................................................... 8-163WF_RUNNABLE_PROCESSES_V ........................................................................................................... 8-164WF_ITEMS_V .............................................................................................................................................. 8-165

    Workflow QUEUE API ..................................................................................................................................... 8-167EnqueueInbound ....................................................................................................................................... 8-170DequeueOutbound ................................................................................................................................... 8-172 DequeueEventDetail ................................................................................................................................ 8-175PurgeEvent ................................................................................................................................................. 8-177PurgeItemType .......................................................................................................................................... 8-178ProcessInboundQueue ............................................................................................................................. 8-179GetMessageHandle ................................................................................................................................... 8-180DequeueException .................................................................................................................................... 8-181DeferredQueue .......................................................................................................................................... 8-182 InboundQueue .......................................................................................................................................... 8-183OutboundQueue ........................................................................................................................................ 8-184ClearMsgStack ........................................................................................................................................... 8-185CreateMsg ................................................................................................................................................... 8-186WriteMsg .................................................................................................................................................... 8-187SetMsgAttr ................................................................................................................................................. 8-188SetMsgResult .............................................................................................................................................. 8-189

    API ...................................................................................................................................................... 8-191get_launch_document_url ....................................................................................................................... 8-192get_launch_attach_url .............................................................................................................................. 8-193get_open_dm_display_window .............................................................................................................. 8-194get_open_dm_attach_window ................................................................................................................ 8-195set_document_id_html ............................................................................................................................. 8-196

    Oracle Workflow .......................................................................................................... 8-197 ................................................................................................................................................... 8-197

    API ............................................................................................................................................................... 8-202

    vii

  • Send .............................................................................................................................................................. 8-204SendGroup ................................................................................................................................................. 8-208Forward ...................................................................................................................................................... 8-210Transfer ....................................................................................................................................................... 8-212Cancel .......................................................................................................................................................... 8-214CancelGroup .............................................................................................................................................. 8-215Respond ...................................................................................................................................................... 8-216Responder ................................................................................................................................................... 8-218VoteCount .................................................................................................................................................. 8-219OpenNotificationsExist ............................................................................................................................ 8-220Close ............................................................................................................................................................ 8-221AddAttr ...................................................................................................................................................... 8-222SetAttribute ................................................................................................................................................ 8-223GetAttrInfo ................................................................................................................................................. 8-225GetInfo ........................................................................................................................................................ 8-226GetText ........................................................................................................................................................ 8-227GetShortText .............................................................................................................................................. 8-228GetAttribute ............................................................................................................................................... 8-229 GetAttrDoc ................................................................................................................................................ 8-231GetSubject ................................................................................................................................................... 8-232GetBody ...................................................................................................................................................... 8-233GetShortBody ............................................................................................................................................. 8-234TestContext ................................................................................................................................................ 8-235AccessCheck ............................................................................................................................................... 8-236WorkCount ................................................................................................................................................. 8-237getNotifications .......................................................................................................................................... 8-238getNotificationAttributes .......................................................................................................................... 8-239WriteToClob ............................................................................................................................................... 8-240

    Oracle Workflow .......................................................................... 8-241 ................................................................................................... 8-242

    ....................................................................................................................................... 8-243getName ...................................................................................................................................................... 8-243getSystem .................................................................................................................................................... 8-243setName ...................................................................................................................................................... 8-244setSystem .................................................................................................................................................... 8-244

    ........................................................................................................................................... 8-245getName ...................................................................................................................................................... 8-245getValue ...................................................................................................................................................... 8-245

    viii

  • setName ...................................................................................................................................................... 8-246setValue ...................................................................................................................................................... 8-246

    ........................................................................................................................... 8-247

    ....................................................................................................................... 8-248Initialize ....................................................................................................................................................... 8-251getPriority .................................................................................................................................................... 8-251getSendDate ................................................................................................................................................ 8-252getReceiveDate ........................................................................................................................................... 8-252getCorrelationID ......................................................................................................................................... 8-252getParameterList ........................................................................................................................................ 8-252getEventName ............................................................................................................................................ 8-253getEventKey ................................................................................................................................................ 8-253getEventData ............................................................................................................................................... 8-253getFromAgent ............................................................................................................................................. 8-253getToAgent .................................................................................................................................................. 8-254getErrorSubscription .................................................................................................................................. 8-254getErrorMessage ......................................................................................................................................... 8-254getErrorStack ............................................................................................................................................... 8-254setPriority .................................................................................................................................................... 8-255setSendDate ................................................................................................................................................. 8-255setReceiveDate ............................................................................................................................................ 8-255setCorrelationID ......................................................................................................................................... 8-256setParameterList ......................................................................................................................................... 8-256setEventName ............................................................................................................................................. 8-257setEventKey ................................................................................................................................................. 8-257setEventData ............................................................................................................................................... 8-257setFromAgent ............................................................................................................................................. 8-258setToAgent .................................................................................................................................................. 8-258setErrorSubscription .................................................................................................................................. 8-258setErrorMessage ......................................................................................................................................... 8-259setErrorStack ............................................................................................................................................... 8-259Content ......................................................................................................................................................... 8-260Address ........................................................................................................................................................ 8-260AddParameterToList ................................................................................................................................. 8-261GetValueForParameter .............................................................................................................................. 8-261

    ............................................................................................................................... 8-262

    WF_EVENT_T OMBAQ_TEXT_MSG ........................................................... 8-264

    API ................................................................................................................................................... 8-267

    ix

  • Raise ............................................................................................................................................................. 8-268Send .............................................................................................................................................................. 8-272NewAgent .................................................................................................................................................. 8-274Test .............................................................................................................................................................. 8-275Enqueue ....................................................................................................................................................... 8-276Listen ........................................................................................................................................................... 8-277

    ......................................... 8-279SetErrorInfo ................................................................................................................................................. 8-280SetDispatchMode ....................................................................................................................................... 8-281AddParameterToList ................................................................................................................................. 8-282AddParameterToListPos ........................................................................................................................... 8-283GetValueForParameter .............................................................................................................................. 8-284GetValueForParameterPos ........................................................................................................................ 8-285

    API ................................................................................... 8-286Default_Rule() ............................................................................................................................................. 8-287Log ................................................................................................................................................................ 8-289Error ............................................................................................................................................................. 8-290Warning ...................................................................................................................................................... 8-291Success ........................................................................................................................................................ 8-292Workflow_Protocol .................................................................................................................................... 8-293Error_Rule ................................................................................................................................................... 8-294SetParametersIntoParameterList .............................................................................................................. 8-295

    API ........................................................................................................................................... 8-296Parameters ................................................................................................................................................... 8-297SubscriptionParameters ............................................................................................................................. 8-299AddCorrelation ........................................................................................................................................... 8-300Generate ....................................................................................................................................................... 8-302Receive ......................................................................................................................................................... 8-304

    API ....................................................................... 8-306WF_EVENTS .............................................................................................. 8-308WF_EVENTS_PKG.Generate ................................................................................................................... 8-309WF_EVENTS_PKG.Receive ..................................................................................................................... 8-310

    WF_EVENT_GROUPS ............................................................................. 8-311WF_EVENT_GROUPS_PKG.Generate .................................................................................................. 8-312WF_EVENT_GROUPS_PKG.Receive ..................................................................................................... 8-313

    WF_SYSTEMS ............................................................................................ 8-314WF_SYSTEMS_PKG.Generate ................................................................................................................. 8-315WF_SYSTEMS_PKG.Receive ................................................................................................................... 8-316

    x

  • WF_AGENTS ............................................................................................. 8-317WF_AGENTS_PKG.Generate .................................................................................................................. 8-318WF_AGENTS_PKG.Receive .................................................................................................................... 8-319

    WF_EVENT_SUBSCRIPTIONS ............................................................... 8-320WF_EVENT_SUBSCRIPTIONS_PKG.Generate ................................................................................... 8-321WF_EVENT_SUBSCRIPTIONS_PKG.Receive ...................................................................................... 8-322

    9 Oracle Workflow Oracle Workflow ............................................................................................. 9-2

    ............................................................................................................................... 9-6

    10 ..................................................................................................................................................... 10-2

    .................................................................................................................... 10-2

    Web .............................................................................................................. 10-13

    .......................................................................................................... 10-25

    ....................................................................................................................... 10-26

    11 ..................................................................................................................................... 11-2

    ............................................................................................................................. 11-2

    ..................................................................................................... 11-8

    12 ................................................................................................................................. 12-2

    13 ................................................................................................................................. 13-2

    ......................................................................................................................................................... 13-4

    ....................................................................................................................................................... 13-18

    ............................................................................................................................................... 13-24

    ............................................................................................................... 13-37

    ............................................................................................................................... 13-56

    ....................................................................................................................................... 13-71

    xi

  • ........................................................................................................................... 13-73

    ........................................................................................................................................... 13-77

    ........................................................................................................................... 13-79

    Ping/ ................................................................................................... 13-84 Ping/ ................................................................ 13-85

    Ping ............................................................................................................ 13-86

    Ping ........................................................................................ 13-87

    Ping .................................................................................................................... 13-88

    Ping ................................................................................................ 13-89

    14 ................................................................................................................. 14-2

    ................................................................................................................................. 14-3

    ............................................................................................................. 14-4

    ................................................................................................................................. 14-5

    ......................................................................................................................... 14-6

    ......................................................................................... 14-7

    ......................................................................................................... 14-8

    ..................................................................................................................... 14-8

    Ping ................................................................................................................. 14-10

    ....................................................................................................... 14-12

    Any .............................................................................................................................................. 14-13

    Unexpected ................................................................................................................................. 14-15

    User Entry Has Changed ......................................................................................................... 14-18

    ........................................................................................................................... 14-20 ......................................................................................... 14-21

    ................................................................... 14-22

    ............................................... 14-24

    ............................................................................................... 14-27

    15 ................................................................................................................. 15-2

    ................................................................. 15-3

    ................................................................................................................................................. 15-5

    xii

  • ................................................................................................. 15-6

    ..................................................................................................................... 15-8

    ............................................................................................................................. 15-13

    ................................................................................................................... 15-14

    ....................................................................................................... 15-15

    ..................................................................................................... 15-20

    ................................................................................. 15-21

    StartProcess ................................................................................................................................ 15-23

    ........................................................................................................................... 15-26

    : ........................................................................................................................................ 15-26

    : .................................................................................................................................... 15-28

    ........................................................................................................................... 15-30

    : .................................................................................................... 15-31

    ............................................................................................................................... 15-33 ............................................................................... 15-34

    ................................................................................................... 15-35

    ................................................................................................................. 15-38

    - ......................................................................................... 15-39

    - ..................................................................... 15-40

    - / ................................................................. 15-42

    - / ............................................. 15-43

    ..................................................................................................... 15-45

    ................................................................................ 15-46

    ............................................................................................................... 15-48 ............................................................................................................................. 15-49

    ........................................................................................... 15-50

    ...................................................................... 15-51

    ........................................................................................................................... 15-53 ............................................................................................................................. 15-54

    ....................................................................................................... 15-55

    ................................................................................... 15-56

    ............................................................................................... 15-60

    ........................................................................... 15-61

    ............................................................................................... 15-62 ........................... 15-64

    xiii

  • ............................................... 15-65

    ............................................................................................. 15-71

    : ................................................................................................ 15-73

    : ............................................................................ 15-74

    : .................................................................... 15-77

    : ................................................ 15-78

    : ............................................................ 15-79

    : ........................................ 15-80

    : ........................................................................ 15-82

    : .................................................... 15-82

    : .................................................................... 15-84

    : ................................................ 15-84

    : ................................................................................ 15-86

    : ............................................................ 15-87

    : ........................................................................ 15-90

    : .................................................... 15-91

    : ................................................................ 15-93

    : ............................................ 15-94

    : ................................................................................ 15-95

    : ............................................................ 15-95

    : .................................................................... 15-96

    : ................................................ 15-97

    : ............................................................ 15-98

    : ........................................ 15-98

    ............................................................................................................................................ 15-100

    .................................................................................................................................... 15-102

    ............................................................................................................ 15-104

    ........................................................................................................................................ 15-105

    16 Oracle Workflow SQL ....................................................................................................................................... 16-2

    FNDWFLST ................................................................................................................................................... 16-5FNDWFPR ..................................................................................................................................................... 16-5WFNLADD.sql ............................................................................................................................................. 16-6wfagtlst.sql .................................................................................................................................................... 16-6

    xiv

  • wfbkg.sql ....................................................................................................................................................... 16-7wfbkgchk.sql ................................................................................................................................................. 16-7wfchact.sql ..................................................................................................................................................... 16-8wfchacta.sql ................................................................................................................................................... 16-8wfchita.sql ..................................................................................................................................................... 16-8wfchitt.sql ...................................................................................................................................................... 16-9wfchluc.sql ..................................................................................................................................................... 16-9wfchlut.sql ..................................................................................................................................................... 16-9wfchmsg.sql ................................................................................................................................................ 16-10wfchmsga.sql .............................................................................................................................................. 16-10wfdirchk.sql ................................................................................................................................................ 16-10wfevtenq.sql ................................................................................................................................................ 16-11wfjvstop.sql ................................................................................................................................................. 16-12wfmqupd.sql ............................................................................................................................................... 16-12wfnlena.sql .................................................................................................................................................. 16-12wfntfsh.sql ................................................................................................................................................... 16-13wfprot.sql ..................................................................................................................................................... 16-13wfqclean.sql ................................................................................................................................................. 16-13wfrefchk.sql ................................................................................................................................................. 16-14wfretry.sql ................................................................................................................................................... 16-14wfrmall.sql ................................................................................................................................................... 16-14wfrmita.sql .................................................................................................................................................. 16-15wfrmitms.sql ............................................................................................................................................... 16-15wfrmitt.sql ................................................................................................................................................... 16-15wfrmtype.sql ............................................................................................................................................... 16-16wfrun.sql ...................................................................................................................................................... 16-16wfstat.sql ...................................................................................................................................................... 16-16wfstatus.sql .................................................................................................................................................. 16-16wfstdchk.sql ................................................................................................................................................ 16-16wfver.sql ...................................................................................................................................................... 16-17wfverchk.sql ................................................................................................................................................ 16-17wfverupd.sql ............................................................................................................................................... 16-17

    A Oracle Workflow Builder Oracle Workflow Builder .............................................................................................................. A-2Oracle Workflow Builder ........................................................................................................... A-8

    xv

  • B Oracle Oracle Workflow Oracle E-Business Suite ...................................................................... B-2Oracle E-Business Suite Oracle Workflow ..................... B-14Oracle9i Oracle Workflow .......................................................................... B-15 ............................................................................................................................................ B-16

    .................................................................................................................... B-16

    ........................................................................................................ B-17

    ................................................................................................................ B-17

    .................................................................................................................... B-18

    C Oracle Workflow Oracle Workflow ..................................................................................................... C-2

    .............................................................. C-2

    ...................................................................... C-7

    D Oracle Workflow .............................................................................................................................................. D-2 ................................................................................................................................................................ D-17

    xvi

  • xvii

  • Oracle Workflow

    Oracle Workflow

    Oracle Workflow Oracle University Oracle Workflow 1

    Oracle Applications

    OraclePL/SQL Oracle9i Application Server Oracle University 1

    Oracle Workflow

    1 Oracle Workflow

    2 Oracle Workflow

    3

    4

    5

    6 Oracle Workflow

    7 Oracle Workflow PL/SQL Java API

    8 Oracle Workflow API

    9 Oracle Workflow Oracle Workflow Web

    10

    xviii

  • 11

    12

    13

    14 Oracle Workflow

    15 Oracle Workflow

    16 Oracle Workflow SQL

    A Oracle Workflow Builder

    B Oracle Applications embedded Workflow Oracle Applications Oracle Workflow Oracle9i Oracle Workflow

    C Oracle Workflow

    D Oracle Workflow

    Oracle Workflow

    Oracle Workflow

    Oracle Applications 11i

    Oracle Applications embedded Workflow Oracle Applications HTML PDF

    :HTML 11i Oracle Workflow OracleMetaLink

    xix

  • 11i Features Matrix:OracleMetaLink

    README : README

    Windows Windows Oracle Workflow Builder

    Oracle Workflow HTML Windows Windows Oracle Workflow Builder HTML URL Oracle Workflow Web

    Oracle Workflow Oracle Applications Oracle Applications embedded Workflow Oracle Workflow

    HTML Library Oracle Applications CD URL Web

    Oracle Applications Users Guide Oracle Workflow GUI

    Oracle Applications Getting Started with Oracle Applications

    Oracle General Ledger Users Guide

    xx

  • Oracle Purchasing Users Guide

    Oracle Self-Service Human Resources (SSHR) Users Guide Web

    Oracle Payables Users Guide

    Oracle Projects Users Guide

    Oracle Receivables Users Guide

    Oracle Business Intelligence System Implementation Guide Oracle Business IntelligenceBIS

    BIS 11i User Guide Online Help BIS Discoverer Performance Management Framework

    Oracle Financials Open Interface Reference

    Oracle Financial Applications

    Oracle XML Gateway Users Guide XML Oracle Applications

    xxi

  • Oracle Applications Concepts Oracle Applications 11i Oracle Applications Business IntelligenceBISSelf-Service Web Applications Oracle Applications

    Installing Oracle Applications Oracle Applications 11i Oracle Rapid Install Oracle ApplicationsOracle8 Oracle8i Oracle Rapid Install

    Upgrading Oracle Applications Oracle Applications 10.7 11.0 11i 11i 10.7NCASmartClient 11.0 10.7 11i

    Maintaining Oracle Applications AutoUpgradeAutoPatchAD AdministrationAD ControllerAD RelinkLicense Manager AD AD Oracle Applications

    Oracle Applications System Administrators Guide Oracle Applications

    Oracle Alert Users GuideOracle Applications

    xxii

  • Oracle Applications Developers Guide Oracle Applications Oracle Applications User Interface Standards for Forms-Based Products Oracle Applications Oracle Applications Object Library Oracle Forms Developer 6i Oracle Applications

    Oracle Applications Product Update Notes Oracle Applications 11.0 11i Oracle Applications 2

    Multiple Reporting Currencies in Oracle ApplicationsMultiple Reporting Currencies Oracle Workflow Oracle Workflow

    Multiple Organizations in Oracle ApplicationsOracle Workflow Oracle Applications Multiple Organization Oracle Workflow

    Oracle Applications Flexfields Guide Oracle Workflow Oracle Applications

    Oracle eTechnical Reference ManualseTechnical Reference ManualeTRM Oracle Applications Oracle Applications Oracle Oracle Applications Oracle eTRMOracleMetaLink

    xxiii

  • Oracle Applications User Interface Standards for Forms-Based Products

    Oracle Applications UIOracle Applications UI UI Oracle Forms

    Oracle Manufacturing APIs and Open Interfaces Manual Oracle Manufacturing Oracle Manufacturing API

    Oracle Order Management Suite APIs and Open Interfaces Manual Oracle Manufacturing Oracle Order Management Suite API

    Oracle Applications Message Reference Manual

    Oracle Applications 11i CD-ROM HTML

    Oracle Workflow

    Oracle University Oracle Learning Network(OLN) Oracle University

    Oracle Workflow Oracle

    xxiv

  • Oracle Applications

    Oracle Applications SQL*PlusOracle Data Browser

    Oracle SQL*Plus Oracle Oracle Applications

    Oracle Applications Oracle Applications Oracle Applications Oracle Applications Oracle Applications

    Oracle Applications Oracle Applications Oracle Applications SQL*Plus

    Oracle Applications Oracle Applications 160

    Oracle

    145

    xxv

  • xxvi

  • Oracle Workflow

    1

    Oracle Workflow

    Oracle Workflow

    Oracle Workflow Builder:

    :

    :

    :Web

    :

    1-1

  • Oracle Workflow

    Oracle Workflow

    Oracle Workflow 1-3

    ? Oracle Workflow

    Oracle Workflow

    Oracle Workflow

    Oracle Workflow Oracle PL/SQL 1-5

    Oracle Workflow Oracle Workflow Web

    Oracle Workflow 2 Oracle Workflow

    1-2 Oracle Workflow

  • Oracle Workflow

    Oracle Workflow Builder Oracle Workflow Builder Oracle Workflow Builder 1-5

    Oracle Workflow Builder PC PC

    Oracle PL/SQL API Java API

    Oracle Advanced QueuingAQ 1

    Oracle Workflow Builder

    Oracle Workflow 1-3

  • Oracle Workflow

    Oracle Workflow PL/SQL

    Oracle Workflow

    Oracle Workflow

    E-mail

    Web Web Web

    Java Web

    Oracle Applications Oracle Workflow Oracle Applications Manager Oracle Applications Manager Oracle Workflow Manager Oracle Workflow Oracle Applications Manager Oracle Applications Oracle Workflow 1 Oracle Applications Manager

    1-4 Oracle Workflow

  • Oracle9i 2 Oracle Workflow Oracle Enterprise Manager Oracle Workflow Manager Oracle Workflow Oracle Workflow Manager

    Oracle Workflow PL/SQL

    Oracle Workflow Engine API

    Oracle Workflow 1-5

  • PL/SQL

    :

    :

    1-6 Oracle Workflow

  • Oracle Workflow

    2

    Oracle Workflow

    Oracle Workflow Oracle Workflow

    2-1

  • Oracle Workflow

    Oracle Workflow Oracle Workflow

    Oracle Workflow Builder Oracle Universal Installer Oracle Net ServicesOracle8i 8.1.6 Oracle9i 19.0.1 Required Support FilesOracle8i 8.1.6 Oracle9i 19.0.1Oracle Workflow Builder IBMCompaq

    486

    66 MHz 90 MHz

    SVGA

    1 PC

    / PC Symantec Norton pcANYWHERE Microcom Carbon Copy PC /

    ISO 9660 CD-ROM

    Microsoft Windows 98Windows 2000 Windows NT

    Oracle Workflow BuilderOracle Net Services Required Support Files 60MB

    32MB 64MB

    :

    : Oracle Net Services Microsoft TCP/IP

    2-2 Oracle Workflow

  • Oracle Workflow

    Oracle Workflow Server

    Oracle8i Enterprise/Standard Edition 8.1.6 Oracle9i Enterprise/Standard Edition 19.0.1Oracle Objects JServer Options

    Oracle Workflow Server Oracle 40MB

    128MB 256MB

    Oracle8i Oracle Net Services 8.1.6 Oracle9i Oracle Net Services 19.0.1

    Oracle8i SQL*Plus 8.1 Oracle9i SQL*Plus 19.0.1

    Oracle Workflow Server Microsoft Windows NT

    ISO 9660 CD-ROM

    Microsoft Windows NT 4.0

    UNIX Sendmail Windows NT MAPI

    : Oracle8i Standard Edition Oracle8i Enterprise Edition Oracle Workflow Oracle Workflow Oracle8i Oracle8i Standard Edition Oracle Workflow

    Oracle8i Standard Edition Oracle Workflow Oracle8i Enterprise Edition

    Oracle8i Standard Edition Oracle Advanced Queuing Oracle8i Enterprise Edition

    Oracle9i Oracle9i Standard Edition Oracle Workflow Oracle9i Enterprise Edition

    Oracle Workflow 2-3

  • Oracle Workflow

    UNIXOracle Workflow

    HTML HTML JavaScript Web

    Web Oracle HTTP Server mod_plsql Oracle HTTP Server mod_plsql Oracle8i Database 8.1.7 Oracle9i Database 19.0.1 Oracle9i Application Server 1.0.1

    JavaScript Web Netscape Communicator 4.76 Microsoft Internet Explorer 5.0x 5.5x Java Development KitJDK 1.1.8 Abstract Windowing Toolkit

    AWT Web

    Java Workflow XML Loader Java Runtime EnvironmentJRE 1.1.8

    Oracle Workflow HTML

    : 2000 6 7 Microsoft Outlook E-mail Security Update Oracle Workflow MAPI MAPI Common Messaging CallsCMCOL2000: Developer Information About the Outlook E-mail Security Update

    http://support.microsoft.com/support/kb/articles/Q262/7/01.ASP Microsoft Outlook E-mail Security Update Oracle Workflow MAPI Microsoft Windows Oracle Workflow MAPI Windows XP

    Windows NT/2000 Workflow UNIX Oracle Workflow Notification Mailer UNIX Windows NT/2000

    2-4 Oracle Workflow

  • Oracle Workflow

    Oracle Internet Directory Oracle Internet Directory 29.0.2Oracle Internet Directory Oracle9iAS Single Sign-On Server 29.0.2 Oracle9iAS Portal 29.0.2Oracle HTTP Server mod_osso

    Oracle Workflow 2-5

  • Oracle Workflow

    Oracle Workflow 1. Web

    Oracle Workflow Web Workflow Web Agent 2-12 WF-2

    2. Oracle Workflow

    Oracle Workflow 2-20 WF-3 Oracle Workflow

    3. Oracle WF_LANGUAGES Oracle Workflow 2-36 WF-5 WF_LANGUAGES

    4. UNIX WF_RESOURCES 2-40 WF-7 WF_RESOURCES

    5. 2-40 WF-8

    Oracle Applications embedded Workflow 1. Web

    Oracle Workflow Web Workflow Web Agent 2-12 WF-2

    2-6 Oracle Workflow

  • 2. Socket Listener Port2-38 WF-6

    3. 2-40 WF-8

    1. WF_ITEM_ACTIVITY_STATUSESWF_ITEM_ACTIVITY_STATUSES_H

    WF_ITEM_ATTRIBUTE_VALUES WF_ITEMS 2-11 WF-1

    2. Oracle9i Database Server 2 Oracle9i Application ServerOracle9iAS 2 Oracle Workflow Workflow Oracle Internet DirectoryOIDOracle9iAS 2 OID 2-29 WF-4 Workflow Oracle Internet Directory

    3. 2-45 WF-9

    4. 2-65 WF-10

    5. Oracle Workflow Web 2-79 WF-11 Oracle Workflow Web

    : Oracle Workflow

    2-20 WF-3 Oracle Workflow

    2-36 WF-5 WF_LANGUAGES

    2-40 WF-7 WF_RESOURCES

    Oracle Workflow 2-7

  • 6. Oracle Workflow 2-80 WF-12 Oracle Workflow

    7. Oracle Workflow Java Java 2-81 WF-13 Java

    8. 2-90 WF-14

    9. Oracle8i Oracle Message Broker WF_EVENT_OMB_QH 2-94 WF-15 WF_EVENT_OMB_QH

    Oracle Workflow 2-95 Oracle Workflow

    Oracle Workflow Builder 2-101

    Workflow XML Loader XML 2-106 Workflow XML Loader

    Oracle Workflow Server Oracle Workflow Server SQL*Plus wfver.sqlOracle Workflow Server 16-17 wfver.sql

    Oracle Workflow BuilderOracle Workflow Oracle Workflow Server Oracle Workflow 2.0.3 Oracle Workflow Builder 2.6

    2-8 Oracle Workflow

  • Oracle Workflow

    Oracle Workflow 2-9

  • Oracle Workflow Oracle Workflow

    / /

    WF-1 2-11 WF-1

    WF-2 2-12 WF-2

    WF-3 2-20 WF-3 Oracle Workflow

    WF-4 2-29 WF-4 Workflow Oracle Internet Directory

    WF-5 2-36 WF-5 WF_LANGUAGES

    WF-6 2-38 WF-6

    WF-7 2-40 WF-7 WF_RESOURCES

    WF-8 2-40 WF-8

    WF-9 2-45 WF-9

    WF-10 2-65 WF-10

    WF-11 2-79 WF-11 Oracle Workflow Web

    WF-12 2-80 WF-12 Oracle Workflow

    WF-13 2-81 WF-13 Java

    WF-14 2-90 WF-14

    WF-15 2-94 WF-15 WF_EVENT_OMB_QH

    2-10 Oracle Workflow

  • WF-1 SQL DML DDL

    Oracle Applications embedded Workflow wfupartb.sqlOracle Workflow wfupart.sql

    4

    4

    2-1

    WF_ITEM_ACTIVITY_STATUSES WF_ITEM_ACTIVITY_STATUSES_PK

    WF_ITEM_ACTIVITY_STATUSES_N1

    WF_ITEM_ACTIVITY_STATUSES_N2

    WF_ITEM_ACTIVITY_STATUSES_H WF_ITEM_ACTIVITY_STATUSES_H_N1

    WF_ITEM_ACTIVITY_STATUSES_H_N2

    WF_ITEM_ATTRIBUTE_VALUES WF_ITEM_ATTRIBUTE_VALUES_PK

    WF_ITEMS WF_ITEMS_PK

    WF_ITEMS_N1

    WF_ITEMS_N2

    WF_ITEMS_N3

    Oracle Workflow 2-11

  • Oracle Workflow

    Oracle Applications embedded Workflow wfupartb.sql$FND_TOP admin/sql

    sqlplus / @wfupartb

    sqlplus apps/apps @wfupartb applsys apps apps apps

    Oracle Workflow wfupart.sql Oracle wf/admin/sql

    sqlplus / @wfupart

    sqlplus owf_mgr/owf_mgr @wfupart owf_mgr owf_mgr

    nologging DDL

    : 1

    WF-2 Web Oracle

    Workflow Web Web Web

    : Oracle Net Services TWO_TASK

    :

    C-7

    2-12 Oracle Workflow

  • Web Oracle Workflow

    : 1

    : 9-6

    1. Web Oracle Workflow

    /wfa_html.home

    Web

    /wf_pref.edit?edit_defaults=Y

    Web Oracle Workflow Web URL

    : Web LanguageTerritory

    Notification_Preference Oracle Workflow Web 2-20 WF-3 Oracle Workflow

    : Web

    Oracle Workflow 2-13

  • 2. Web

    2-14 Oracle Workflow

  • 3. Oracle Workflow Web Oracle Workflow

    Web

    *2-20 WF-3 Oracle Workflow

    Oracle Workflow 2-15

  • select textfrom wf_resourceswhere name = WF_ADMIN_ROLE;

    Oracle Workflow

    Oracle Workflow *

    Oracle Applications embedded Workflow SYSADMIN SYSADMIN

    WF_ROLES Oracle Applications

    select name, display_name from wf_roleswhere display_name like %Admin%;

    Oracle Applications

    4. Workflow Web AgentOracle HTTP Server Oracle Workflow Oracle Web URL

    :

    : SYSADMIN Oracle Applications Oracle Applications

    2-16 Oracle Workflow

  • Web Oracle HTTP Server URL

    http:///pls/

    Web TCP/IP Oracle Workflow DAD

    Oracle HTTP Server

    5. Oracle Applications embedded Workflow JInitiator IDOracle Workflow Oracle Applications 2-38 WF-6

    JInitiator ID jinit-version.txt :Program FilesOraclejinitdoc jinit-version.txt JInitiatorMetaLink Complete Guide to JInitiator for Oracles E-Business SuiteNote 162488.1Upgrading Oracle JInitiator with Oracle Applications 11i Note 124606.1

    6. Oracle Workflow Oracle Workflow 13-18

    : Oracle Workflow Web Agent URL Oracle Workflow Web

    : Oracle Applications embedded Workflow APPS_WEB_AGENT

    Oracle Workflow 2-17

  • 7.

    :

    :

    :

    :

    8. Oracle Internet DirectoryOID LDAP Lightweight Directory Access Protocol LDAP

    LDAP :LDAP

    LDAP :

    9. OID LDAP LDAP LDAP

    LDAP : LDAP LDAP

    cn=orcladmin

    LDAP :LDAP

    10. OID

    : Oracle Workflow

    : Oracle Workflow

    : Oracle Workflow

    2-18 Ora