Tib BW Palette Reference
Tib BW Palette Reference
BusinessWorks
Palette Reference
Software Release 5.9.2
May 2011
Important Information
SOME TIBCO SOFTWARE EMBEDS OR BUNDLES OTHER TIBCO SOFTWARE. USE OF SUCH EMBEDDED
OR BUNDLED TIBCO SOFTWARE IS SOLELY TO ENABLE THE FUNCTIONALITY (OR PROVIDE LIMITED
ADD-ON FUNCTIONALITY) OF THE LICENSED TIBCO SOFTWARE. THE EMBEDDED OR BUNDLED
SOFTWARE IS NOT LICENSED TO BE USED OR ACCESSED BY ANY OTHER TIBCO SOFTWARE OR FOR
ANY OTHER PURPOSE.
USE OF TIBCO SOFTWARE AND THIS DOCUMENT IS SUBJECT TO THE TERMS AND CONDITIONS OF A
LICENSE AGREEMENT FOUND IN EITHER A SEPARATELY EXECUTED SOFTWARE LICENSE
AGREEMENT, OR, IF THERE IS NO SUCH SEPARATE AGREEMENT, THE CLICKWRAP END USER
LICENSE AGREEMENT WHICH IS DISPLAYED DURING DOWNLOAD OR INSTALLATION OF THE
SOFTWARE (AND WHICH IS DUPLICATED IN LICENSE FILE) OR IF THERE IS NO SUCH SOFTWARE
LICENSE AGREEMENT OR CLICKWRAP END USER LICENSE AGREEMENT, THE LICENSE(S) LOCATED
IN THE LICENSE FILE(S) OF THE SOFTWARE. USE OF THIS DOCUMENT IS SUBJECT TO THOSE TERMS
AND CONDITIONS, AND YOUR USE HEREOF SHALL CONSTITUTE ACCEPTANCE OF AND AN
AGREEMENT TO BE BOUND BY THE SAME.
This document contains confidential information that is subject to U.S. and international copyright laws and
treaties. No part of this document may be reproduced in any form without the written authorization of TIBCO
Software Inc.
TIBCO, The Power of Now, TIBCO ActiveMatrix BusinessWorks, TIBCO Rendezvous, TIBCO Administrator,
TIBCO Enterprise Message Service, TIBCO InConcert, TIBCO Policy Manager, and TIBCO Hawk are either
registered trademarks or trademarks of TIBCO Software Inc. in the United States and/or other countries.
All other product and company names and marks mentioned in this document are the property of their
respective owners and are mentioned for identification purposes only.
THIS SOFTWARE MAY BE AVAILABLE ON MULTIPLE OPERATING SYSTEMS. HOWEVER, NOT ALL
OPERATING SYSTEM PLATFORMS FOR A SPECIFIC SOFTWARE VERSION ARE RELEASED AT THE SAME
TIME. SEE THE README FILE FOR THE AVAILABILITY OF THIS SOFTWARE VERSION ON A SPECIFIC
OPERATING SYSTEM PLATFORM.
THIS DOCUMENT IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR
IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT.
THIS DOCUMENT COULD INCLUDE TECHNICAL INACCURACIES OR TYPOGRAPHICAL ERRORS.
CHANGES ARE PERIODICALLY ADDED TO THE INFORMATION HEREIN; THESE CHANGES WILL BE
INCORPORATED IN NEW EDITIONS OF THIS DOCUMENT. TIBCO SOFTWARE INC. MAY MAKE
IMPROVEMENTS AND/OR CHANGES IN THE PRODUCT(S) AND/OR THE PROGRAM(S) DESCRIBED IN
THIS DOCUMENT AT ANY TIME.
THE CONTENTS OF THIS DOCUMENT MAY BE MODIFIED AND/OR QUALIFIED, DIRECTLY OR
INDIRECTLY, BY OTHER DOCUMENTATION WHICH ACCOMPANIES THIS SOFTWARE, INCLUDING
BUT NOT LIMITED TO ANY RELEASE NOTES AND "READ ME" FILES.
Copyright 1999-2011 TIBCO Software Inc. ALL RIGHTS RESERVED.
TIBCO Software Inc. Confidential Information
| iii
Contents
Figures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxiii
Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxv
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxvii
Changes from the Previous Release of this Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxviii
Related Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxix
TIBCO ActiveMatrix BusinessWorks Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxix
Other TIBCO Product Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxix
Typographical Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxxi
Connecting with TIBCO Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
How to Join TIBCOmmunity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
How to Access All TIBCO Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
How to Contact TIBCO Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
xxxiii
xxxiii
xxxiii
xxxiii
2
2
3
3
21
22
22
22
23
Adapter Subscriber . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
iv
| Contents
Transport . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Misc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Invoke an Adapter Request-Response Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Transport . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Error Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
29
29
30
30
32
33
Publish to Adapter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Transport . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Error Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
34
34
36
36
38
39
40
40
41
41
42
43
43
44
44
45
46
47
47
48
49
49
50
51
52
52
53
54
54
Contents v
Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
Error Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
Create File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Error Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
61
61
61
62
63
File Poller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Advanced . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Misc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
64
64
65
67
67
List Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Error Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
69
69
69
70
71
Read File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Error Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
72
72
72
73
74
Remove File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Error Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
75
75
75
75
76
Rename File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Error Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
77
77
77
78
79
80
80
82
83
83
Write File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Error Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
85
85
85
86
87
vi
| Contents
Chapter 4 FTP Palette . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
FTP Change Default Directory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Error Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
90
90
90
91
92
FTP Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Configure SSL Button . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Test Connection Button . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Available Commands Button . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
93
93
95
96
97
101
101
102
103
103
FTP Get . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Error Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
104
104
106
107
108
110
110
111
111
112
113
113
113
115
115
FTP Put . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Error Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
116
116
118
119
120
Contents vii
Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Error Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
121
121
123
123
124
124
124
126
126
127
127
127
129
129
130
130
130
131
132
135
135
135
135
Call Process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Dynamically Determining the Process to Call. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
136
136
137
138
139
Catch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
140
140
141
141
Checkpoint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Checkpoints and Transactions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Called Processes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Recovering After a Crash . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
142
142
142
143
143
143
Confirm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
viii
| Contents
Custom Activity
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
Engine Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
149
149
150
150
151
External Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Long-Running Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Error Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
164
164
164
166
168
169
Generate Error . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
170
171
171
172
174
174
175
175
JNDI Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Test Configuration Button. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Advanced . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
IBM WebSphere and JNDI Context Caching . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
176
176
177
177
178
179
179
179
179
Label . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 181
Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 181
Lock Object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183
Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183
Mapper . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Input Editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
184
184
184
184
Notify . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185
Contents ix
Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185
Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185
Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 186
Notify Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187
Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187
Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187
Null . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188
On Event Timeout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 189
Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 189
Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190
On Notification Timeout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 191
Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 191
Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 192
On Shutdown . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193
Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193
On Startup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 194
Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 194
Receive Notification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Misc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
195
195
196
197
Rethrow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
198
198
198
198
199
199
199
200
Shared Variable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Schema . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Initial Value . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
201
201
202
202
Sleep . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 204
Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 204
Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 204
Timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Misc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
205
205
206
207
Wait . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208
Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208
TIBCO ActiveMatrix BusinessWorks Palette Reference
| Contents
Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208
Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209
Write To Log . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Custom Properties for the Write To Log Activity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
210
210
211
211
211
OnError . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Misc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
213
213
214
214
216
217
219
220
223
HTTP Receiver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Advanced . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Misc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Special Characters in HTTP Requests . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Output Headers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
225
225
228
229
229
230
231
237
237
239
240
242
243
245
249
251
254
255
255
256
257
260
Contents xi
261
261
263
264
265
266
268
274
274
275
277
278
279
279
279
286
286
287
288
290
291
292
292
293
297
297
299
301
302
303
303
xii
| Contents
Java Schema . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 305
Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 305
Schema Text . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 306
Java To XML . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Advanced . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Error Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
307
307
308
309
309
310
XML To Java . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Error Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
311
311
312
312
313
316
316
318
319
320
322
JDBC Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Database Drivers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Connection Pooling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Test Connection Button . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
323
323
327
328
329
330
330
331
331
333
333
JDBC Query . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Fetch Button. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Prepared Parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Advanced . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Fetching Subsets of the Result Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Error Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
335
335
336
336
338
340
341
342
343
Contents xiii
Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Prepared Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Advanced . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Error Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
345
346
347
348
349
350
357
357
358
358
359
362
371
371
374
374
375
375
376
378
378
382
383
384
391
391
394
395
396
397
397
xiv
| Contents
Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Advanced . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Input Editor/Output Editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Error Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
398
400
401
401
403
403
405
405
407
408
408
410
410
411
411
412
414
414
416
416
417
417
419
420
420
422
423
424
424
428
429
429
429
431
431
433
434
434
436
436
Contents xv
Message Event . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Output Editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Error Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
441
442
442
442
443
444
444
447
448
449
450
450
451
453
453
454
455
456
457
457
Send Mail . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Advanced . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Input Headers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Error Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
461
461
462
463
463
467
468
470
471
473
474
474
Parse Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Error Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Parsing a Large Number of Records . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
476
476
478
479
480
480
xvi
| Contents
Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Error Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
482
482
483
483
486
486
487
489
491
492
493
493
494
495
508
508
509
509
510
510
Rendezvous Subscriber . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Misc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Output Editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
511
511
513
514
514
Rendezvous Transport . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Configure SSL Button . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Advanced . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
515
515
516
517
Contents xvii
520
520
520
520
521
522
522
524
524
525
526
527
527
529
530
530
530
531
536
536
536
537
RMI Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Misc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Output Editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
538
538
539
539
539
xviii Contents
Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 544
Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 545
Error Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 545
Partner Link Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 546
Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 546
Advanced SOAP Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 551
Receive Partner Notification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Misc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Error Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
556
556
557
557
557
Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Advanced SOAP Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Partner Binding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
WSDL Source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
559
560
566
578
579
580
Set Context . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
581
581
581
582
586
586
588
588
590
590
591
593
593
593
595
598
599
604
605
605
616
Contents xix
Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Reload Button . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Test Transport Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Transport Details. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Configure SSL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Messages With Attachments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Advanced . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Error Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
617
618
618
618
624
625
626
627
631
633
634
634
635
636
636
637
637
637
638
638
638
643
643
643
644
644
644
647
647
648
649
650
650
650
650
xx
| Contents
TCP Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 651
Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 651
Advanced . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 652
TCP Open Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
653
653
653
654
TCP Receiver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Misc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
655
655
655
656
657
657
657
658
658
659
659
660
660
665
665
665
666
666
670
670
671
673
674
Message . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 678
Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 678
Toolbar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 679
Contents xxi
681
681
681
681
Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Toolbar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Editing Operation Components. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
682
682
684
684
686
686
686
687
688
689
689
Render XML . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Rendering Date and Datetime Strings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Advanced . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Input Editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Error Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
690
690
690
691
691
691
692
693
Transform XML . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Error Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Example of Transforming XML . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
694
694
695
696
697
697
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 709
xxii
| Contents
| xxiii
Figures
Figure 1
Figure 2
Figure 3
Figure 4
Figure 5
Figure 6
Figure 7
Figure 8
Figure 9
Figure 10
Figure 11
Figure 12
Selecting a method in a class from the Choose a Class and Method dialog . . . . . . . . . . . . . . . . . 271
Figure 13
Figure 14
Figure 15
Figure 16
Figure 17
Different Java Method activities in the same process do not share the class . . . . . . . . . . . . . . . . 302
Figure 18
Figure 19
Figure 20
Figure 21
Figure 22
Figure 23
Figure 24
Figure 25
Figure 26
Figure 27
Figure 28
xxiv Figures
Figure 29
Figure 30
Figure 31
| xxv
Tables
Table 1
Table 2
Table 3
Table 4
Table 5
Table 6
Table 7
Table 8
Table 9
Table 10
Table 11
Table 12
Table 13
xxvi Tables
| xxvii
Preface
Topics
Preface xxix
Related Documentation
This section lists documentation resources you may find useful.
TIBCO ActiveMatrix BusinessWorks Release Notes Read the release notes for a
list of new and changed features. This document also contains lists of known
issues and closed issues for this release.
xxx
| Related Documentation
Third-Party Documentation
Preface xxxi
Typographical Conventions
The following typographical conventions are used in this manual.
Table 1 General Typographical Conventions
Convention
Use
TIBCO_HOME
Many TIBCO products must be installed within the same home directory. This
directory is referenced in documentation as TIBCO_HOME. The value of
TIBCO_HOME depends on the operating system. For example, on Windows
systems, the default value is C:\tibco.
ENV_HOME
BW_HOME
code font
bold code
font
In large code samples, to indicate the parts of the sample that are of
particular interest.
Use
italic font
Key
combinations
To introduce new terms For example: A portal page may contain several
portlets. Portlets are mini-applications that run in a portal.
Key name separated by a plus sign indicate keys pressed simultaneously. For
example: Ctrl+C.
Key names separated by a comma and space indicate keys pressed one after the
other. For example: Esc, Ctrl+Q.
The note icon indicates information that is of special interest or importance, for
example, an additional action required only in certain circumstances.
The tip icon indicates an idea that could be useful, for example, a way to apply
the information provided in the current section to achieve a specific result.
The warning icon indicates the potential for a damaging situation, for example,
data loss or corruption if certain steps are taken or not taken.
Preface xxxiii
If you already have a valid maintenance or support contract, visit this site:
https://support.tibco.com
Entry to this site requires a user name and password. If you do not have a user
name, you can request one.
|1
Chapter 1
Process Palette
Topics
| Chapter 1
Process Palette
Process Definition
Resource
Configuration
The Configuration tab has the following fields.
Field
Description
Name
Description
You can choose your own custom icon for the process,
if desired. Use the Browse button to locate an image
file (GIF, JPEG, and so on) to use as the icon for this
process.
Namespace Registry
Process Definition 3
Field
Description
Target Namespace
Process Variables
The Process Variables tab allows you to specify user-defined process variables for
the process definition. See the Processes chapter of TIBCO ActiveMatrix
BusinessWorks Process Design Guide for a complete description of user-defined
process variables.
You can assign a value to the process variables with the Assign activity. See
Assign on page 135 for more information about assigning a value to a
user-defined process variable.
This tab contains two panels:
The left panel allows you to add, delete, and rename process variables.
The right panel allows you to define data schemas for the process variable
selected in the left panel. See Appendix A, Specifying Data Schema, on
page 701 for more information about specifying data schema.
Partners
The Partners tab allows you to define partners for the process definition. The
partner can be either located inside the same project or it can be an external
service that can be invoked over the Internet by way of SOAP protocol.
| Chapter 1
Process Palette
Description
Partners
Port Type
|5
Chapter 2
Topics
| Chapter 2
Internationalization Support
TIBCO ActiveMatrix BusinessWorks and TIBCO Adapter products can send text
messages that are encoded using either the Latin-1 or UTF-8 character encoding.
Both the sender and receiver of the message must use the same encoding. The
character encoding sent by resources configured in TIBCO Designer is set at the
project level during design time. For deployed projects, TIBCO Administrator
allows you to set the message encoding.
At design time, the message encoding property can be set when creating a new
project. In the Save Project dialog, choose either ISO8859-1 or UTF-8 in the TIBCO
Messaging Encoding option list. See TIBCO ActiveMatrix BusinessWorks Process
Design Guide for more information about saving projects. After the messaging
encoding is chosen, it will take effect at design time, such as in debug mode, or if
the project is running in a standalone mode before deployment.
After the project is deployed, the messaging encoding is determined by the
encoding property of the TIBCO Administrator domain. This property is set when
the domain is created. ISO8859-1 and UTF-8 are the two supported character
encoding options. The messaging encoding set for the domain overrides any
encoding set for a project.
| Chapter 2
Transport Tab
Transports specify the underlying communication characteristics for messages
sent and received by adapter services. Normally, the activities of the
ActiveEnterprise Adapter palette use the same transport configuration as the
adapter service with which they are communicating. However, in some
situations, you may wish to override the transport configuration of the adapter
service and use different transport parameters.
The Transport tab is available in activities in the ActiveEnterprise Adapter palette.
This tab allows you to override the transport configuration of the adapter service.
The Transport tab has different fields depending upon which transport is selected
in the Transport Type field. Table 2 describes the fields of the transport tab.
Table 2 The Transport tab
Field
Global
Var?
Transport Type
No
Description
The transport on which the incoming request
will be received. This is normally the transport
used by the adapter service, but you can
override this by specifying different transport
parameters. The possible values for this field
are:
Tibrv Reliable
Tibrv Certified
JMS Topic
JMS Queue
Yes
Global
Var?
Service
Yes
Network
Yes
Daemon
Yes
SSL
No
Message Format
Yes
Description
Adapter Subscriber
Publish to Adapter
Yes
Service
Yes
Network
Yes
Daemon
Yes
10
| Chapter 2
Global
Var?
SSL
No
CM Name
Yes
PreRegister
Listeners
Yes
Description
Yes
Ledger File
Yes
Sync Ledger
Yes
Yes
Require Old
Messages
Yes
Global
Var?
Message Format
Yes
Description
Specifies the message format for the message.
This can be either AERV or XML. This field is
only available on the Transport tab of the
following activities:
Adapter Subscriber
Publish to Adapter
Yes
Service
Yes
Network
Yes
Daemon
Yes
SSL
No
CMQ Name
Yes
Complete Time
Yes
Scheduler Weight
Yes
Scheduler
Heartbeat
Yes
12
| Chapter 2
Global
Var?
Description
Scheduler
Activation
Yes
Worker Weight
Yes
Worker Tasks
Yes
Message Format
Yes
Adapter Subscriber
Yes
Auto Confirm
No
Global
Var?
Transactional
No
Description
This field is only available for activities that
receive messages (for example, Adapter
Subscriber).
Check this field when a transaction that can
process JMS messages is included in the
process definition and you want the incoming
message to be a part of the transaction. Any
reply or exception message associated with the
incoming message is also part of the
transaction.
The message is acknowledged when the
transaction commits. Checking this field
disables the Auto Confirm field.
See TIBCO ActiveMatrix BusinessWorks Process
Design Guide for more information about
creating transactions.
Override
Transaction
No
14
| Chapter 2
Global
Var?
Durable
No
Description
Specifies whether the client making the request
is a durable subscriber. The durable
subscription name is a concatenation of the
process definition name and the name of the
activity.
This field is only available on the Transport tab
of the following activities:
Adapter Subscriber
Durable Name
No
Delivery Mode
No
Time To Live
Yes
JNDI Lookups
No
Global
Var?
SSL
No
Topic Connection
Factory Name
Yes
Connection User
Name
Yes
Password
Yes
Provider URL
Yes
JMS Application
Properties
No
Description
Yes
Precreate
Transactions
Yes
XA Transaction
Manager
Yes
16
| Chapter 2
Global
Var?
Description
Yes
Delivery Mode
No
Time To Live
Yes
Transactional
No
Global
Var?
No
Description
This field is only available for activities that
publish messages (such as Publish to Adapter
or Invoke an Adapter Request-Response
Service).
By default, ActiveEnterprise Adapter activities
that are included in the appropriate transaction
group are included in the transaction. Check
this field if you wish to exclude the activity
from the transaction.
JNDI Lookups
No
SSL
No
Queue Connection
Factory Name
Yes
Connection User
Name
Yes
Password
Yes
Provider URL
Yes
JMS Application
Properties
No
18
| Chapter 2
Global
Var?
Transacted Session
No
Precreate
Transactions
Yes
XA Transaction
Manager
Reference
Yes
Description
Description
Trusted Certificates
Folder
(JMS Transports)
Field
Description
Daemon Certificate
(TIBCO Rendezvous
transports)
Advanced
The Advanced tab of the SSL Configuration dialog allows you to specify more
advanced SSL configuration parameters for the connection. The Advanced tab is
available only for JMS transports.
Field
Description
Trace
20
| Chapter 2
Field
Description
Debug Trace
Adapter
RequestResponse
Invocation
Service
Request
Business Process
Adapter
RequestResponse
Server
22
| Chapter 2
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Name
No
Description
No
Adapter Service
No
Description
No
Transport
See Transport Tab on page 8 for more information about the Transport tab.
Misc
The Misc tab contains the following fields:
Field
Description
Sequencing Key
Field
Description
Custom Id
Output
The output for the activity is the following.
Output Item
Datatype
Description
subject
string
replySubject
string
certifiedSequenceNumber
string
certifiedSender
string
trackingInfo
complex
MessageID
string
24
| Chapter 2
Output Item
Datatype
Description
JMSHeaders
complex
OtherProperties
complex
body
complex
Adapter Subscriber 25
Adapter Subscriber
Process Starter
Adapter
Publishing
Service
Publish
Business Process
Adapter
Subscriber
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Name
No
Description
The name to appear as the label for the activity
in the process definition.
26
| Chapter 2
Field
Global
Var?
Description
Description
No
Adapter Service
No
Custom
AESchema
No
Custom
AESchema
Reference
No
Transport
See Transport Tab on page 8 for more information about the Transport tab.
Misc
The Misc tab contains the following fields:
Field
Description
Sequencing Key
Adapter Subscriber 27
Field
Description
Custom Id
Output
The output for the activity is the following.
Output Item
Datatype
Description
subject
string
replySubject
string
certifiedSequenceNumber
string
certifiedSender
string
trackingInfo
complex
MessageID
string
28
| Chapter 2
Output Item
Datatype
Description
JMSHeaders
complex
OtherProperties
complex
body
complex
Adapter
RequestResponse
Service
Request
Business Process
Invoke an Adapter
Request-Response
Service
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Name
No
Description
The name to appear as the label for the activity in
the process definition.
30
| Chapter 2
Field
Global
Var?
Description
Description
No
Adapter
Service
No
Operation
No
One Way
No
Transport
See Transport Tab on page 8 for more information about the Transport tab.
Input
See TIBCO ActiveMatrix BusinessWorks Process Design Guide for more information
about mapping and transforming input data.
The input for the activity is the following.
Input Item
Datatype
Description
subject
string
Input Item
Datatype
Description
requestTimeout
integer
replySubject
string
businessKey
string
OtherProperties
complex
body
complex
32
| Chapter 2
Output
The output for the activity is the following.
Output Item
Datatype
Description
replyDestination
string
trackingInfo
string
JMSHeaders
complex
OtherProperties
complex
Output Item
Datatype
Description
body
complex
Error Output
The Error Output tab lists the possible exceptions that can be thrown by this
activity. See TIBCO ActiveMatrix BusinessWorks Error Codes for more information
about error codes and corrective action to take.
Exception
Thrown When...
TransportException
SerializationException
DeserializationException
ConfirmationException
TimeoutException
A timeout occurred.
operationException
34
| Chapter 2
Publish to Adapter
Activity
Adapter
Subscription
Service
Publish
Business Process
Publish to
Adapter
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Name
No
Description
No
Description
Publish to Adapter 35
Field
Global
Var?
Description
Adapter Service
No
RequestReply
No
Request AE
Schema
No
Reply AE
Schema
No
Custom
AESchema
No
Custom
AESchema
Reference
No
36
| Chapter 2
Transport
See Transport Tab on page 8 for more information about the Transport tab.
Input
See TIBCO ActiveMatrix BusinessWorks Process Design Guide for more information
about mapping and transforming input data.
The input for the activity is the following.
Input Item
Datatype
Description
subject
string
requestTimeout
integer
preRegisterListener
string
replySubject
string
Publish to Adapter 37
Input Item
Datatype
Description
businessKey
string
complex
body
complex
38
| Chapter 2
Output
This activity only produces output when the RequestReply field on the
Configuration tab is checked. The output for the activity is the following.
Output Item
Datatype
Description
replyDestination
string
trackingInfo
string
MessageID
string
JMSHeaders
complex
Publish to Adapter 39
Output Item
Datatype
Description
OtherProperties
complex
body
complex
Error Output
The Error Output tab lists the possible exceptions that can be thrown by this
activity. See TIBCO ActiveMatrix BusinessWorks Error Codes for more information
about error codes and corrective action to take.
Exception
Thrown When...
TransportException
SerializationException
TimeoutException
40
| Chapter 2
Adapter
RequestResponse
Invocation
Service
Reply
Business Process
Respond to Adapter
Request
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Name
No
Description
No
Description
Field
Global
Var?
Description
Reply For
No
Input
See TIBCO ActiveMatrix BusinessWorks Process Design Guide for more information
about mapping and transforming input data.
The input for the activity is the following.
Input Item
Datatype
Description
businessKey
string
complex
Output
This activity produces no output.
42
| Chapter 2
Error Output
The Error Output tab lists the possible exceptions that can be thrown by this
activity. See TIBCO ActiveMatrix BusinessWorks Error Codes for more information
about error codes and corrective action to take.
Exception
Thrown When...
TransportException
SerializationException
ReplyException
Adapter
RequestResponse
Invocation
Service
Reply
Business Process
Send Exception to
Adapter Request
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Name
No
Description
No
Description
44
| Chapter 2
Field
Global
Var?
Description
Send
Exception To
No
Input
See TIBCO ActiveMatrix BusinessWorks Process Design Guide for more information
about mapping and transforming input data.
The input for the activity is the following.
Input Item
Datatype
Description
businessKey
string
complex
Output
This activity produces no output.
Error Output
The Error Output tab lists the possible exceptions that can be thrown by this
activity. See TIBCO ActiveMatrix BusinessWorks Error Codes for more information
about error codes and corrective action to take.
Exception
Thrown When...
TransportException
SerializationException
ReplyException
46
| Chapter 2
Waits for the receipt of a message from the publication service of the
specified adapter.
Publication services are configured during adapter configuration,
and the activity uses the information in the adapter configuration to
fill in most of the fields of this activity. See your adapter
documentation for more information about creating adapter configurations and
creating adapter publication services.
See Scalability With Incoming Events on page 226 in TIBCO ActiveMatrix
BusinessWorks Process Design Guide for information on running the "Wait for..."
activities in a multi-engine mode.
Figure 7 illustrates an adapter publishing service publishing a message and the
Wait for Adapter Message activity receiving the message in a business process.
Figure 7 A Publish to Adapter activity sending a message
Application
Adapter
Publishing
Service
Publish
Business Process
Wait for
Adapter
Message
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Name
No
Description
No
Adapter
Service
No
Description
No
Custom
AESchema
Reference
No
Transport
See Transport Tab on page 8 for more information about the Transport tab.
48
| Chapter 2
Event
The Event tab has the following fields.
Field
Description
When building an expression in the Candidate Event Key field, only data from
the incoming event is available. This is because you want to place an expression
containing incoming event data in the Candidate Event Key field. When the
results of this expression match the results of the expression in the "key" item on
the Input tab, the Wait For Adapter Message activity proceeds.
Input
See TIBCO ActiveMatrix BusinessWorks Process Design Guide for more information
about mapping and transforming input data.
The input for the activity is the following.
Input Item
Datatype
Description
key
string
processTimeout
integer
Output
The output for the activity is the following.
Output Item
Datatype
Description
subject
string
replySubject
string
certifiedSequenceNumber
string
certifiedSender
string
50
| Chapter 2
Output Item
Datatype
Description
trackingInfo
complex
body
complex
Error Output
The Error Output tab lists the possible exceptions that can be thrown by this
activity. See TIBCO ActiveMatrix BusinessWorks Error Codes for more information
about error codes and corrective action to take.
Exception
Thrown When...
ActivityTimedOutException
TransportException
DeserializationException
ConfirmationException
Adapter
RequestResponse
Invocation
Service
Request
Business Process
Wait for
Adapter
Request
52
| Chapter 2
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Name
No
Description
No
Adapter Service
No
Description
No
Transport
See Transport Tab on page 8 for more information about the Transport tab.
Event
The Event tab has the following fields.
Field
Description
54
| Chapter 2
When building an expression in the Candidate Event Key field, only data from
the incoming event is available. This is because you want to place an expression
containing incoming event data in the Candidate Event Key field. When the
results of this expression match the results of the expression in the "key" item on
the Input tab, the Wait For Adapter Request activity proceeds.
Input
See TIBCO ActiveMatrix BusinessWorks Process Design Guide for more information
about mapping and transforming input data.
The input for the activity is the following.
Input Item
Datatype
Description
key
string
processTimeout
integer
Output
The output for the activity is the following.
Output Item
Datatype
Description
subject
string
certifiedSequenceNumber
string
Output Item
Datatype
Description
certifiedSender
string
trackingInfo
complex
MessageID
string
JMSHeaders
complex
OtherProperties
complex
body
complex
56
| Chapter 2
| 57
Chapter 3
File Palette
The File palette is used to read, write, delete, or create files. This palette also has a
process starter that allows you to poll for files and start a process based on the
presence of a file.
Topics
58
| Chapter 3
File Palette
Copy File
Activity
The Copy File activity allows you to copy files and directories to a new
location.
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Name
No
Description
No
Overwrite
No
Description
No
Include
Sub-Directories
No
Input
See TIBCO ActiveMatrix BusinessWorks Process Design Guide for more information
about mapping and transforming input data.
Copy File 59
Datatype
Description
fromFileName
string
toFileName
string
Output
This activity produces no output.
Error Output
The Error Output tab lists the possible exceptions that can be thrown by this
activity. See TIBCO ActiveMatrix BusinessWorks Error Codes for more information
about error codes and corrective action to take.
Exception
Thrown When...
FileNotFoundException
IllegalCopyException
FileAlreadyExistsException
60
| Chapter 3
File Palette
Exception
Thrown When...
FileIOException
Create File 61
Create File
Activity
The Create File activity creates a new file or directory with the specified
name. When creating a file, you can also provide the file contents.
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Name
No
Description
No
Overwrite
No
Description
No
Create
Non-Existing
Directories
No
Input
See TIBCO ActiveMatrix BusinessWorks Process Design Guide for more information
about mapping and transforming input data.
62
| Chapter 3
File Palette
Datatype
Description
fileName
string
Output
The output for the activity is the following.
Output Item
Datatype
Description
fileInfo
complex
fullName
string
fileName
string
location
string
configuredFileName
string
type
string
readProtected
boolean
writeProtected
boolean
size
integer
lastModified
string
Create File 63
Error Output
The Error Output tab lists the possible exceptions that can be thrown by this
activity. See TIBCO ActiveMatrix BusinessWorks Error Codes for more information
about error codes and corrective action to take.
Exception
Thrown When...
FileAlreadyExistsException
FileIOException
64
| Chapter 3
File Palette
File Poller
Process Starter
The File Poller process starter polls for files or directories with the given
name and starts a process when the specified change (creation,
modification, deletion) is detected.
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Name
No
Description
No
File Name
Yes
Description
Yes
Include
Existing Files
No
File Poller 65
Field
Global
Var?
Description
Exclude File
Content
No
Content as
Yes
Encoding
Yes
Advanced
The Advanced tab has the following fields.
Field
Global
Var?
Description
No
No
No
Include
Sub-Directories
No
66
| Chapter 3
File Palette
Field
Global
Var?
Description
Mode
No
Sort By
No
Sort Order
No
File Poller 67
Misc
The Misc tab contains the following fields:
Field
Description
Sequencing Key
Custom Id
Output
The output for the activity is the following.
Output Item
Datatype
Description
action
string
timeOccured
integer
fileInfo
complex
fullName
string
68
| Chapter 3
File Palette
Output Item
Datatype
Description
fileName
string
location
string
configuredFileName
string
type
string
readProtected
boolean
writeProtected
boolean
size
integer
lastModified
string
fileContent
complex
textContent
string
binaryContent
binary
encoding
string
List Files 69
List Files
Activity
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Name
No
Description
No
Mode
No
Description
directories-only
files-only
files-and-directories
Input
The input for the activity is the following.
Input Item
Datatype
Description
fileName
string
70
| Chapter 3
File Palette
Output
The output for the activity is the following.
Output Item
Datatype
Description
fileInfo
complex
fullName
string
fileName
string
configuredFileName
string
location
string
type
string
readProtected
boolean
writeProtected
boolean
size
integer
lastModified
string
List Files 71
Error Output
The Error Output tab lists the possible exceptions that can be thrown by this
activity. See TIBCO ActiveMatrix BusinessWorks Error Codes for more information
about error codes and corrective action to take.
Exception
Thrown When...
FileNotFoundException
72
| Chapter 3
File Palette
Read File
Activity
The Read File activity is used to read a file and place its contents into
the activitys output.
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Name
No
Description
No
Exclude File
Content
No
Specifies not to load the data from the file into this
activitys output. If this field is checked, the
contents of the file are not available to subsequent
activities in the process definition.
Read as
Yes
Description
Input
See TIBCO ActiveMatrix BusinessWorks Process Design Guide for more information
about mapping and transforming input data.
The input for the activity is the following.
Input Item
Datatype
Description
fileName
string
Read File 73
Input Item
Datatype
Description
encoding
string
Output
The output for the activity is the following.
Output Item
Datatype
Description
fileInfo
complex
fullName
string
fileName
string
location
string
configuredFileName
string
type
string
readProtected
boolean
writeProtected
boolean
size
integer
lastModified
string
fileContent
complex
74
| Chapter 3
File Palette
Output Item
Datatype
Description
textContent
string
binaryContent
binary
encoding
string
Error Output
The Error Output tab lists the possible exceptions that can be thrown by this
activity. See TIBCO ActiveMatrix BusinessWorks Error Codes for more information
about error codes and corrective action to take.
Exception
Thrown When...
FileNotFoundException
UnsupportedEncodingException
FileIOException
Remove File 75
Remove File
Activity
The Remove File activity removes the specified file. This activity can
also remove empty directories. If a directory that is not empty is
specified, an exception is thrown.
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Name
No
Description
No
Description
Input
See TIBCO ActiveMatrix BusinessWorks Process Design Guide for more information
about mapping and transforming input data.
The input for the activity is the following.
Input Item
Datatype
Description
fileName
string
Output
The output for the activity is the following.
Output Item
Datatype
Description
fileInfo
complex
fullName
string
76
| Chapter 3
File Palette
Output Item
Datatype
Description
fileName
string
location
string
configuredFileName
string
type
string
readProtected
boolean
writeProtected
boolean
size
integer
lastModified
string
Error Output
The Error Output tab lists the possible exceptions that can be thrown by this
activity. See TIBCO ActiveMatrix BusinessWorks Error Codes for more information
about error codes and corrective action to take.
Exception
Thrown When...
FileNotFoundException
FileIOException
Rename File 77
Rename File
Activity
The Rename File activity is used to rename or move files. This activity
can also rename directories, but you cannot use this activity to move a
directory to a new location.
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Name
No
Description
No
Overwrite
Yes
Description
Yes
Input
See TIBCO ActiveMatrix BusinessWorks Process Design Guide for more information
about mapping and transforming input data.
78
| Chapter 3
File Palette
Datatype
Description
fromFileName
string
toFileName
string
Output
The output for the activity is the following.
Output Item
Datatype
Description
fileInfo
complex
fullName
string
fileName
string
location
string
configuredFileName
string
type
string
readProtected
boolean
Rename File 79
Output Item
Datatype
Description
writeProtected
boolean
size
integer
lastModified
string
Error Output
The Error Output tab lists the possible exceptions that can be thrown by this
activity. See TIBCO ActiveMatrix BusinessWorks Error Codes for more information
about error codes and corrective action to take.
Exception
Thrown When...
FileNotFoundException
IllegalRenameException
FileAlreadyExistsException
FileIOException
80
| Chapter 3
File Palette
The Wait for File Change activity waits for a file creation, modification,
or deletion event to occur during process execution. When this activity
is executed, the process instance suspends and waits for the specified
change to occur before resuming.
See Scalability With Incoming Events on page 226 in TIBCO
ActiveMatrix BusinessWorks Process Design Guide for information on running the
"Wait for..." activities in a multi-engine mode.
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Name
No
Description
No
File Name
Yes
The path and name of the file to poll for. You can
use the Browse button to locate an existing file.
Description
Yes
Field
Global
Var?
Description
Include Existing
Files
Yes
Exclude File
Content
Yes
Content as
Yes
Encoding
Yes
82
| Chapter 3
File Palette
Event
The Event tab has the following fields.
Field
Description
Candidate
Event Key
Event Timeout
(msec)
When building an expression in the Candidate Event Key field, only data from
the incoming event is available. This is because you want to place an expression
containing incoming event data in the Candidate Event Key field. When the
results of this expression match the results of the expression in the "key" item on
the Input tab, the Wait For File Change activity proceeds.
Input
See TIBCO ActiveMatrix BusinessWorks Process Design Guide for more information
about mapping and transforming input data.
The input for the activity is the following.
Input Item
Datatype
Description
key
string
processTimeout
integer
Output
The output for the activity is the following.
Output Item
Datatype
Description
action
string
timeOccured
integer
fileInfo
complex
fullName
string
84
| Chapter 3
File Palette
Output Item
Datatype
Description
fileName
string
location
string
configuredFileName
string
type
string
readProtected
boolean
writeProtected
boolean
size
integer
lastModified
string
fileContent
complex
textContent
string
binaryContent
binary
encoding
string
Write File 85
Write File
Activity
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Name
No
Description
No
Append
Yes
Write as
Yes
Create
Non-Existing
Directories
Yes
Compress
No
Description
Input
See TIBCO ActiveMatrix BusinessWorks Process Design Guide for more information
about mapping and transforming input data.
TIBCO ActiveMatrix BusinessWorks Palette Reference
86
| Chapter 3
File Palette
Datatype
Description
fileName
string
textContent
string
binaryContent
binary
addLineSeparator
boolean
encoding
string
Output
The output for the activity is the following.
Output Item
Datatype
Description
fileInfo
complex
fullName
string
fileName
string
location
string
Write File 87
Output Item
Datatype
Description
configuredFileName
string
type
string
readProtected
boolean
writeProtected
boolean
size
integer
lastModified
string
Error Output
The Error Output tab lists the possible exceptions that can be thrown by this
activity. See TIBCO ActiveMatrix BusinessWorks Error Codes for more information
about error codes and corrective action to take.
Exception
Thrown When...
FileNotFoundException
UnsupportedEncodingException
FileIOException
88
| Chapter 3
File Palette
| 89
Chapter 4
FTP Palette
Topics
90
| Chapter 4
FTP Palette
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Name
No
Description
No
FTP Connection
No
Quit
(post-command)
No
Description
Input
See TIBCO ActiveMatrix BusinessWorks Process Design Guide for more information
about mapping and transforming input data.
Datatype
Description
Host
string
Port
integer
UserName
string
Password
string
NewDefaultDir
string
Timeout
integer
Output
This activity produces no output.
92
| Chapter 4
FTP Palette
Error Output
The Error Output tab lists the possible exceptions that can be thrown by this
activity. See TIBCO ActiveMatrix BusinessWorks Error Codes for more information
about error codes and corrective action to take.
Exception
Thrown When...
ConnectionErrorException
CommandExecutionException
FTP Connection 93
FTP Connection
Shared Configuration
Configuration
The Configuration tab has the following fields.
Field
Description
Name
Description
SSL
Host
Port
User Name
Password
Mode
94
| Chapter 4
FTP Palette
Field
Description
Connection Timeout
(msec)
Firewall
Proxy Host
FTP Connection 95
Field
Description
Proxy Port
Proxy Password
Description
Trusted Certificates
Folder
Identity
96
| Chapter 4
FTP Palette
Field
Description
FTP Connection 97
98
| Chapter 4
FTP Palette
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Name
No
Description
No
FTP Connection
No
Quit (post-command)
No
Description
Input
See TIBCO ActiveMatrix BusinessWorks Process Design Guide for more information
about mapping and transforming input data.
Datatype
Description
Host
string
Port
integer
UserName
string
Password
string
RemoteDirectory
string
RemoteFilename
string
100
| Chapter 4
FTP Palette
Input Item
Datatype
Description
Timeout
integer
Output
This activity produces no output.
Error Output
The Error Output tab lists the possible exceptions that can be thrown by this
activity. See TIBCO ActiveMatrix BusinessWorks Error Codes for more information
about error codes and corrective action to take.
Exception
Thrown When...
ConnectionErrorException
CommandExecutionException
FTP DIR
Activity
The FTP DIR activity provides a listing of files in the specified directory of
the FTP server.
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Name
No
Description
No
FTP Connection
No
Quit
(post-command)
No
Description
Yes
102
| Chapter 4
FTP Palette
Input
See TIBCO ActiveMatrix BusinessWorks Process Design Guide for more information
about mapping and transforming input data.
The input for the activity is the following.
Input Item
Datatype
Description
Host
string
Port
integer
UserName
string
Password
string
DirParameters
string
Directory
string
Timeout
integer
Output
The output for the activity is the following.
Output Item
Datatype
Description
ItemCount
integer
DirectoryItems
string
Error Output
The Error Output tab lists the possible exceptions that can be thrown by this
activity. See TIBCO ActiveMatrix BusinessWorks Error Codes for more information
about error codes and corrective action to take.
Exception
Thrown When...
ConnectionErrorException
CommandExecutionException
104
| Chapter 4
FTP Palette
FTP Get
Activity
The FTP Get activity issues an FTP get or mget command to the
specified server. Tthe content of the remote files can be placed in the
activitys output or written directly to local storage. If you choose to
place the contents of a remote file into the activitys output, you can only
retrieve one remote file (FTP get command) and the files content will be stored in
memory as part of the activitys output. If you choose to write the contents of the
retrieved files to local storage, you can retrieve one or more files (FTP get or mget
commands).
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Name
No
Description
No
FTP Connection
No
Quit
(post-command)
No
Description
Field
Global
Var?
Description
Yes
Binary
Yes
Overwrite
Existing File
Yes
Maintain 2.0
Compatibility
No
106
| Chapter 4
FTP Palette
Input
See TIBCO ActiveMatrix BusinessWorks Process Design Guide for more information
about mapping and transforming input data.
The input for the activity is the following.
Input Item
Datatype
Description
RemoteFilename
string
LocalFileName
string
Host
string
Port
integer
UserName
string
Input Item
Datatype
Description
Password
string
Encoding
string
Timeout
integer
Output
The output for the activity is the following.
Output Item
Datatype
Description
Data
string
108
| Chapter 4
FTP Palette
Output Item
Datatype
Description
FilesTransferred
complex
Name
integer
NumOfBytes
integer
Success
boolean
Errormsg
string
Error Output
The Error Output tab lists the possible exceptions that can be thrown by this
activity. See TIBCO ActiveMatrix BusinessWorks Error Codes for more information
about error codes and corrective action to take.
Exception
Thrown When...
GetFilesException
ConnectionErrorException
Exception
Thrown When...
CommandExecutionException
ConnectionTimeoutException
110
| Chapter 4
FTP Palette
The FTP Get Default Directory activity retrieves the name of the
current remote directory. The default remote directory is operating
system-dependent and determined by the remote FTP server. On
UNIX systems, the default remote directory is usually the home
directory of the user account that is used to establish an FTP
connection.
The current remote directory may be different from the default directory, because
you can use the FTP Change Default Directory or FTP Quote activities to issue an
FTP command to change to a different directory. This activity returns the
currently set remote directory.
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Name
No
Description
No
FTP Connection
No
Quit
(post-command)
No
Description
Input
See TIBCO ActiveMatrix BusinessWorks Process Design Guide for more information
about mapping and transforming input data.
The input for the activity is the following.
Input Item
Datatype
Description
Host
string
Port
integer
UserName
string
Password
string
Timeout
integer
Output
The output for the activity is the following.
Output Item
Datatype
Description
CurrentDirectory
string
112
| Chapter 4
FTP Palette
Error Output
The Error Output tab lists the possible exceptions that can be thrown by this
activity. See TIBCO ActiveMatrix BusinessWorks Error Codes for more information
about error codes and corrective action to take.
Exception
Thrown When...
ConnectionErrorException
CommandExecutionException
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Name
No
Description
No
FTP Connection
No
Quit
(post-command)
No
Description
Input
See TIBCO ActiveMatrix BusinessWorks Process Design Guide for more information
about mapping and transforming input data.
114
| Chapter 4
FTP Palette
Datatype
Description
Host
string
Port
integer
UserName
string
Password
string
RemoteSITECommand
string
ParentRemoteDirectory
string
RemoteDirName
string
Input Item
Datatype
Description
Timeout
integer
Output
This activity produces no output.
Error Output
The Error Output tab lists the possible exceptions that can be thrown by this
activity. See TIBCO ActiveMatrix BusinessWorks Error Codes for more information
about error codes and corrective action to take.
Exception
Thrown When...
ConnectionErrorException
CommandExecutionException
116
| Chapter 4
FTP Palette
FTP Put
Activity
The FTP Put activity issues an FTP put or mput command to the
specified server. You can use process data as the content of the file to
send to the remote server or you can send files in local disk storage. If
you choose to use process data, you can place only one file on the
remote server (FTP put command). If you use locally stored files, you can place
one or more files on the remote server (FTP mput command).
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Name
No
Description
No
FTP Connection
No
Quit
(post-command)
No
Description
Field
Global
Var?
Description
Binary
Yes
Timeout (msec)
Yes
Overwrite
Existing File
Yes
Append
Yes
Yes
118
| Chapter 4
FTP Palette
Field
Global
Var?
Description
Maintain 2.0
Compatibility
No
Input
See TIBCO ActiveMatrix BusinessWorks Process Design Guide for more information
about mapping and transforming input data.
The input for the activity is the following.
Input Item
Datatype
Description
RemoteFilename
string
LocalFilename
string
Data
binary or
string
(depends
upon if the
Binary
Configuration
field is
checked)
Host
string
Port
integer
Input Item
Datatype
Description
UserName
string
Password
string
Encoding
string
Output
The output for the activity is the following.
Output Item
Datatype
Description
FilesTransferred
string
120
| Chapter 4
FTP Palette
Output Item
Datatype
Description
Success
boolean
Errormsg
string
Error Output
The Error Output tab lists the possible exceptions that can be thrown by this
activity. See TIBCO ActiveMatrix BusinessWorks Error Codes for more information
about error codes and corrective action to take.
Exception
Thrown When...
PutFilesException
ConnectionErrorException
CommandExecutionException
ConnectionTimeoutException
FTP Quote
Activity
The FTP Quote activity sends an arbitrary FTP command to the FTP
server. You can determine which FTP commands are supported by
using the Available Commands button on the FTP Connection shared
configuration resource. FTP commands vary by operating system and
by FTP version and configuration, so you should determine which commands are
available on the remote server before using this activity.
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Name
No
Description
No
FTP Connection
No
Quit
(post-command)
No
Description
No
Input
See TIBCO ActiveMatrix BusinessWorks Process Design Guide for more information
about mapping and transforming input data.
TIBCO ActiveMatrix BusinessWorks Palette Reference
122
| Chapter 4
FTP Palette
Datatype
Description
Host
string
Port
integer
UserName
string
Password
string
RemoteSiteCommand
string
ValidReturnCode
string
RemoteCommand
string
Input Item
Datatype
Description
Timeout
integer
Output
The output for the activity is the following.
Output Item
Datatype
Description
CommandItems
string
Error Output
The Error Output tab lists the possible exceptions that can be thrown by this
activity. See TIBCO ActiveMatrix BusinessWorks Error Codes for more information
about error codes and corrective action to take.
Exception
Thrown When...
ConnectionErrorException
CommandExecutionException
124
| Chapter 4
FTP Palette
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Name
No
Description
No
FTP Connection
No
Quit
(post-command)
No
Description
Input
See TIBCO ActiveMatrix BusinessWorks Process Design Guide for more information
about mapping and transforming input data.
Datatype
Description
Host
string
Port
integer
UserName
string
Password
string
ParentRemoteDirectory
string
RemoteDirName
string
Timeout
integer
126
| Chapter 4
FTP Palette
Output
This activity produces no output.
Error Output
The Error Output tab lists the possible exceptions that can be thrown by this
activity. See TIBCO ActiveMatrix BusinessWorks Error Codes for more information
about error codes and corrective action to take.
Exception
Thrown When...
ConnectionErrorException
CommandExecutionException
The FTP Rename File activity renames the specified file on the
remote FTP server.
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Name
No
Description
No
FTP Connection
No
Quit
(post-command)
No
Description
Input
See TIBCO ActiveMatrix BusinessWorks Process Design Guide for more information
about mapping and transforming input data.
128
| Chapter 4
FTP Palette
Datatype
Description
Host
string
Port
integer
UserName
string
Password
string
OldRemoteDirectory
string
OldRemoteFilename
string
NewRemoteDirectory
string
NewRemoteFilename
string
Input Item
Datatype
Description
Timeout
integer
Output
This activity produces no output.
Error Output
The Error Output tab lists the possible exceptions that can be thrown by this
activity. See TIBCO ActiveMatrix BusinessWorks Error Codes for more information
about error codes and corrective action to take.
Exception
Thrown When...
ConnectionErrorException
CommandExecutionException
130
| Chapter 4
FTP Palette
The FTP Sys Type activity retrieves the FTP servers operating system
type.
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Name
No
Description
No
FTP Connection
No
Quit
(post-command)
No
Description
Input
See TIBCO ActiveMatrix BusinessWorks Process Design Guide for more information
about mapping and transforming input data.
Datatype
Description
Host
string
Port
integer
UserName
string
Password
string
Timeout
integer
Output
The output for the activity is the following.
Output Item
Datatype
Description
SystemType
string
UNIX
UUNIX
Windows_NT
MVS_OS390
UNKNOWN
132
| Chapter 4
FTP Palette
Error Output
The Error Output tab lists the possible exceptions that can be thrown by this
activity. See TIBCO ActiveMatrix BusinessWorks Error Codes for more information
about error codes and corrective action to take.
Exception
Thrown When...
ConnectionErrorException
CommandExecutionException
| 133
Chapter 5
Topics
134
| Chapter 5
Assign 135
Assign
Activity
Configuration
The Configuration tab has the following fields.
Field
Description
Name
Description
Input
See TIBCO ActiveMatrix BusinessWorks Process Design Guide for more information
about mapping and transforming input data.
The input for the activity is the following.
Input Item
Datatype
<schema>
Description
The specified data schema for the
user-defined process variable
selected on the Configuration tab.
Output
This activity produces no output.
136
| Chapter 5
Call Process
Activity
Configuration
The Configuration tab has the following fields.
Field
Description
Name
Description
Process Name
Process Name
Dynamic Override
Spawn
Field
Description
Custom Id
Use the full path and name of the process file as stored in the project directory.
138
| Chapter 5
When you use the Process Name Dynamic Override field, you must also specify a
process to call in the Process field. The input, output, and error definitions of the
specified process must be the same as any process that the expression in the
Process Name Dynamic Override field can evaluate to.
It may be helpful to create process definitions that act as programmatic interfaces
when using the Process Name Dynamic Override field.
In the example above, you may create a process named orderProcessOrApprove.
The only purpose of this process is for specifying the input, output, and error
schemas. Place this process in the Process field of the Call Process tab. Then,
create the manualApproval and processOrder process definitions as copies of the
orderProcessOrApprove process. The Call Process activity then has the correct
input, output, and error schemas for all processes that can be called.
If you use the Process Name Dynamic Override field, make sure you include all
potentially callable subprocesses when you create your Process Archive for
deployment. TIBCO Designer cannot determine which subprocesses are
potentially callable at design time, and therefore they cannot be automatically
included in a process archive. See TIBCO Designer Users Guide for more
information about creating process archives.
Input
See TIBCO ActiveMatrix BusinessWorks Process Design Guide for more information
about mapping and transforming input data.
The input for the activity is the following.
Input Item
Datatype
Description
input
varies
Output
The output for the activity is the following.
Output Item
Datatype
Description
output
varies
140
| Chapter 5
Catch
Activity
Configuration
The Configuration tab has the following fields.
Field
Description
Name
Description
Catch All
Exception to Catch
Catch 141
Input
This activity has no Input.
Output
The output for the activity is the following.
Output Item
Datatype
Description
<exceptionName>
varies
142
| Chapter 5
Checkpoint
Activity
Configuration
The Configuration tab has the following fields.
Field
Description
Name
Description
Input
See TIBCO ActiveMatrix BusinessWorks Process Design Guide for more information
about mapping and transforming input data.
The input for the activity is the following.
Input Item
Datatype
Description
duplicateKey
String
Checkpoint 143
Called Processes
Checkpoints save the state of the entire process instance. By default when a
process calls another process, the subprocess is executed in the same process
instance as the calling process. If the called process spawns a new machine
process, however, the called process is a new process instance.
When a checkpoint occurs in a called process, the checkpoint saves the state of the
current process instance. If no called processes spawn new process instances, then
a checkpoint in any called process saves the state of the process instance,
including state from the parent process(es) of the current process. In the case of a
called process that spawns a new process instance, only the spawned process
instance is saved.
144
| Chapter 5
You should exercise care in placing checkpoints in your process definitions. Make
certain that the process has all of the data required to continue at the time of the
checkpoint so that in the event of a failure, a restarted process does not attempt to
access resources that no longer exist.
By default, checkpointed process instances are restarted when the engine restarts.
If the engine encounters errors during startup, the restarted process instances
continue to be processed and may eventually be lost depending upon the type of
error at startup. You can specify to shut down the process engine if any errors are
encountered during startup so that checkpointed jobs are not lost in the event of
an error. The custom engine property named Engine.ShutdownOnStartupError
controls this behavior. By default, the value of the property is false. Setting the
property to true shuts the engine down if errors are encountered when the
engine starts.
See TIBCO ActiveMatrix BusinessWorks Administration for more information about
setting custom engine properties.
Checkpoints and the Confirm Activity
In the case of confirmable messages (for example, a confirmable TIBCO
Rendezvous or Adapter message is received), you must consider the
consequences of performing a checkpoint before or after a Confirm activity.
If the checkpoint is taken before the Confirm activity, then a crash occurs after a
checkpoint but before a confirm, the original message is resent. In this case, the
restarted process can no longer send the confirmation. However, a new process is
started to handle the resent message, and you can implement your process to
handle the restarted and new processes appropriately.
If the checkpoint is taken after a Confirm activity, there is potential for a crash to
occur after the Confirm but before the checkpoint. In this case, the message is
confirmed and therefore not redelivered. The process instance is not restarted,
because the crash occurred before the checkpoint.
You must consider the type of processing your process definition performs to
determine when a checkpoint is appropriate if your process definition receives
confirmable messages.
Confirm 145
Confirm
Activity
Configuration
The Configuration tab has the following fields.
Field
Description
Name
Description
Confirm Event
See Checkpoints and the Confirm Activity on page 144 for more information
about using the Checkpoint and Confirm activities in a process definition.
It is not recommended to use the Confirm Activity with in the Service Resource
process as this will unblock the TIBCO ActiveMatrix provider thread. The new
message will still flow on that thread eventhough the TIBCO ActiveMatrix
BusinessWorks process execution continues for the previous message.
146
| Chapter 5
Custom Activity
Resource
Configuration
The Configuration tab has the following fields.
Field
Description
Name
Description
Select Process
148
| Chapter 5
Field
Description
Engine Command
Activity
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Name
No
Description
No
Command to
Execute
No
Description
150
| Chapter 5
Field
Global
Var?
Description
Process Definition
Name
No
GetActivityStats
GetProcessInstanceInfo
ResumeProcessStarter
SuspendProcessStarter
Input
See TIBCO ActiveMatrix BusinessWorks Process Design Guide for more information
about mapping and transforming input data.
The input for the activity is the following.
Input Item
Datatype
Description
<commandInput>
varies
Output
The output for the activity is the following.
Output Item
Datatype
Description
<commandOutput>
varies
Commands
The following are the commands that can be executed by this activity and the
corresponding input and output for each command.
GetActivityStats
Retrieves information about the activities that have been executed for a given
process definition since the engine was started. The activity information is
cumulative. A single activity name represents all executions of that activity.
The ExecutionTime computation for the Call Process Activity includes the sum of
the execution times for all activities in the called process, not just the execution
time for the call process activity itself.
Input Item
Datatype
Description
ProcessDefinitionName
String
Output Item
Datatype
Description
ProcessDefinitionName
String
ActivityName
String
ActivityClass
String
ExecutionCount
integer
ElapsedTime
integer
ExecutionTime
integer
152
| Chapter 5
Output Item
Datatype
Description
ErrorCount
integer
LastReturnCode
String
TracingEnabled
boolean
MinElapsedTime
integer
MaxElapsedTime
integer
MinExecutionTime
integer
MaxExecutionTime
integer
MostRecentElapsedTime
integer
MostRecentExecutionTime
integer
TimeSinceLastUpdate
integer
ExecutionCountSinceReset
integer
Output Item
Datatype
Description
CalledProcessDefs
String
GetProcessDefinitionStats
Retrieves information about process definitions. I
Output Item
Datatype
Description
ProcessDefinitionName
String
ProcessStarterName
String
NumberCreated
integer
NumberSuspended
integer
NumberSwappedToDisk
integer
NumberQueued
integer
NumberAborted
integer
NumberCompleted
integer
NumberCheckpointed
integer
TotalExecutionTime
integer
154
| Chapter 5
Output Item
Datatype
Description
AverageExecutionTime
integer
TotalElapsedTime
integer
AverageElapsedTime
integer
MinElapsedTime
integer
MaxElapsedTime
integer
MinExecutionTime
integer
MaxExecutionTime
integer
MostRecentExecutionTime
integer
MostRecentElapsedTime
integer
Output Item
Datatype
Description
TimeSinceLastUpdate
integer
NumberCompletedSinceReset
integer
GetProcessInstanceExceptions
Retrieves error information reported by the specified process.
Input Item
Datatype
Description
ProcessId
integer
Output Item
Datatype
Description
ExceptionSequenceNumber
integer
ProcessId
integer
ExceptionMessage
String
Exception message.
StackTrace
String
ExceptionClass
String
156
| Chapter 5
Output Item
Datatype
Description
ProcessStack
String
TrackingID
integer
ProcessDefinitionName
String
State
String
GetProcessInstanceInfo
The values of the input elements for this command specify for which process
instances you wish to retrieve information. If you specify more than one input
element, the values are treated as an AND condition. For example, If you specify
the process definition name and the minimum duration, information for process
instances for the specified process definition that meet the minimum duration
time will be returned.
Input Item
Datatype
Description
ProcessId
integer
ProcessDefinitionName
String
MinimumDuration
integer
Output Item
Datatype
Description
ProcessId
integer
ProcessInstanceName
String
TrackingId
String
CustomId
String
Status
String
StartTime
integer
ElapsedTimeSinceStarted
integer
MainProcessName
String
158
| Chapter 5
Output Item
Datatype
Description
CurrentActivityName
String
ProcessStarterName
String
SubProcessName
String
GetProcessStarterStats
Retrieves information about either active or inactive process starters. The
information is cumulative. A single process starter name represents all executions
of that process starter.
Output Item
Datatype
Description
ProcessDefinitionName
String
ProcessStarterName
String
Status
String
TotalNumberCreated
integer
NumberCreatedPerHour
integer
NumberRunning
integer
NumberCompleted
integer
StartTime
String
ElapsedTimeSinceStarted
integer
Output Item
Datatype
Description
RestartedFromCheckpoint
boolean
TracingEnabled
boolean
GetRecoverableProcesses
Retrieves the process instances that can be recovered. See TIBCO ActiveMatrix
BusinessWorks Administration for more information about recoverable process
instances. Use the returned process ID in the RestartRecoverableProcess or
RemoveRecoverableProces commands.
Output Item
Datatype
Description
ProcessId
integer
Status
string
TrackingId
string
CustomId
string
ProcessDefinitionName
string
160
| Chapter 5
Output Item
Datatype
Description
RestartActivityName
string
KillProcessInstance
Kills the specified process instance. The process instance is stopped immediately
and permanently removed from the engine.
Input Item
Datatype
Description
ProcessId
integer
ListAllRoles
Returns a list of all roles, along with the current state (enabled or disabled) of each
role.
Output Item
Datatype
Description
Role
string
Enabled
boolean
ListUserRoles
Returns a list of all user roles, along with the current state (enabled or disabled) of
each role.
Output Item
Datatype
Description
Role
string
Enabled
boolean
RemoveRecoverableProcess
Removes the specified recoverable process instance from the list of potential
recoverable processes. After executing this command, the checkpoint data of the
specified process instance is removed and the process instance will no longer be
able to be recovered. Obtain the process ID of the recoverable process with
GetRecoverableProcesses the command.
Input Item
Datatype
Description
ProcessId
integer
RestartRecoverableProcess
Restarts the specified recoverable process instance. Obtain the process ID of the
recoverable process with GetRecoverableProcesses the command.
Input Item
Datatype
Description
ProcessId
integer
ResumeProcessInstance
Resumes the specified process instance.
Input Item
Datatype
Description
ProcessId
integer
162
| Chapter 5
ResumeProcessStarter
Resumes the specified process starter.
Input Item
Datatype
Description
ProcessDefinitionName
string
StartStatsCollector
Enables collection of statistics for each executed activity. See TIBCO ActiveMatrix
BusinessWorks Administrationfor more information about collecting activity
statistics.
Output Item
Datatype
Description
FileName
string
StopStatsCollector
Disables collection of statistics for each executed activity. See TIBCO ActiveMatrix
BusinessWorks Administrationfor more information about collecting activity
statistics.
Shutdown
Shuts down the process engine. If no input is provided, this command shuts
down the engine immediately. You can optionally specify an amount of time to
delay the shut down of the engine or you can specify that the engine should wait
for any checkpointed process instances to complete before shutting down.
Input Item
Datatype
Description
MaxDelayInSeconds
integer
WaitForCheckpoints
boolean
SuspendProcessInstance
Suspends the specified process instance.
Input Item
Datatype
Description
ProcessId
integer
SuspendProcessStarter
Suspends the specified process starter.
Input Item
Datatype
Description
ProcessDefinitionName
string
164
| Chapter 5
External Command
Activity
Long-Running Commands
If you wish to execute long-running commands (such as daemons), it may not be
practical to execute the command directly. Because the specified command must
terminate before control is passed to the next activity, the process instance must
run until the external command completes. To avoid this problem, you may wish
to create a script that runs the desired commands in the background.
The syntax of executing commands as background processes differs by operating
system. For example, on UNIX, to run a command in the background, you
append the ampersand character (&) to the command. On Microsoft Windows,
you use the START command in a batch file to run a command in a different
process.
After creating a script to run commands in the background, specify the script as
the command to run in the External Command activity. The script runs the
desired command and returns the process ID of the process it started. The return
code of the script is stored in the returnCode item of the External Command
activitys output.
If you wish to start a long-running command in the background and then later
terminate the background process, you should store the process ID returned by
the script in a file or database table. Another process instance can then read the
process ID and kill the process with the appropriate operating system command
when necessary.
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Description
Name
No
Field
Global
Var?
Description
Description
No
Command to
Execute
Yes
Yes
166
| Chapter 5
Field
Global
Var?
Description
Remove
Parameter Quotes
Yes
Output Filename
Yes
Output Line
Splitting
Yes
Input
See TIBCO ActiveMatrix BusinessWorks Process Design Guide for more information
about mapping and transforming input data.
Datatype
Description
command
string
input
string
environment
string
168
| Chapter 5
Input Item
Datatype
Description
workingDirectory
string
token
string
\r
\n
newline character
\t
tab character
\\
backslash character
Output
The output for the activity is the following.
Output Item
Datatype
Description
returnCode
integer
Output Item
Datatype
Description
output
string
error
string
Error Output
The Error Output tab lists the possible exceptions that can be thrown by this
activity. See TIBCO ActiveMatrix BusinessWorks Error Codes for more information
about error codes and corrective action to take.
Exception
Thrown When...
InvalidInputException
CommandExecutionError
FileIOError
170
| Chapter 5
Generate Error
Activity
...
...
CreditCheck Subprocess
See TIBCO ActiveMatrix BusinessWorks Process Design Guide for more information
about handling errors in process definitions.
Configuration
The Configuration tab has the following fields.
Field
Description
Name
Description
Input
See TIBCO ActiveMatrix BusinessWorks Process Design Guide for more information
about mapping and transforming input data.
The input for the activity is the following.
Input Item
Datatype
Description
message
string
messageCode
string
data
complex
172
| Chapter 5
Output
This activity produces no output.
The Get Shared Variable activity retrieves the current value of a Shared
Variable or Job Shared Variable resource. If you are using this activity to
retrieve the value of a Shared Variable resource, you may want to use a
critical section group to ensure that no other process instances are
altering the value of the shared variable at the same time.
See TIBCO ActiveMatrix BusinessWorks Process Design Guide for more information
about shared variables and critical section groups.
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Name
No
Description
No
Variable
Configuration
No
Description
Output
The output for the activity is the following.
Output Item
Datatype
Description
<schema>
varies
174
| Chapter 5
Inspector
Activity
The Inspector activity is used to write the output of any or all activities
and process variables to a file and/or stdout. This is particularly useful
when debugging process definitions and you wish to see the entire
schema instead of mapping specific elements to the Write File activity.
You can use the inspector activity to write the output of any activity or process
variable in the current process. Activities and process variables in a subprocess
are not available to the Inspector activity (but the output of a Call Process activity
can be written using the Inspector activity). If you wish to obtain the output from
one or more activities or process variables in a subprocess, place the Inspector
activity in the process definition of the subprocess.
Configuration
The Configuration tab has the following fields.
Field
Description
Name
Description
Stdout
Activity
Inspector 175
Field
Description
Append to File
Input
See TIBCO ActiveMatrix BusinessWorks Process Design Guide for more information
about mapping and transforming input data.
The input for the activity is the following.
Input Item
Datatype
Description
fileName
string
Output
The output for the activity is the following.
Output Item
Datatype
Description
output
string
176
| Chapter 5
JNDI Configuration
Shared Configuration
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Description
Name
No
Description
No
JNDI
Context
Factory
No
JNDI
Context
URL
Yes
JNDI User
Name
Yes
Field
Global
Var?
Description
JNDI
Password
Yes
Advanced
The Advanced tab has the following fields.
Field
Validate
JNDI
Security
Context
Global
Var?
No
Description
Some application servers store the security context on
the thread used to establish the JNDI connection (at the
time of this release, only the WebLogic application
server does this). In that case, the first activity to use this
resource establishes the security context, then
subsequent activities use the same security context,
unless this field is checked. Checking this field ensures
that each activity that uses this resource examines the
security context to determine if the activity uses the
same security context as the security context established
on the thread. If they are different, the activitys
configured security context is used.
Checking this field causes additional overhead for
activities that use this resource. Therefore, only check
this field when necessary.
178
| Chapter 5
Field
Global
Var?
Description
Optional
JNDI
Properties
No
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Description
Name
No
Description
No
Schema
The Schema tab allows you to define a custom schema to hold the data of the
variable. You can define your own datatype on this tab, and you can reference
XML schema stored in the project. See Appendix A, Specifying Data Schema, on
page 701 for a description of how to define a schema.
Initial Value
The Initial Value tab allows you to specify an initial value for the variable. You can
choose one of the following:
180
| Chapter 5
None specifies that no initial value is set for the shared variable. You must
use the Set Shared Variable activity to set a value before you can read the
value of the variable with the Get Shared Variable activity.
Select Value causes the Select Value field to appear. This field allows you to
choose a stored XML Instance resource containing data that matches the
schema specified on the Schema tab.
Build Value causes the Build Value field to appear. The Edit button brings
up a smaller version of the XML Instance configuration. In this dialog you can
construct an XML document that contains the initial value of the shared
variable.
See TIBCO Designer Palette Reference for more information on creating XML
Instance resources.
Label 181
Label
Graphic Tool
The Label resource allows you to create a generic label so that you can
provide documentation and comments in your process definition. The
Label is not an activity, because you cannot draw transitions to or from it,
and it does not perform any action. You use the label to create a
descriptive tag that you can place anywhere in a process definition.
Labels can also be resized to cover an area. You can apply a border to the area by
selecting a value in the Border Type and Border Thickness fields. You can also
apply a background color to the area by selecting a color in the Background color
field. This allows you to annotate your process definition and provide colors and
borders to visually group related activities in your process definition.
The text of the label remains in the top left of the label area, but you can edit the
text either in the design panel or by editing the Description field.
Configuration
The Configuration tab has the following fields.
Field
Description
Description
Label Color
Label Font
Allows you to pick a font for the text of the label. Use
the Choose Font button to bring up the Font Panel
dialog.
Background Color
Border Type
Border Thickness
182
| Chapter 5
Field
Description
Gradient Background
Color
Lock Object
Shared Configuration
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Description
Name
No
Description
No
Multi-Engine
Yes
184
| Chapter 5
Mapper
Activity
Input Editor
The Input Editor tab defines the structure of the process variable to add to the
process definition.
You can use a simple datatype, or you can define a group of data elements on this
tab. You can also reference XML schema or ActiveEnterprise classes stored in the
project. Once defined, the data specified on the Input Editor tab becomes the
input and output schema of the Mapper activity. This data then becomes available
to other activities in the process definition.
See Appendix A, Specifying Data Schema, on page 701 for a complete description
of using the Input Editor tab.
Input
See TIBCO ActiveMatrix BusinessWorks Process Design Guide for more information
about mapping and transforming input data.
The input for the activity is defined by the specified data elements on the Input
Editor tab.
Output
The output for the activity is defined by the specified data elements on the Input
Editor tab.
Notify 185
Notify
Activity
Configuration
The Configuration tab has the following fields.
Field
Description
Name
Description
Shared Configuration
Input
See TIBCO ActiveMatrix BusinessWorks Process Design Guide for more information
about mapping and transforming input data.
186
| Chapter 5
Datatype
Description
key
string
timeout
integer
schema
complex
Output
This activity produces no output.
Notify Configuration
Shared Configuration
Configuration
The Configuration tab has the following fields.
Field
Description
Name
Description
Local Only
Data
The Data tab allows you to define a custom schema. The schema can be empty, if
you do not wish to pass data between processes.
You can define your own datatype on this tab, and you can reference XML schema
or ActiveEnterprise classes stored in the project. Once defined, the data specified
on the Data tab appears on the Input or Output tab of the Receive Notification,
Wait, or Notify activity where this shared configuration resource is used.
See Appendix A, Specifying Data Schema, on page 701 for a description of how to
define a schema.
188
| Chapter 5
Null
Activity
On Event Timeout
Process Starter
Configuration
The Configuration tab has the following fields.
Field
Description
Name
Description
190
| Chapter 5
Field
Description
Event Source
Output
The output for the activity is the following.
Output Item
Datatype
Description
originatingProcess
string
originatingActivity
string
<event>
complex
On Notification Timeout
Process Starter
Configuration
The Configuration tab has the following fields.
Field
Description
Name
Description
192
| Chapter 5
Field
Description
Notify Configuration
Output
The output for the activity is the following.
Output Item
Datatype
Description
notificationData
Object
On Shutdown 193
On Shutdown
Process Starter
Configuration
The Configuration tab has the following fields.
Field
Description
Name
Description
194
| Chapter 5
On Startup
Process Starter
Configuration
The Configuration tab has the following fields.
Field
Description
Name
Description
Receive Notification
Activity
Configuration
The Configuration tab has the following fields.
Field
Description
Name
Description
Shared Configuration
196
| Chapter 5
Field
Description
Key
Misc
The Misc tab contains the following fields:
Field
Description
Sequencing Key
Custom Id
Output
The output for the activity is the following.
Output Item
Datatype
Description
schema
complex
198
| Chapter 5
Rethrow
Activity
The Rethrow activity throws the exception caught by the Catch activity
again. Use this activity when you wish to propagate the exception to the
next level. See the description of error handling in TIBCO ActiveMatrix
BusinessWorks Process Design Guide for more information about using the
Rethrow activity.
Configuration
The Configuration tab has the following fields.
Field
Description
Name
Description
Input
This activity has no Input.
Output
This activity has no Output.
The Set Shared Variable activity allows you to change the value of a
shared variable. If you are using this activity to set the value of a
Shared Variable resource, you may want to use a critical section group
to ensure that no other process instances are altering the value of the
shared variable at the same time.
See TIBCO ActiveMatrix BusinessWorks Process Design Guide for more information
about shared variables and critical section groups.
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Name
No
Description
No
Variable
Configuration
No
Output New
Value
No
Description
Input
See TIBCO ActiveMatrix BusinessWorks Process Design Guide for more information
about mapping and transforming input data.
200
| Chapter 5
Datatype
Description
<schema>
varies
Output
The output for the activity is the following.
Output Item
Datatype
Description
<schema>
varies
or no output
Shared Variable
Shared Configuration
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Description
Name
No
Description
No
Persistent
Yes
202
| Chapter 5
Field
Global
Var?
Description
Multi-Engine
Yes
Schema
The Schema tab allows you to define a custom schema to hold the data of the
shared variable. You can define your own datatype on this tab, and you can
reference an XML schema stored in the project. See Appendix A, Specifying Data
Schema, on page 701 for a description of how to define a schema.
Initial Value
The Initial Value tab allows you to specify an initial value for the shared variable.
You can choose one of the following:
None specifies that no initial value is set for the shared variable. You must
use the Set Shared Variable activity to set a value before you can read the
value of the variable with the Get Shared Variable activity.
Select Value causes the Select Value field to appear. This field allows you to
choose a stored XML Instance resource containing data that matches the
schema specified on the Schema tab.
Build Value causes the Build Value field to appear. The Edit button brings
up a smaller version of the XML Instance configuration. In this dialog you can
construct an XML document that contains the initial value of the shared
variable.
See TIBCO Designer Palette Reference for more information on creating XML
Instance resources.
204
| Chapter 5
Sleep
Activity
The Sleep activity suspends the process on the current transition for the
given amount of time. If you have multiple control flows in your
process, only the current execution branch of the process is suspended.
Configuration
The Configuration tab has the following fields.
Field
Description
Name
Description
Input
See TIBCO ActiveMatrix BusinessWorks Process Design Guide for more information
about mapping and transforming input data.
The input for the activity is the following.
Input Item
Datatype
Description
IntervalInMillisec
integer
Timer 205
Timer
Process Starter
The Timer process starter starts a process at a specific time. You can also
specify that processes are to be started periodically.
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Name
No
Description
No
Start Time
Yes
Description
No
206
| Chapter 5
Field
Global
Var?
Description
Time Interval
Yes
Interval Unit
No
Misc
The Misc tab contains the following fields:
Field
Description
Sequencing Key
Timer 207
Field
Description
Custom Id
Output
The output for the activity is the following.
Output Item
TimerOutputSchema
Datatype
Description
The time the process instance started.
The time is represented by several
items in the output schema indicating
the hour, minute, second, and so on.
Each item uses the appropriate
datatype.
208
| Chapter 5
Wait
Activity
The Wait activity suspends execution of the process instance and waits for
a Notify activity with a matching key to be executed in another process
instance. The key specified in the Notify Configuration resource specified
on the Configuration tab and the Key field of the Input tab creates a relationship
between the Wait activity and the corresponding Notify activity.
The same Notify Configuration shared configuration resource must be specified
by corresponding Wait and Notify activities so that data can be passed from the
process instance containing the Notify activity to this process instance. The
schema in the Notify Configuration resource can be empty, if you do not wish to
pass data between processes.
The Wait, Receive Notification, and Notify activities allow running process
instances to communicate. See TIBCO ActiveMatrix BusinessWorks Process Design
Guide for more information on inter-process communication.
Configuration
The Configuration tab has the following fields.
Field
Description
Name
Description
Shared Configuration
Input
See TIBCO ActiveMatrix BusinessWorks Process Design Guide for more information
about mapping and transforming input data.
Wait 209
Datatype
Description
key
string
timeout
integer
Output
The output for the activity is the following.
Output Item
Datatype
Description
schema
complex
210
| Chapter 5
Write To Log
Activity
This activity writes a message to the log. There is one log file for each
process engine.
Depending upon whether you are using a process engine in testing mode
or a deployed process engine, the logs are stored in different locations.
During test mode, the logs are stored in the TIBCO ActiveMatrix BusinessWorks
working directory under the logs subdirectory. See TIBCO Designer Users Guide
for more information about specifying the working directory. For deployed
process engines, the log location is specified by custom engine properties. See
TIBCO ActiveMatrix BusinessWorks Administration for more information about
custom engine properties.
Configuration
The Configuration tab has the following fields.
Field
Description
Name
Description
Role
Input
See TIBCO ActiveMatrix BusinessWorks Process Design Guide for more information
about mapping and transforming input data.
The input for the activity is the following.
Input Item
Datatype
Description
message
string
msgCode
string
Output
This activity produces no output.
Trace.<roleName>.Log
Trace.Role.<roleName>
212
| Chapter 5
Trace.Role.* Setting this property to false disables all messages for all
user-defined roles.
You can also specify the character encoding of the log file by using the
property.
log.file.encoding
OnError 213
OnError
Activity
This activity provides error handling mechanism for all the errors
that happen outside the job boundaries of all processes associated
with the service resource.
You are recommended to create only one process definition with this
event source for the whole project. If you create multiple processes,
then all of them will be triggered and may not be in sequence.
Whenever an error occurs for messages triggered through Service Resource
outside of Job boundaries, the Error handler process gets triggered with the
appropriate data.
This error handler process can be used only for Logging purposes. The actual
Service MEP will not be affected.
The Error handler handles the failure in Pre-process, Post-process (failure while
sending the response), and Fault Sending scenarios. It does not catch the error
during the execution process.
Configuration
The Configuration tab has the following fields.
Field
Description
Name
Description
214
| Chapter 5
Misc
The Misc tab has the following fields.
Field
Description
Sequencing Key
Custom ID
Output
The Output-tab of the onError event source contains the following schema:
errorCode - Contains the error code useful for filtering the errors.
| 215
Chapter 6
HTTP Palette
The HTTP palette allows you to send and receive HTTP requests.
Topics
216
| Chapter 6
HTTP Palette
HTTP Connection
Shared Configuration
The HTTP Connection resource can specify that the HTTPS (secure sockets layer
or SSL) protocol must be used by clients. If this is enabled, you can configure the
SSL parameters for the HTTP server using the Configure SSL Button. See
Configure SSL Button on page 219 for more information.
If you have multiple HTTP Connection resources specified by multiple HTTP
Receiver process starters, the HTTP servers require that all of the connections
must be valid to initialize all HTTP Receivers. Therefore, make certain that all
HTTP Connection resources have valid configurations before testing or deploying
the project.
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Description
Name
No
Description
No
218
| Chapter 6
HTTP Palette
Field
Global
Var?
Description
Host
Yes
Port
Yes
Field
Global
Var?
Description
SSL
No
Server Type
No
Description
Requires Client
Authentication
Trusted Certificates
Folder
220
| Chapter 6
HTTP Palette
Field
Description
Identity
Advanced
The Advanced tab has the following fields
Field
Global
Var?
Description
Enable DNS
Lookups
No
Connection Properties
maxPostSize
Yes
Field
Global
Var?
Description
maxSavePost
Size
Yes
URI Encoding
Yes
222
| Chapter 6
HTTP Palette
Field
Global
Var?
Description
acceptCount
Yes
compressable
MimeType
Yes
compression
Yes
Field
Global
Var?
Description
connectionTi
meOut
Yes
bw.plugin.http.server.minProcessors
bw.plugin.http.server.maxProcessors
bw.plugin.http.server.maxSpareProcessors
bw.plugin.http.server.restrictIPAddresses
a comma-separated list
of regular expression patterns that is compared with the remote clients IP
address before accepting or rejecting requests from the client. The remote IP
224
| Chapter 6
HTTP Palette
address of the client must not match for any request from this client to be
accepted.
If the same IP address is allowed and restricted, the restriction overrides the
allowance and the IP address will be restricted.
HTTP connection resource. Two server types are available: Tomcat and HTTP
Component. The default value of this property is Tomcat.
the maximum
number of web server threads available to handle HTTP requests for the
HTTPComponents server type. The default value of this property is 50.
bw.plugin.http.server.httpcomponents.workerThread
If you have a large number of incoming requests, you may wish to change the
values of these properties to handle more incoming requests concurrently.
See TIBCO ActiveMatrix BusinessWorks Administration for more information about
setting custom engine properties.
When a client sends a request that cannot be processed because no threads are
available, TIBCO ActiveMatrix BusinessWorks returns a ConnectionRefused
exception to the client.
The HTTP Receiver uses the minProcessors/maxProcessors properties to control
the flow of incoming HTTP requests. If you set the Flow Limit deployment
property for a process definition with the HTTP Receiver process starter,
maxProcessors is set to <flowLimitValue> - 1 and minProcessors is set to
<maxProcessorValue>/2. Therefore, the Flow Limit value will never be reached
because the maxProcessors property will prevent new requests from being
accepted before the Flow Limit value is reached.
HTTP Receiver
Process Starter
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Name
No
Description
No
HTTP
Connection
No
Description
No
Parse Post
Method Data
No
226
| Chapter 6
HTTP Palette
Field
Global
Var?
Description
Parameters
No
HTTP
Authentication
No
Expose Security
Context
No
Field
Global
Var?
Description
Default
Encoding
Yes
Upgrade
Configuration
No
228
| Chapter 6
HTTP Palette
Advanced
The Advanced tab contains the following fields:
Field
Global
Var?
Write to File
No
Description
Checking this field specifies to write incoming
requests that exceed the specified threshold size to
a file instead of storing the request in memory. This
allows you to accept large incoming requests
without consuming a great deal of memory. When
this field is checked, the Directory and Threshold
Size fields appear.
Note: This option is not intended to be used with
the Parse Post Method Data option on the
Configuration tab. When Write to File is specified,
the PostData output element becomes a choice
element containing either the output FileName or
the PostData depending upon whether the data
exceeds the size specified in the Threshold Size
field. It is recommended to use either the Write to
File option or the Parse Post Method data option,
but not both at the same time.
Leaving this field unchecked specifies to keep
incoming requests in memory.
Note: Once written, the files created by using this
option are not deleted automatically. You must
manage the storage used by these files and delete
them when they are no longer used.
Directory
Yes
Threshold
Size (bytes)
Yes
Misc
The Misc tab contains the following fields:
Field
Description
Sequencing Key
Custom Id
If the message body is not parsed (Parse Post Method Data is unchecked on the
Configuration tab), the body of the message remains URL-encoded in the
PostData output element. If the message body is parsed, the data is decoded
before being placed into the PostData output element, and that element would
appear as follows:
name=John Smith&address=500 1/2 Main Street
The order of the parameters may not be the same in the PostData output element
as the order in the original HTTP request sent by the client when the message
body is parsed.
Because the PostData output element can contain different data and be a different
length depending upon whether the message body is parsed, it is recommended
that you obtain data from the parameters output element when the message body
is parsed.
TIBCO ActiveMatrix BusinessWorks Palette Reference
230
| Chapter 6
HTTP Palette
Output Headers
The Output Headers tab describes the data structure for the headers of the HTTP
request. You can use the default structure, or you can alter the structure, if the
incoming request has a specific data structure for the header of the request. This
tab uses the mechanism described in Appendix A, Specifying Data Schema, on
page 701 to specify the data structure for the headers. See that appendix for more
information about creating a customized data structure.
Header structure is defined by the HTTP protocol. See the HTTP Protocol
specification for more information about the fields and content of the header of a
HTTP request. You can obtain this specification at www.w3.org.
The default header fields are the following.
Header
Datatype
Description
Accept
string
Accept-Charset
string
Accept-Encoding
string
Header
Datatype
Description
Content-Type
string
Content-Length
string
Connection
string
Cookie
string
Pragma
string
Output
The output for the activity is the following.
Output Item
Datatype
Description
Method
string
232
| Chapter 6
HTTP Palette
Output Item
Datatype
Description
RequestURI
string
HTTPVersion
string
PostData or
BinaryContent
or FileName
string
Command
string
QueryString
string
Header
string
Protocol
string
Port
string
mimeEnvelope
Element
complex
Output Item
Datatype
Description
mimeHeaders
complex
content-disposition To suggest a
filename for an attachment, use
"*;filename=<filename>" in this element.
Note: HTTP servers may alter or choose to
ignore the suggested name.
content-type
content-transfer-encoding
content-id
See http://www.faqs.org/rfcs/rfc2045.html
for more information about MIME headers and
their syntax.
Note: When the content type is specified as
"text/*" (for example, "text/xml"), the
attachment content is expected to be in either
the textContent input element or the file name
storing the attachment is expected to be in the
fileName input element. When the content
type is anything other than "text/*", the
attachment content is expected to be in either
the binaryContent input element or the file
name storing the attachment is expected to be
in the fileName input element.
binaryContent |
textContent |
fileName
choice
234
| Chapter 6
HTTP Palette
Output Item
Datatype
Description
Headers
complex
parameters
complex
Context
complex
RemoteAddress
String
Context
complex
SecurityContext
complex
Output Item
Datatype
Description
Username
PasswordToken
complex
CertificateToken
complex
RemoteAddress
String
RemoteHost
String
236
| Chapter 6
HTTP Palette
Proxy Configuration
Shared Configuration
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Description
Name
No
Description
No
Proxy Host
Yes
Proxy Port
Yes
Identity
No
Configuration
The Configuration tab has the following fields.
Field
Description
Name
Description
Host
Port
238
| Chapter 6
HTTP Palette
Field
Description
Accept Redirects
Parameters
HTTP Authentication
Identity
SSL
Field
Description
Upgrade
Configuration
QueryString corresponds to the query string of the request URI. You can
use this input element to dynamically construct the query string using an
XPath expression when you do not know the names or number of input
parameters for the request until the activity executes.
For some methods, these input elements are mutually exclusive. For example, for
POST requests, you can specify parameters on the Configuration tab and in the
parameters input element or you can specify a PostData input element. However,
you should not specify both input elements. In the case of a POST request, the
PostData input element is ignored when parameters are specified on the
Configuration tab.
240
| Chapter 6
HTTP Palette
For GET requests, you can specify parameters on the Configuration tab and in the
parameters input element or you can specify a QueryString input element.
Typically, if you know the list of parameters for the request, you should configure
the parameters on the Configuration tab. If the list of parameters is not known
until the activity executes, you should use the QueryString element. However,
when all parameters on the Configuration tab are specified as Optional, you can
use the QueryString input element instead of the parameters input element (but if
any elements in the parameters element contain an expression, the QueryString
element is ignored).
Special Characters in HTTP Requests
Depending upon the content type of the data for the request, the request can
contain URL-encoded data and the server is expected to decode the data. If this is
the case and you wish to send special characters such as +, /, or = in your HTTP
request, your data string must be URL-encoded if you send the data using the
PostData or QueryString input elements. If you send the data using the
parameters specified on the Configuration tab, encoding is done automatically.
For example, you wish to specify the following PostData:
name=John Smith&address=500 1/2 Main Street
Description
Trusted Certificates
Folder
Field
Description
Identity
242
| Chapter 6
HTTP Palette
Advanced
The Advanced tab contains the following fields:
Field
Global
Var?
Write to File
No
Description
Checking this field specifies to write incoming
requests that exceed the specified threshold size to
a file instead of storing the request in memory. This
allows you to accept large incoming requests
without consuming a great deal of memory. When
this field is checked, the Directory and Threshold
Size fields appear.
Note: This option is not intended to be used with
the Parse Post Method Data option on the
Configuration tab. When Write to File is specified,
the PostData output element becomes a choice
element containing either the output FileName or
the PostData depending upon whether the data
exceeds the size specified in the Threshold Size
field. It is recommended to use either the Write to
File option or the Parse Post Method data option,
but not both at the same time.
Leaving this field unchecked specifies to keep
incoming requests in memory.
Note: Once written, the files created by using this
option are not deleted automatically. You must
manage the storage used by these files and delete
them when they are no longer used.
Directory
Yes
Threshold
Size (bytes)
Yes
Datatype
Description
Accept (input
header)
string
Accept-Charset
(input header)
string
Accept-Encoding
(input header)
string
244
| Chapter 6
HTTP Palette
Header
Datatype
Description
Content-Type
(input/output
header)
string
Content-Length
(output header)
string
Content-Encoding
(output header)
string
Date (output
header)
string
Server (output
header)
string
Location (output
header)
string
Connection
string
Header
Datatype
Description
Set-Cookie
(output header)
string
Cookie (input
header)
string
Pragma
(input/output
header)
string
Input
See TIBCO ActiveMatrix BusinessWorks Process Design Guide for more information
about mapping and transforming input data.
246
| Chapter 6
HTTP Palette
Datatype
Description
Host
string
Port
integer
Method
string
RequestURI
string
PostData
string
QueryString
string
Timeout
integer
Input Item
Datatype
Description
Headers
complex
parameters
complex
mimeEnvelope
Element
complex
248
| Chapter 6
HTTP Palette
Input Item
Datatype
Description
mimeHeaders
complex
content-type
content-transfer-encoding
content-id
choice
Output
The output for the activity is the following.
Output Item
Datatype
Description
Header
string
statusLine
complex
binaryContent
binary
asciiContent
string
Headers
complex
mimeEnvelope
Element
complex
250
| Chapter 6
HTTP Palette
Output Item
Datatype
Description
mimeHeaders
complex
content-disposition To suggest a
filename for an attachment, use
"*;filename=<filename>" in this
element. Note: HTTP servers may
alter or choose to ignore the
suggested name.
content-type
content-transfer-encoding
content-id
See
http://www.faqs.org/rfcs/rfc2045.ht
ml for more information about MIME
headers and their syntax.
Note: When the content type is
specified as "text/*" (for example,
"text/xml"), the attachment content is
expected to be in either the textContent
input element or the file name storing
the attachment is expected to be in the
fileName input element. When the
content type is anything other than
"text/*", the attachment content is
expected to be in either the
binaryContent input element or the file
name storing the attachment is
expected to be in the fileName input
element.
Output Item
Datatype
Description
binaryContent |
textContent | fileName
choice
Persistent Connections
A Send HTTP Request activity requires a connection to an HTTP server. The
activity exclusively uses the connection until the HTTP server sends the response
message. If you have many process instances connecting to an HTTP server, each
Send HTTP Request opens a connection, holds the connection, and then closes the
connection once the activity completes. Opening and closing a large number of
connections can cause significant overhead for the HTTP server. Persistent
connections allow you to create a pool of connections that can be reused by Send
HTTP Request activities so that each activity does not need to open an close the
connection.
Persistent connections cannot be used with HTTPS connections. Each HTTPS
connection is opened and held until the activity completes execution.
Not all HTTP servers support the use of persistent connections. See the
documentation for the HTTP server you are connecting to determine if it supports
persistent connections.
Figure 10 illustrates the persistent connection pool. Persistent connections are
created for each HTTP server that Send HTTP Request activities in process
instances communicate with. Each process instance holds a persistent connection
until the HTTP server sends the response message. The connection is then
released by the process instance and returned to the pool.
252
| Chapter 6
HTTP Palette
You can specify the maximum number of connections to create in the persistent
connection pool, and you can also specify the maximum number of persistent
connections for each HTTP server. Connections for each HTTP server are created
in the pool until the maximum is reached.
When a Send HTTP Request activity requires a connection, the pool is searched
for a connection that corresponds to the HTTP server. If a corresponding unused
connection is found, it is used. If the maximum number of connections for that
particular server have been reached, the request must wait for a connection to be
released before using it. If no connection is found to a corresponding HTTP
server, a new connection is created if the maximum pool size has not been
reached. If no corresponding connection is found and the maximum pool size has
been reached, the activity must wait for a connection to be freed before
proceeding.
Figure 10 Persistent HTTP Connection Pool
bw.plugin.http.client.usePersistentConnectionManager
This property specifies that a pool of HTTP connections to each HTTP server
should be created so that connections can be reused by Send HTTP Request
activities. Not all HTTP servers support persistent connections. Refer to your
HTTP server documentation for more information about support for persistent
connections.
When this property is set to true, a pool of connections is created for each HTTP
server that Send HTTP Request activities connect to. The total number of
connections in the pool is limited by the
bw.plugin.http.client.maxTotalConnections property. The number of
connections for each host is limited by the
bw.plugin.http.client.maxConnectionsPerHost property.
The default value of this property is false.
bw.plugin.http.client.connectionTimeout
The value of this property is ignored unless the
property is set to
This property specifies the timeout period (in milliseconds) for which
persistent connections should be alive to each remote HTTP server.
bw.plugin.http.client.usePersistentConnectionManager
true.
bw.plugin.http.client.usePersistentConnectionManager
bw.plugin.http.client.usePersistentConnectionManager
254
| Chapter 6
HTTP Palette
bw.plugin.http.client.checkForStaleConnections
The value of this property is ignored unless the
property is set to
true. When using persistent connections, a connection can become stale. When
this property is set to true, a persistent connection is checked to determine if it is
stale before it is used by a Send HTTP Request activity. Checking for stale
connections adds significant processing overhead, but it does improve reliability.
bw.plugin.http.client.usePersistentConnectionManager
Error Output
The Error Output tab lists the possible exceptions that can be thrown by this
activity. See TIBCO ActiveMatrix BusinessWorks Error Codes for more information
about error codes and corrective action to take.
Exception
Thrown When...
HttpClientException
HttpServerException
HttpCommunicationException
ActivityTimedOutException
Configuration
The Configuration tab has the following fields.
Field
Description
Name
Description
Reply For
Flush Response
256
| Chapter 6
HTTP Palette
Field
Description
Close Connection
Input Headers
The Input Headers tab describes the data structure for the headers of the HTTP
response. You can use the default structure, or you can alter the structure, if the
outgoing response has a specific data structure for the header of the request. This
tab uses the same mechanism described Appendix A, Specifying Data Schema, on
page 701 to specify the data structure for the headers. See that appendix for more
information about creating a customized data structure.
Header structure is defined by the HTTP protocol. See the HTTP Protocol
specification for more information about the fields and content of the header of a
HTTP request. You can obtain this specification at www.w3.org.
The default header fields are the following.
Header
Datatype
Description
StatusLine
string
Header
Datatype
Description
Content-Type
string
Set-Cookie
string
Pragma
string
Location
string
Input
See TIBCO ActiveMatrix BusinessWorks Process Design Guide for more information
about mapping and transforming input data.
The input for the activity is the following.
Input Item
Datatype
Description
binaryContent
binary
asciiContent
string
258
| Chapter 6
HTTP Palette
Input Item
Datatype
Description
Headers
complex
mimeEnvelope
Element
complex
Input Item
Datatype
Description
mimeHeaders
complex
content-type
content-transfer-encoding
content-id
choice
260
| Chapter 6
HTTP Palette
Error Output
The Error Output tab lists the possible exceptions that can be thrown by this
activity. See TIBCO ActiveMatrix BusinessWorks Error Codes for more information
about error codes and corrective action to take.
Exception
Thrown When...
HttpCommunicationException
Configuration
The Configuration tab has the following fields.
Field
Description
Name
Description
HTTP Connection
Parse Post
Method Data
262
| Chapter 6
HTTP Palette
Field
Description
Parameters
HTTP
Authentication
Event
The Event tab has the following fields.
Field
Description
264
| Chapter 6
HTTP Palette
When building an expression in the Candidate Event Key field, only data from
the incoming event is available. This is because you want to place an expression
containing incoming event data in the Candidate Event Key field. When the
results of this expression match the results of the expression in the "key" item on
the Input tab, the Wait For HTTP Request activity proceeds.
Output Headers
The Output Headers tab describes the data structure for the headers of the HTTP
request. You can use the default structure, or you can alter the structure, if the
incoming request has a specific data structure for the header of the request. This
tab uses the same mechanism described Appendix A, Specifying Data Schema, on
page 701 in to specify the data structure for the headers. See that section for more
information about creating a customized data structure.
Header structure is defined by the HTTP protocol. See the HTTP Protocol
specification for more information about the fields and content of the header of a
HTTP request. You can obtain this specification at www.w3.org.
The default header fields are the following.
Header
Datatype
Description
Accept
string
Accept-Charset
string
Header
Datatype
Description
Accept-Encoding
string
Content-Type
string
Content-Length
string
Connection
string
Cookie
string
Pragma
string
Input
See TIBCO ActiveMatrix BusinessWorks Process Design Guide for more information
about mapping and transforming input data.
266
| Chapter 6
HTTP Palette
Datatype
Description
key
string
processTimeout
integer
Output
The output for the activity is the following.
Output Item
Datatype
Description
Method
string
RequestURI
string
HTTPVersion
string
PostData or
BinaryContent
string
Command
string
QueryString
string
Header
string
Output Item
Datatype
Description
Protocol
string
Port
string
mimeEnvelope
Element
complex
mimeHeaders
complex
content-disposition To suggest a
filename for an attachment, use
"*;filename=<filename>" in this element.
Note: HTTP servers may alter or choose to
ignore the suggested name.
content-type
content-transfer-encoding
content-id
See http://www.faqs.org/rfcs/rfc2045.html
for more information about MIME headers and
their syntax.
Note: When the content type is specified as
"text/*" (for example, "text/xml"), the
attachment content is expected to be in either
the textContent input element or the file name
storing the attachment is expected to be in the
fileName input element. When the content type
is anything other than "text/*", the attachment
content is expected to be in either the
binaryContent input element or the file name
storing the attachment is expected to be in the
fileName input element.
268
| Chapter 6
HTTP Palette
Output Item
Datatype
Description
binaryContent
| textContent |
fileName
choice
Headers
complex
parameters
complex
Error Output
The Error Output tab lists the possible exceptions that can be thrown by this
activity. See TIBCO ActiveMatrix BusinessWorks Error Codes for more information
about error codes and corrective action to take.
Exception
Thrown When...
ActivityTimedOutException
| 269
Chapter 7
Java Palette
The Java palette has activities and shared configuration resources for executing
Java code as well as converting between Java objects and XML documents.
Topics
270
| Chapter 7
Java Palette
The Choose a Class or Choose a Class and Method dialog appears when you click
the Show Class Browser button. This dialog allows you to pick a Java class (and
method of that class for the Java Method activity) from a list of archives available
in the TIBCO ActiveMatrix BusinessWorks classpath. The Show Class Browser
button is used in the following resources:
EJB Home
Java Method
Java Schema
Java To XML
XML To Java
Figure 11 illustrates selecting a class in the Choose a Class dialog. First you select
the archive, then you select the class. Packages that contain classes are displayed
as folders and the contained classes are nested below the package folder.
Figure 11 Selecting a class with the Choose a Class dialog
The Java Method and EJB Home activities allow you to select a class and a
method in that class to execute. The Show Class Browser button brings up the
Choose a Class and Method dialog. Figure 12 illustrates this dialog.
Figure 12 Selecting a method in a class from the Choose a Class and Method dialog
272
| Chapter 7
Java Palette
You must specify the full path for global variables contained in variable groups to
access the variables value. Use the slash character (/) to separate each element in
the path. For example, if you have a global variable named item1 contained in a
group named myGroup, you can access the value of the global variable with the
following Java code:
String var1 =
com.tibco.pe.plugin.PluginProperties.getProperty(
"tibco.clientVar.myGroup/item1");
If you use your own logger class, you can configure the BusinessWorks log4j
properties file to include your logger. This involves adding log4j.logger and
log4j.appender properties to the properties file. See the log4j documentation for
more information about log4j properties. Once the properties for your custom
logger class are added to the BusinessWorks log4j file, you can obtain your logger
class and write messages to the log file in your Java Code and Java Method
activities.
274
| Chapter 7
Java Palette
Java Code
Activity
You can add custom code to your process definition with the Java Code
activity. This activity allows you to write standard Java code that can
manipulate any of the process data or perform any action you choose.
The Java Code activity automatically creates an invoke() method in which you
place the code you wish to execute. This method is called when the engine
processes the Java Code activity.
When you specify input and output parameters for the Java Code activity, get/set
method code is automatically generated for the activity. You can use the get/set
methods in your Java code, and you can display the code for the get/set methods
when you select the Full Class radio button on the Code tab.
Use Edit>Preferences>Other to specify the Java editor you wish to use to edit
source code.
If you do not specify an editor, a simple popup editing window is provided.
See Common Features of Java Code and Java Method on page 272 for more
information about features available in the Java Code activity.
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Name
No
Description
No
Description
Field
Global
Var?
Description
Input
Parameters
No
Output
Parameters
No
Code
You can choose to display the full Java class or display only the invoke() method
body of the class. Choose the appropriate option at the top of the Code tab for the
code you wish to display.
276
| Chapter 7
Java Palette
Description
Java Code
Compile Button
All process definitions containing Java Code activities that do not compile
successfully are listed in the Activities area. Each Java Code activity is listed
under the process definition in which it is located. You can select any Java Code
activity in the Activities area to display the compilation errors for that activity.
The dialog has the following buttons:
Start/Cancel Compile Click Start Compile to begin compiling all Java Code
activities in your project. When the code is compiling, this button is renamed
Cancel Compile to allow you to cancel the compile all operation.
Go To Resource You can select any process definition or Java Code activity,
then click the Go To Resource button to display that resource in the design and
configuration panels.
278
| Chapter 7
Java Palette
The UseObject activity can invoke methods on the input object as it would for any
other object. For example, if you wish to call a method named getInteger() that
returns an integer, you would use the following code in the UseObject activity:
MyClass myObject = (MyClass) in_object;
int var = 0;
if (myObject != null) {
var = myObject.getInteger();
}
Input
See TIBCO ActiveMatrix BusinessWorks Process Design Guide for more information
about mapping and transforming input data.
The input for the activity is the following.
Input Item
Datatype
Description
parameters
varies
Output
The output for the activity is the following.
Output Item
Datatype
Description
parameters
varies
Error Output
The Error Output tab lists the exceptions that can be thrown by the Java Code
activity. Because the activity can return any Java exception, all potential
exceptions cannot be listed here. However, the error schema for all errors is the
same. The following describes the schema for exceptions returned by the Java
Code activity.
Error Schema Element
Datatype
Description
msg
string
msgCode
string
methodName
string
280
| Chapter 7
Java Palette
Datatype
Description
exceptionClassName
string
method.
exceptionMessage
string
The input parameters and return values must be of one of the types described
in Table 3.
If you make references to any imported class files, these classes must be
available in the classpath configured for TIBCO ActiveMatrix BusinessWorks.
The easiest way to make the imported classes available is to place them in the
TIBCO/bw/2.0/lib directory.
TIBCO ActiveMatrix BusinessWorks provides detailed online help for each XPath
function. To provide online help for Java Custom Functions, create a
two-dimensional array named HELP_STRINGS in your class. The element
containing a string matching the function name is used as the help for that
function. See Example Java Function on page 284 for an example of creating the
HELP_STRINGS array.
282
| Chapter 7
Java Palette
Strings and
Characters
String
char
Boolean
Boolean
boolean
Numbers
int
Integer
float
Float
double
Double
short
Short
long
Long
Static variables are not supported in Java custom functions. Do not write custom
functions that use static variables.
If there are different classes that have methods with the same names, the Prefix
field allows you to specify a prefix for qualifying which method you wish to use
in an XPath function. See the description of the Prefix field below for more
information.
See TIBCO ActiveMatrix BusinessWorks Process Design Guide for more information
about building XPath expressions and using the XPath editor.
Configuration
The Configuration tab has the following fields.
Field
Description
Name
Description
Field
Description
Suggested Prefix
Class Location
The location of the class file you wish to load. Use the
Browse button to locate the class file.
Note: This field is used to locate the file initially, but the file
is actually loaded and stored in the repository. Once the file
is loaded, it can be removed from its original location in the
file system. If you wish to change the file stored in the
repository, you can use this field to reload a changed file or
load a new file for this resource.
Class Data
The size of the class in bytes. Use the Load button after a
class is selected in the Class Location field to load the class
and determine its size.
284
| Chapter 7
Java Palette
/**
* The following method will not be availabe because it
* returns nothing: its void.
*/
public static void returnsNothing(String s)
{
System.out.println(s);
}
/**
* The following method will not be available because it
* is not static.
*/
public int add(int rhs)
{
return mInternalValue + rhs;
}
/**
* The following method will not be available becauses it
* is not public.
*/
protected static int protectedAdd(int lhs, int rhs)
{
return lhs + rhs;
}
/**
* The following is a two-dimensional array that provides the
* online help for functions in this class. Declare an array
* named HELP_STRINGS.
*/
public static final String[][] HELP_STRINGS ={
{"stringConcat", "Joins two strings.",
"Example", "stringConcat(\"test/testDict\",
$input/key)"},
{"intAdd", "Adds two integers.",
"Example", "intAdd(5, $input/myInt)"},
}
286
| Chapter 7
Java Palette
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Name
No
Description
No
Use
External
Class
No
Description
Field
Global
Var?
Description
Java
No
Class
Library
No
Class
No
Init Method
No
Init Method
Parameters
No
init() this method is called when the process engine starts up. This
method should initialize any resource connections. You could also specify a
288
| Chapter 7
Java Palette
onShutdown() this method is called by the process engine when the engine
shuts down. This method should release any resources and resource
connections and perform any required clean up operations.
The following methods are already implemented and can be used in your code:
getGlobalInstance()
Code
This tab is only enabled if the Use External Class field is unchecked. This tab
allows you to add implementation code to the appropriate methods of the
JavaProcessStarter class. You can choose to display the full Java class or display a
particular method by selecting the appropriate value in the Show field at the top
right of the Code tab.
The code tab has the following fields/buttons.
Field/Button
Description
Source Code
Field/Button
Description
Show
Compile Button
init
onStart
onStop
onShutdown
Entire Class
290
| Chapter 7
Java Palette
All process definitions containing Java Code activities and Java Process Staters
that do not compile successfully are listed in the Activities area. Each Java Code
activity or Java Process Starter is listed under the process definition in which it is
located. You can select any Java Code activity or Java Process Starter in the
Activities area to display the compilation errors for that activity.
The dialog has the following buttons:
Start/Cancel Compile Click Start Compile to begin compiling all Java Code
activities and Java Process Starters in your project. When the code is
compiling, this button is renamed Cancel Compile to allow you to cancel the
compile all operation.
Go To Resource You can select any process definition, Java Process Starter,
or Java Code activity, then click the Go To Resource button to display that
resource in the design and configuration panels.
Advanced
The Advanced tab has the following fields:.
Field
Java Global
Instance
Global
Var?
No
Description
A Java Global Instance resource. Specify a value
in this field if you wish to reference a Java Global
Instance resource in your JavaProcessStarter
implementation class. You can use the
getGlobalInstance() method to obtain a reference
to the Java Global Instance resource.
See Java Global Instance on page 294 for more
information about Java Global Instance
resources.
Convert Output
Object To XML
No
292
| Chapter 7
Java Palette
Misc
The Misc tab contains the following fields:
Field
Description
Sequencing Key
Custom Id
Output
The output for the activity is the following.
Output Item
Datatype
Description
javaObject or
varies
Object
onEvent()
Error Output
The Error Output tab lists the exceptions that can be thrown by the Java Event
Source resource. Because the resource can return any Java exception, all potential
exceptions cannot be listed here. However, the error schema for all errors is the
same. The following describes the schema for exceptions returned by the Java
Event Source resource.
Error Schema Element
Datatype
Description
msg
string
msgCode
string
294
| Chapter 7
Java Palette
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Name
No
Description
No
Java
No
Library
No
Class
No
Method
No
Description
296
| Chapter 7
Java Palette
Field
Global
Var?
Description
Parameters Input
No
Advanced
The Advanced tab has the following fields:.
Field
Global
Var?
Description
Invoke Cleanup
Method
No
Cleanup Method
No
Java Method
Activity
Configuration
The Configuration tab has the following fields:
Field
Global
Var?
Name
No
Description
No
Description
298
| Chapter 7
Java Palette
Field
Global
Var?
Description
Java Global
Instance
No
Java
No
Library
No
Class
No
Field
Global
Var?
Description
Method
No
Advanced
The Advanced tab has the following fields:.
Field
Global
Var?
Description
Construct
Declared Class
No
300
| Chapter 7
Java Palette
Field
Global
Var?
Description
Cache
Constructed
Class
No
Invoke Cleanup
Method
No
Cleanup Method
No
payroll Object
302
| Chapter 7
Java Palette
Figure 17 Different Java Method activities in the same process do not share the class
inv Object
inv Object
In the process definition illustrated in Figure 17, for each process instance that is
created, each time the inv.CheckInventory activity executes, it shares one
instance of the inv object that has been cached. Similarly, each time the
inv.DecreaseInv activity executes, it shares the instance of the inv object that
the activity has cached. However, the inv.CheckInventory and
inv.DecreaseInv activities do not share their cached Java objects with each
other.
Input
See TIBCO ActiveMatrix BusinessWorks Process Design Guide for more information
about mapping and transforming input data.
The input for the activity is the following.
Input Item
Datatype
Description
<declaringClass>
Java
Object
Input Item
Datatype
Description
MethodParameters
varies
Output
The output for the activity is the following.
Output Item
Datatype
Description
MethodReturnValue
varies
Error Output
The Error Output tab lists the exceptions that can be thrown by the invoked
method. Once a method to invoke is selected, the exceptions that the method can
throw are listed on the Error Output tab. Because a method can return any Java
exception, the potential exceptions cannot be listed here.
While all potential errors cannot be known, the error schema for all errors is the
same. The following describes the schema for exceptions returned by the Java
Method activity.
Error Schema Element
Datatype
Description
<exceptionName>
complex
<exceptionName>
Java
Object
304
| Chapter 7
Java Palette
Datatype
Description
exceptionClassName
string
method.
exceptionMessage
string
Java Schema
Shared Configuration
Only the public data members of the Java class are mapped to XML elements.
Private and protected members are not included.
The Java class member public variable name is mapped to an XML element
with the same name. For example, a Java class member variable declared as
public int ZipCode is mapped to an XML element named ZipCode.
Java Bean accessors and modifiers are mapped to appropriate XML element
names. For example, a Java class method public int getBalance() or
public void setBalance(int Balance) are mapped to an XML element
named Balance.
Only one XML element is created regardless of how many members of the
Java class share the same name. For example, there may be an attribute named
MySalary and accessors named getMySalary() and setMySalary(). This
translates to one element named MySalary in the resulting XML document.
Configuration
The Configuration tab has the following fields.
Field
Description
Name
306
| Chapter 7
Java Palette
Field
Description
Description
Java
Library
Class
Schema Namespace
Schema Text
The Schema Text tab displays the resulting XML schema from the Java class
selected on the Configuration tab.
Java To XML
Activity
The Java To XML activity allows you to convert a Java objects data
members into an XML document. See Java Schema on page 305 for the
conversion rules.
If the class does not have a public data member and only has a Java bean modifier
that sets the data, the input schema contains an element for the modifier, but the
resulting XML document has no value set for the corresponding element.
For example, the Java object has a method declared as public int setID(), but
there is no method for getting the ID and the data member ID is not public. In this
case, there will be an element named ID in this activitys output schema, but that
element has no value because there is no public mechanism for getting the data.
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Description
Name
No
Description
No
No
Java Schema:
No
308
| Chapter 7
Java Palette
Field
Global
Var?
Description
Java Class:
No
Advanced
The Advanced tab has the following fields:.
Field
Global
Var?
Description
Construct
Declared Class
No
Field
Global
Var?
Description
Cache
Constructed
Class
No
Input
See TIBCO ActiveMatrix BusinessWorks Process Design Guide for more information
about mapping and transforming input data.
The input for the activity is the following.
Input Item
Datatype
Description
<declaringClass>
Java
Object
Output
The output for the activity is the following.
Output Item
Datatype
Description
XML Schema
varies
310
| Chapter 7
Java Palette
Error Output
The Error Output tab lists the possible exceptions that can be thrown by this
activity. See TIBCO ActiveMatrix BusinessWorks Error Codes for more information
about error codes and corrective action to take.
Exception
Thrown When...
JavaToXMLConversionException
XML To Java
Activity
The Java class must have a public default constructor (that is, a constructor
with no arguments).
The Java class must be serializable (that is, the class must implement or be a
subclass of a class that implements java.io.Serializable).
See Java Schema on page 305 for a description of the conversion rules.
If the class does not have a public data member and only has a Java bean accessor
that retrieves the data, the input schema contains an element for the accessor, but
the resulting Java object has no value set for the member.
For example, the object has a method declared as public int getID(), but there
is no method for setting the ID and the data member ID is not public. In this case,
there is an element named ID in this activitys input schema, but mapping a value
to the element does not result in setting the ID member of the output Java object
because there is no public mechanism for setting the data.
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Description
Name
No
Description
No
No
312
| Chapter 7
Java Palette
Field
Global
Var?
Description
Java Schema:
No
Java Class:
No
Input
See TIBCO ActiveMatrix BusinessWorks Process Design Guide for more information
about mapping and transforming input data.
The input for the activity is the following.
Input Item
Datatype
Description
XML Schema
varies
Output
The output for the activity is the following.
Output Item
Datatype
Description
<declaringClass>
Java
Object
Error Output
The Error Output tab lists the possible exceptions that can be thrown by this
activity. See TIBCO ActiveMatrix BusinessWorks Error Codes for more information
about error codes and corrective action to take.
Exception
Thrown When...
XMLToJavaConversionException
314
| Chapter 7
Java Palette
| 315
Chapter 8
JDBC Palette
The JDBC palette contains activities and shared configuration resources for
querying, updating, or calling stored procedures in a database.
Topics
316
| Chapter 8
JDBC Palette
The JDBC Call Procedure activity calls a database procedure using the
specified JDBC connection.
If this activity is not part of a transaction group, the SQL statement is
committed after the activity completes. If this activity is part of a
transaction group, the SQL statement is committed or rolled back with the other
JDBC activities in the group at the end of the transaction. See TIBCO ActiveMatrix
BusinessWorks Process Design Guide for more information about creating groups
for transactions.
If you wish to override the default behavior of transaction groups for certain
JDBC activities in a transaction group, you can check the Override Transaction
Behavior field on the Advanced tab. This specifies that the activity is outside of
the transaction and the SQL statement is committed when the activity completes,
even if the activity is in a transaction group.
The Refresh button on this activity allows you to synchronize the activity with the
contents of the database. This is useful if you make a change to the database while
you are editing a process definition containing this activity in TIBCO
ActiveMatrix BusinessWorks.
When using the jConn or Data Direct 3.3 driver and connecting to a Sybase
database, stored procedures that are supposed to return multiple result sets do
not return any data. To avoid this problem, you can either use the
sun.jdbc.odbc.JdbcOdbcDriver instead or you can add set nocount on to
your stored procedure definition.
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Name
No
Description
No
JDBC
Connection
Yes
Description
Field
Global
Var?
Description
Schema
Yes
Catalog/Package
Yes
Procedure/
Function Name
Yes
318
| Chapter 8
JDBC Palette
Field
Global
Var?
Description
Timeout (sec)
Yes
Maximum Rows
Yes
Parameter Types
No
Advanced
The Advanced tab has the following fields.
Field
Override
Transaction
Behavior
Global
Var?
Yes
Description
Overrides the default behavior of a transaction
group. If this activity is in a transaction group,
the activity is normally committed or rolled
back with the other transactional activities.
If this checkbox is checked, this activity is not
part of the transaction group and is committed
when it completes. Checking this option uses a
separate database connection to perform the
activity and commit the SQL statement.
Interpret Empty
String as Null
No
Field
Global
Var?
Description
Resultsets Use
Schema
No
Input
The input for this activity is dependent upon the input parameters of the database
procedure.
Input Item
Datatype
Description
ServerTimeZone
string
inputSet
complex
timeout
number
320
| Chapter 8
JDBC Palette
Input Item
Datatype
Description
maxRows
number
Output
The output for the activity is dependent upon the output parameters of the
database procedure.
Output Item
Datatype
Description
outputSet
complex
unknownResultSets
complex
Output Item
Datatype
Description
Elapsed Time
long
in the
file. However, note that
setting this property will turn off the
calculation of elapsed time at run-time
for all the JDBC activities.
stats.elapsedTime.turnoff
bwengine.tra
322
| Chapter 8
JDBC Palette
Error Output
The Error Output tab lists the possible exceptions that can be thrown by this
activity. See TIBCO ActiveMatrix BusinessWorks Error Codes for more information
about error codes and corrective action to take.
Exception
Thrown When...
JDBCDriverLoadingException
JDBCConnectionNotFoundException
InvalidTimeZoneException
JDBCSQLException
JDBCTimedOutException
LoginTimedOutException
JDBC Connection
Shared Configuration
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Description
Name
No
Description
No
Connection
Type
No
JDBC
JNDI
XA
Yes
324
| Chapter 8
JDBC Palette
Field
Global
Var?
Description
Database URL
Yes
No
User Name
Yes
Password
Yes
Login Timeout
Yes
Field
Global
Var?
Description
No
JNDI
Configuration
No
JNDI Context
Factory
No
326
| Chapter 8
JDBC Palette
Field
Global
Var?
Description
JNDI Context
URL
Yes
JNDI User
Name
Yes
JNDI
Password
Yes
JNDI
DataSource
Name
Yes
No
Field
Global
Var?
Description
Database URL
Yes
Yes
User Name
Yes
Password
Yes
Database Drivers
The following drivers are included in the TIBCO ActiveMatrix BusinessWorks
installation:
tibcosoftwareinc.jdbc.oracle.OracleDriver
tibcosoftwareinc.jdbc.oracle.OracleDriver (RAC)
tibcosoftwareinc.jdbc.sqlserver.SQLServerDriver
tibcosoftwareinc.jdbc.sybase.SybaseDriver
tibcosoftwareinc.jdbc.db2.DB2Driver
The following drivers are supported, but you must obtain, install, and configure
these from the appropriate vendor:
oracle.JDBC.driver.OracleDriver (oci)
oracle.JDBC.driver.OracleDriver (thin)
com.sybase.jdbc2.jdbc.SybDriver
com.timesten.jdbc.TimesTenDriver
328
| Chapter 8
JDBC Palette
com.ibm.db2.jcc.DB2Driver
com.mysql.jdbc.Driver
The following drivers are JDBC 2.0-compliant and should work correctly, but they
are not officially supported with BusinessWorks. You must obtain, install, and
configure the driver from the appropriate vendor:
sun.jdbc.odbc.JdbcOdbcDriver
weblogic.jdbc.mssqlserver4.Driver
You can download, install, and use other JDBC drivers, but TIBCO does not
guarantee the drivers will function properly with TIBCO ActiveMatrix
BusinessWorks. To use an unsupported driver, perform the following:
1. Download the JDBC driver and copy the required JAR files to a location in the
classpath of the TIBCO ActiveMatrix BusinessWorks Engine. For example,
you can copy the files to the following location:
TIBCO_HOME/tpcl/<version>/jdbc.
2. In the JDBC Connection resource, choose Select Driver from the drop-down
list in the JDBC Driver field and type in the name of the driver class in the text
box within that field. Then, type in the correct URL in the Database URL field
and specify the other fields in the resource.
See TIBCO ActiveMatrix BusinessWorks Release Notes for more information on the
supported and tested versions of databases and database drivers.
Connection Pooling
TIBCO ActiveMatrix BusinessWorks creates a pool of JDBC connections for every
JDBC Connection shared resource that uses the JDBC connection type. The
maximum size of this pool is specified by the Maximum Connections
configuration field.
Activities that use this JDBC Connection resource are given a connection from the
pool. Once the maximum number of connections is reached, activities requesting
a connection cannot proceed. Once a connection is freed by an activity, the
connection is returned to the pool.
Connections that are left open will eventually time out and be closed. These
connections can be reopened at a later time, until the maximum number of
connections specified in this field is reached. If you wish to configure a timeout
value for these connections, you can set the Engine.DBConnection.idleTimeout
property. See TIBCO ActiveMatrix BusinessWorks Process Design Guide for more
information.
If an activity detects a connection in the pool is invalid (for example, the database
is restarted), the activity that uses the JDBC connection resource attempts to
reestablish the connection.
All activities that are part of the same transaction will use the same connection in
the connection pool. The first activity in a transaction attempts to reestablish an
invalid connection. If a connection becomes invalid during a transaction, the
transaction is rolled back and must be retried, if necessary.
330
| Chapter 8
JDBC Palette
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Name
No
Description
No
JDBC
Connection
Yes
Override
Transaction
Behavior
No
Description
Input
This activity has no input.
Output
The output for the activity is dependent upon the output parameters of the
database procedure.
Output Item
Datatype
Description
JavaConnectionAccesor
Java
Object
332
| Chapter 8
JDBC Palette
Output Item
Datatype
Description
Elapsed Time
long
is set to true in
For run-time, set the
property to true in the bwengine.tra
file. By default, the property is set to
false.
ectionActivity
designer.tra.
in
the bwengine.tra file. However, note
that setting this property will turn off
the calculation of elapsed time at
run-time for all the JDBC activities.
t.stats.elapsedTime.turnoff
Error Output
The Error Output tab lists the possible exceptions that can be thrown by this
activity. See TIBCO ActiveMatrix BusinessWorks Error Codes for more information
about error codes and corrective action to take.
Exception
Thrown When...
JDBCSQLException
LoginTimedOutException
java.sql.Connection getDBConnection();
retrieves a database
void releaseConnection();
334
| Chapter 8
JDBC Palette
JDBC Query
Activity
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Name
No
Description
No
JDBC
Connection
Yes
SQL Statement
Yes
Timeout (sec)
Yes
Description
336
| Chapter 8
JDBC Palette
Field
Global
Var?
Description
Maximum
Rows
Yes
Prepared
Parameters
No
Fetch Button
The Fetch button on this activity allows you to synchronize the activity with the
contents of the database.
When you first configure a JDBC activity, you must click the Fetch button to
retrieve the schema for the output result set before attempting to apply your
changes with the Apply button or by saving your project. If you do not click the
Fetch button before applying your changes, TIBCO ActiveMatrix BusinessWorks
displays an error dialog prompting you to first fetch the output schema.
After you have configured your activity, the Fetch button is useful when you
make a change to the database while editing a process definition containing this
activity in TIBCO ActiveMatrix BusinessWorks. The Fetch button synchronizes
with the database and changes the output schema, if necessary.
Prepared Parameters
If you wish to replace static names in the SQL statement with process variables,
you must edit the SQL Statement field and replace the variable items with a
question mark (?). For example, if you wish to specify a variable for the first
column returned, you would specify the following SQL statement:
SELECT DEMO.ITEM.ITEM_ID FROM DEMO.ITEM
WHERE DEMO.ITEM.ITEM_ID = ?
The ? replaces the value in the WHERE clause, and you can then provide input to
the SQL statement from process data on the Input tab.
Editing the SQL statement disables the Design tab of the Query Designer wizard.
Make sure you have designed the query you need before editing it and inserting
question marks for process variables. If your question marks are in the WHERE
clause, you can put those conditions into the Design tab in the Where fields of
each column. This will allow you to keep the Design tab available and still have
process variables in your query.
Keep in mind, ? is not valid SQL syntax, so checking the syntax of a query that
contains question marks will return an invalid character error in the Query
Designer wizard.
When you add or remove question marks in SQL statements, a warning appears
to the right of the Prepared Parameters field ("SQL/ Prepared Parameter Count
Mismatch") to alert you to add or remove corresponding prepared parameters.
Each prepared parameter corresponds to the question mark in the same position
in the SQL statement. That is, the first prepared parameter in the list corresponds
to the first question mark, the second prepared parameter in the list corresponds
to the second question mark, and so on. The warning is for informational
purposes only, you must make sure the parameters in this field correctly
correspond to the SQL statement.
You can optionally specify names for each prepared parameter. By default, the
prepared parameters are named Prepared_Param_1, Prepared_Param_2, and so
on.
You must supply the datatype of each parameter to the SQL statement, and this
datatype is used in the input schema for the statement. You can use the up or
down arrow keys to move a specified datatype to the previous or next parameter.
You can also select a contiguous set of parameters to move them up or down, or
delete them with the delete button.
At run time, any parameters you place in the SQL statement are replaced with the
mapped values for those parameters on the Input tab.
Any mappings or expressions you create on the Input tab are not updated when
you move or delete prepared parameters. You must manually update the Input
tab after changing the prepared parameter field.
338
| Chapter 8
JDBC Palette
Advanced
The Advanced tab has the following fields.
Field
Override
Transaction
Behavior
Global
Var?
Yes
Description
Overrides the default behavior of a transaction
group. If this activity is in a transaction group, the
activity is normally committed or rolled back with
the other transactional activities.
If this checkbox is checked, this activity is not part
of the transaction group and is committed when it
completes. Checking this option uses a separate
database connection to perform the activity and
commit the SQL statement.
Use Nil
No
Field
Global
Var?
Description
Interpret
Empty String
as Null
No
Process In
Subsets
No
340
| Chapter 8
JDBC Palette
Input
The input for the activity is the following.
Input Item
Datatype
Description
ServerTimeZone
string
Prepared_Param_*
varies
integer
(name corresponds
to name specified in
the Prepared
Parameters field on
the Configuration
tab)
subsetSize
Input Item
Datatype
Description
timeout
number
maxRows
number
342
| Chapter 8
JDBC Palette
The procedure above is a general guideline for creating a loop group for
processing a large set of records. You may want to modify the procedure to
include additional processing of the records, or you may want to change the
XPath expressions to suit your business process.
See the examples included in the TIBCO ActiveMatrix BusinessWorks installation
directory for an example of processing subsets of a larger result set.
Output
The output for the activity is the following.
Output
Item
Datatype
Description
resultSet
complex
Record
complex
lastSubset
boolean
Output
Item
Datatype
Description
Elapsed
Time
long
is set to true in
For run-time, set the property to
true in the bwengine.tra file. By default, the
property is set to false.
apsedTime.JDBCQueryActivity
designer.tra.
Error Output
The Error Output tab lists the possible exceptions that can be thrown by this
activity. See TIBCO ActiveMatrix BusinessWorks Error Codes for more information
about error codes and corrective action to take.
Exception
Thrown When...
JDBCDriverLoadingException
344
| Chapter 8
JDBC Palette
Exception
Thrown When...
InvalidSQLTypeException
JDBCConnectionNotFoundException
DuplicatedFieldNameException
InvalidTimeZoneException
JDBCSQLException
JDBCTimedOutException
LoginTimedOutException
JDBC Update
Activity
Configuration
The Configuration tab has the following fields:
Field
Global
Var?
Name
No
Description
No
JDBC Connection
Yes
SQL Statement
Yes
Timeout (sec)
Yes
Prepared
Parameters
No
Description
346
| Chapter 8
JDBC Palette
Prepared Parameters
If you wish to replace static names in the SQL statement with process variables,
you must edit the SQL statement field and replace the variable items with a
question mark (?). For example, you might specify the following statement:
UPDATE emp SET ename = ?, phone = ?
WHERE id = ?
The ? replaces the value, and you can then provide input to the SQL statement
from process data on the input tab.
When you add or remove question marks in SQL statements, a warning appears
to the right of the Prepared Parameters field ("SQL/ Prepared Parameter Count
Mismatch") to alert you to add or remove corresponding prepared parameters.
Each prepared parameter corresponds to the question mark in the same position
in the SQL statement. That is, the first prepared parameter in the list corresponds
to the first question mark, the second prepared parameter in the list corresponds
to the second question mark, and so on. The warning is for informational
purposes only, you must make sure the parameters in this field correctly
correspond to the SQL statement.
You can optionally specify names for each prepared parameter. By default, the
prepared parameters are named Prepared_Param_1, Prepared_Param_2, and so
on.
You must supply the datatype of each parameter to the SQL statement, and this
datatype is used in the input schema for the statement. You can use the up or
down arrow keys to move a specified datatype to the previous or next parameter.
You can also select a contiguous set of parameters to move them up or down, or
delete them with the delete button.
At run time, any parameters you place in the SQL statement are replaced with the
mapped values for those parameters.
Any mappings or expressions you create on the Input tab are not updated when
you move or delete prepared parameters. You must manually update the Input
tab after changing the prepared parameter field.
For INSERT and DELETE statements, all prepared parameters appear as required
items in the Input tab. For UPDATE statements, all prepared parameters appear
as optional in the Input tab, but you must supply a value for at least one column
in the statement or a runtime error occurs.
Advanced
The Advanced tab has the following fields:
Field
Override
Transaction
Behavior
Global
Var?
Yes
Description
Overrides the default behavior of a transaction
group. If this activity is in a transaction group,
the activity is normally committed or rolled back
with the other transactional activities.
If this checkbox is checked, this activity is not
part of the transaction group and is committed
when it completes. Checking this option uses a
separate database connection to perform the
activity and commit the SQL statement.
Interpret Empty
String as Null
No
348
| Chapter 8
JDBC Palette
Field
Global
Var?
Description
Batch Update
No
Input
The input for the activity is the following:
Input Item
Datatype
Description
Record
repeating
Prepared_Param_*
varies
(name corresponds to
name specified in the
Prepared Parameters
field on the
Configuration tab)
Input Item
Datatype
Description
ServerTimeZone
string
timeout
number
Output
The output for the activity is the following:
Output Item
Datatype
Description
noOfUpdates
integer
350
| Chapter 8
JDBC Palette
Output Item
Datatype
Description
Elapsed Time
long
Error Output
The Error Output tab lists the possible exceptions that can be thrown by this
activity. See TIBCO ActiveMatrix BusinessWorks Error Codes for more information
about error codes and corrective action to take.
Exception
Thrown When...
JDBCDriverLoadingException
Exception
Thrown When...
InvalidSQLTypeException
JDBCConnectionNotFoundException
InvalidTimeZoneException
JDBCSQLException
JDBCTimedOutException
LoginTimedOutException
352
| Chapter 8
JDBC Palette
Query Designer
Wizard
The Query Designer is a GUI tool for building SQL queries, testing syntax, and
previewing results before running the process. You can use the Query Designer in
one of the following ways:
In the JDBC Query activity, you must first specify a JDBC Connection shared
configuration resource to connect to a database. Once the database connection is
specified in the JDBC Query activity, you can click the Build Using Wizard button
to create a query using the Query Designer wizard. Figure 18 illustrates the Query
Designer.
Figure 18 The Query Designer wizard
a Table Diagram panel, where you can drag and drop tables from the Schema
panel to build a SQL query.
a SQL panel, where you can design, refine, view, and test the query. This panel
has three tabs for designing, editing, and testing your queries.
354
| Chapter 8
JDBC Palette
For example:
By default, all table columns are included in the query. To constrain query
syntax, click the Design tab in the SQL panel. You can drag individual
columns from the Table Diagram panel to the Add Column area of this tab to
refine the query. The Add Column entry is a placeholder only, and does not
affect the output. It is meant to be the area where you can drag columns from
the tables to add to the query.
Clicking the SQL tab to view the modified syntax shows the query now selects
only from the set of columns:
SELECT DEMO.CUSTOMER.CUSTOMER_ID, DEMO.CUSTOMER.NAME,
DEMO.CUSTOMER.SALESPERSON_ID, DEMO.SALES_ORDER.TOTAL
FROM DEMO.CUSTOMER, DEMO.SALES_ORDER
WHERE (DEMO.CUSTOMER.CUSTOMER_ID =
DEMO.SALES_ORDER.CUSTOMER_ID)
2. To group sales by customer and show sales totals, perform the following:
For the TOTAL column, click in the Total field and select Sum from the list.
The other columns are automatically updated to select the Group By value
required for this function.
For the CUSTOMER_ID column, click the Show checkbox to deselect it.
This column is necessary for the query, but can be hidden in the output.
Clicking the SQL tab to view the syntax shows the SUM function and GROUP
clause has been added to the SQL:
BY
Other criteria can be applied using the Sort, Criteria, and Or fields.
3. To check the SQL syntax, click the Check Syntax button.
A dialog displays either a success message, or a database error code and
message.
356
| Chapter 8
JDBC Palette
4. After checking the syntax, click the Execute button on the Test tab to preview
the query results:
You can build, modify, and test SQL queries only, not UPDATE statements or
stored procedures.
If you wish to select columns with the same name from different tables, you
must specify column aliases for the columns that have the same name. In SQL,
you may select columns with the same name from different tables in the same
SQL statement, however, TIBCO ActiveMatrix BusinessWorks requires that all
names in an input or output schema are unique. Therefore, you must specify
column aliases to ensure that all items in the output schema for a query are
unique.
SQL Direct
Activity
The SQL Direct activity executes a SQL statement that you provide. This
activity allows you to build a SQL statement dynamically (using other
activities), then pass the SQL statement into this activitys input. This
activity also allows you to execute SQL statements that are not supported by other
activities in the JDBC palette. For example, DDL commands (for example, CREATE
TABLE) are not available using any other activity.
If this activity is not part of a transaction group, the SQL statement is committed
after the activity completes. If this activity is part of a transaction group, the SQL
statement is committed or rolled back with the other JDBC activities in the group
at the end of the transaction. See TIBCO ActiveMatrix BusinessWorks Process Design
Guide for more information about creating groups for transactions.
If you wish to override the default behavior of transaction groups for certain
JDBC activities in a transaction group, you can check the Override Transaction
Behavior field on the Advanced tab. This specifies that the activity is outside of
the transaction and the SQL statement is committed when the activity completes,
even if the activity is in a transaction group.
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Name
No
Description
No
JDBC
Connection
Yes
Timeout (sec)
Yes
Maximum
Rows
Yes
Description
358
| Chapter 8
JDBC Palette
Advanced
The Advanced tab has the following fields.
Field
Override
Transaction
Behavior
Global
Var?
Yes
Description
Overrides the default behavior of a transaction
group. If this activity is in a transaction group, the
activity is normally committed or rolled back with
the other transactional activities.
If this checkbox is checked, this activity is not part
of the transaction group and is committed when it
completes. Checking this option uses a separate
database connection to perform the activity and
commit the SQL statement.
Input
The input for the activity is the following.
Input Item
Datatype
Description
ServerTimeZone
string
statement
string
timeout
number
Input Item
Datatype
Description
maxRows
number
Output
The output for the activity is the following.
Output Item
Datatype
Description
noOfUpdates
integer
360
| Chapter 8
JDBC Palette
Output Item
Datatype
Description
unknownResultSet
complex
Output Item
Datatype
Description
Elapsed Time
long
in the
file. However, note that
setting this property will turn off the
calculation of elapsed time at run-time for
all the JDBC activities.
ats.elapsedTime.turnoff
bwengine.tra
362
| Chapter 8
JDBC Palette
Error Output
The Error Output tab lists the possible exceptions that can be thrown by this
activity. See TIBCO ActiveMatrix BusinessWorks Error Codes for more information
about error codes and corrective action to take.
Exception
Thrown When...
JDBCDriverLoadingException
JDBCConnectionNotFoundException
InvalidTimeZoneException
JDBCSQLException
JDBCTimedOutException
LoginTimedOutException
Examples
Date in
Database
serverTimeZone
Constructed DateTime
Dec/5/1972
no value
1972-12-05T00:00:00-08:00
Jun/2/2003
no value
2003-06-02T00:00:00-07:00
Dec/5/1972
America/Los_Angeles
1972-12-05T00:00:00-08:00
Jun/2/2003
America/Los_Angeles
2003-06-02T00:00:00-07:00
Dec/5/1972
EST
1972-12-05T00:00:00-05:00
Jun/2/2003
EST
2003-06-02T00:00:00-04:00
364
| Chapter 8
JDBC Palette
MIT
Africa/Casablanca
Asia/Tehran
Pacific/Apia
Africa/Conakry
MET
Pacific/Niue
Africa/Dakar
Asia/Aqtau
Pacific/Pago_Pago
Africa/Freetown
Asia/Baku
America/Adak
Africa/Lome
Asia/Dubai
HST
Africa/Monrovia
Asia/Muscat
Pacific/Fakaofo
Africa/Nouakchott
Asia/Tbilisi
Pacific/Honolulu
Africa/Ouagadougou
Asia/Yerevan
Pacific/Rarotonga
Africa/Sao_Tome
Europe/Samara
Pacific/Tahiti
Africa/Timbuktu
Indian/Mahe
Pacific/Marquesas
Atlantic/Canary
Indian/Mauritius
AST
Atlantic/Faeroe
Indian/Reunion
America/Anchorage
Atlantic/Reykjavik
NET
Pacific/Gambier
Atlantic/St_Helena
Asia/Kabul
America/Los_Angeles
Europe/Dublin
Asia/Aqtobe
America/Tijuana
Europe/Lisbon
Asia/Ashgabat
America/Vancouver
Europe/London
Asia/Ashkhabad
PST
GMT
Asia/Bishkek
Pacific/Pitcairn
UTC
Asia/Dushanbe
America/Dawson_Creek
WET
Asia/Karachi
America/Denver
Africa/Algiers
Asia/Tashkent
America/Edmonton
Africa/Bangui
Asia/Yekaterinburg
America/Mazatlan
Africa/Douala
Indian/Chagos
America/Phoenix
Africa/Kinshasa
Indian/Kerguelen
MST
Africa/Lagos
Indian/Maldives
PNT
Africa/Libreville
PLT
America/Belize
Africa/Luanda
Asia/Calcutta
America/Chicago
Africa/Malabo
IST
America/Costa_Rica
Africa/Ndjamena
Asia/Katmandu
America/El_Salvador
Africa/Niamey
Antarctica/Mawson
America/Guatemala
Africa/Porto-Novo
Asia/Almaty
America/Managua
Africa/Tunis
Asia/Colombo
America/Mexico_City
Africa/Windhoek
Asia/Dacca
America/Regina
ECT
Asia/Dhaka
America/Tegucigalpa
Europe/Amsterdam
Asia/Novosibirsk
America/Winnipeg
Europe/Andorra
Asia/Thimbu
CST
Europe/Belgrade
Asia/Thimphu
Pacific/Easter
Europe/Berlin
BST
Pacific/Galapagos
Europe/Brussels
Asia/Rangoon
America/Bogota
Europe/Budapest
Indian/Cocos
America/Cayman
Europe/Copenhagen
Asia/Bangkok
366
| Chapter 8
JDBC Palette
America/Grand_Turk
Europe/Gibraltar
Asia/Jakarta
America/Guayaquil
Europe/Luxembourg
Asia/Krasnoyarsk
America/Havana
Europe/Madrid
Asia/Phnom_Penh
America/Indianapolis
Europe/Malta
Asia/Saigon
America/Jamaica
Europe/Monaco
Asia/Vientiane
America/Lima
Europe/Oslo
Indian/Christmas
America/Montreal
Europe/Paris
VST
America/Nassau
Europe/Prague
Antarctica/Casey
America/New_York
Europe/Rome
Asia/Brunei
America/Panama
Europe/Stockholm
Asia/Hong_Kong
America/Port-au-Prince
Europe/Tirane
Asia/Irkutsk
America/Porto_Acre
Europe/Vaduz
Asia/Kuala_Lumpur
America/Rio_Branco
Europe/Vienna
Asia/Macao
EST
Europe/Warsaw
Asia/Manila
IET
Europe/Zurich
Asia/Shanghai
America/Anguilla
ART
Asia/Singapore
America/Antigua
Africa/Blantyre
Asia/Taipei
America/Aruba
Africa/Bujumbura
Asia/Ujung_Pandang
America/Asuncion
Africa/Cairo
Asia/Ulaanbaatar
America/Barbados
Africa/Gaborone
Asia/Ulan_Bator
America/Caracas
Africa/Harare
Australia/Perth
America/Cuiaba
Africa/Johannesburg
CTT
America/Curacao
Africa/Kigali
Asia/Jayapura
America/Dominica
Africa/Lubumbashi
Asia/Pyongyang
America/Grenada
Africa/Lusaka
Asia/Seoul
America/Guadeloupe
Africa/Maputo
Asia/Tokyo
America/Guyana
Africa/Maseru
Asia/Yakutsk
America/Halifax
Africa/Mbabane
JST
America/La_Paz
Africa/Tripoli
Pacific/Palau
America/Manaus
Asia/Amman
ACT
America/Martinique
Asia/Beirut
Australia/Adelaide
America/Montserrat
Asia/Damascus
Australia/Broken_Hill
America/Port_of_Spain
Asia/Jerusalem
Australia/Darwin
America/Puerto_Rico
Asia/Nicosia
AET
America/Santiago
CAT
Antarctica/DumontDUrville
America/Santo_Domingo
EET
Asia/Vladivostok
America/St_Kitts
Europe/Athens
Australia/Brisbane
America/St_Lucia
Europe/Bucharest
Australia/Hobart
America/St_Thomas
Europe/Chisinau
Australia/Sydney
America/St_Vincent
Europe/Helsinki
Pacific/Guam
America/Thule
Europe/Istanbul
Pacific/Port_Moresby
America/Tortola
Europe/Kaliningrad
Pacific/Saipan
Antarctica/Palmer
Europe/Kiev
Pacific/Truk
Atlantic/Bermuda
Europe/Minsk
Australia/Lord_Howe
Atlantic/Stanley
Europe/Riga
Asia/Magadan
PRT
Europe/Simferopol
Pacific/Efate
368
| Chapter 8
JDBC Palette
America/St_Johns
Europe/Sofia
Pacific/Guadalcanal
CNT
Europe/Tallinn
Pacific/Kosrae
AGT
Europe/Vilnius
Pacific/Noumea
America/Buenos_Aires
Africa/Addis_Ababa
Pacific/Ponape
America/Cayenne
Africa/Asmera
SST
America/Fortaleza
Africa/Dar_es_Salaam
Pacific/Norfolk
America/Godthab
Africa/Djibouti
Antarctica/McMurdo
America/Miquelon
Africa/Kampala
Asia/Anadyr
America/Montevideo
Africa/Khartoum
Asia/Kamchatka
America/Paramaribo
Africa/Mogadishu
NST
America/Sao_Paulo
Africa/Nairobi
Pacific/Auckland
BET
Asia/Aden
Pacific/Fiji
America/Noronha
Asia/Baghdad
Pacific/Funafuti
Atlantic/South_Georgia
Asia/Bahrain
Pacific/Majuro
America/Scoresbysund
Asia/Kuwait
Pacific/Nauru
Atlantic/Azores
Asia/Qatar
Pacific/Tarawa
Atlantic/Cape_Verde
Asia/Riyadh
Pacific/Wake
Atlantic/Jan_Mayen
EAT
Pacific/Wallis
Africa/Abidjan
Europe/Moscow
Pacific/Chatham
Africa/Accra
Indian/Antananarivo
Pacific/Enderbury
Africa/Banjul
Indian/Comoro
Pacific/Tongatapu
Africa/Bissau
Indian/Mayotte
Pacific/Kiritimati
| 369
Chapter 9
JMS Palette
Java Message Service (JMS) is a specification for how messages are sent and
received between applications in a Java environment.
The JMS palette is used to send and receive JMS messages in a process definition.
Both the JMS point-to-point (queues) and publish/subscribe (topics) models are
supported.
Refer to the documentation of your JMS provider or the JMS specification for
more information about JMS and its message models.
See TIBCO ActiveMatrix BusinessWorks Release Notes for more information about
specific support for JMS providers.
Topics
370
| Chapter 9
JMS Palette
The Get JMS Queue Message activity retrieves a message from the
specified queue. This activity allows you to perform a receive
operation on the queue as opposed to waiting for a queue message to
be delivered to the Wait for JMS Queue Message activity or the JMS
Queue Receiver process starter.
You can use the Message Selector field on the Advanced tab to retrieve a specific
queue message from the queue.
The Get JMS Queue Message activity is different from the Wait for JMS Queue
Message activity in the following ways:
Unlike the Wait for activity, which starts listening for messages from the time
the BusinessWorks engine starts, this activity starts listening for incoming
messages on the specified queue from the time the activity is triggered.
This activity can receive only one message from the specified queue at a time,
when the Message Selector is not used.
Once triggered, this activity can either gets a message from the specified
destination queue name before timeout and proceeds or it throws a timeout
error and exits.
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Name
No
Description
No
JMS
Connection
No
Description
372
| Chapter 9
JMS Palette
Field
Global
Var?
Description
Destination
Queue
Yes
Message Type
No
Field
Global
Var?
Description
Acknowledge
Mode
Yes
374
| Chapter 9
JMS Palette
Advanced
The Advanced tab has the following fields.
Field
Message
Selector
Global
Var?
Yes
Description
A string to determine whether a message should
be received. The syntax of the message selector is
determined by the JMS provider, but it is usually
a subset of SQL92 (where message properties are
used instead of table column names).
See your JMS provider documentation for more
information and syntax for a message selector
string.
JMS
Application
Properties
No
Input
See TIBCO ActiveMatrix BusinessWorks Process Design Guide for more information
about mapping and transforming input data.
The input for the activity is the following.
Input Item
Datatype
Description
destinationQueue
string
timeout
integer
Input Item
Datatype
Description
selector
string
Output Editor
The Output Editor tab defines the schema to use for messages of type Map,
Stream, or XML Text. Map messages are name/value pairs, and the schema
allows you to define the structure of the retrieved queue message. The schema
defined on the Output Editor tab becomes the body of the message on the Output
tab.
See Appendix A, Specifying Data Schema, on page 701 for a complete description
of using the Output Editor tab.
Output
The output for the activity is the following.
Output Item
Datatype
Description
JMSHeaders
complex
JMSProperties
complex
376
| Chapter 9
JMS Palette
Output Item
Datatype
Description
OtherProperties
complex
Body
depends
upon
message
type
Error Output
The Error Output tab lists the possible exceptions that can be thrown by this
activity. See TIBCO ActiveMatrix BusinessWorks Error Codes for more information
about error codes and corrective action to take.
Exception
Thrown When...
JMSInvalidInputException
JMSSessionCreateException
JMSReceiveException
ActivityTimedOutException
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Description
Name
No
Description
No
Properties
No
378
| Chapter 9
JMS Palette
JMS Connection
Shared Configuration
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Description
Name
No
Description
No
User Name
Yes
Password
Yes
Field
Global
Var?
Description
Auto-Generate
Client ID
Yes
Yes
380
| Chapter 9
JMS Palette
Field
Global
Var?
Description
SSL
No
Yes
Provider URL
Yes
Use XA
Connection
Factory
No
Use Shared
JNDI
Configuration
No
Field
Global
Var?
Description
JNDI
Configuration
No
JNDI Context
Factory
Yes
JNDI Context
URL
Yes
382
| Chapter 9
JMS Palette
Field
Global
Var?
Description
JNDI User
Name
Yes
JNDI
Password
Yes
Connection
Factory SSL
Password
Yes
Advanced
The Advanced tab has the following fields.
Field
Topic
Connection
Factory
Global
Var?
Yes
Description
This field is only available when the Use JNDI for
Connection Factory field on the Configuration tab
is checked.
The TopicConnectionFactory object stored in
JNDI. This object is used to create a topic
connection with a JMS application.
See your JNDI provider documentation for more
information about creating and storing
TopicConnectionFactory objects.
Queue
Connection
Factory
Yes
JNDI
Properties
No
384
| Chapter 9
JMS Palette
SSL Configuration
The SSL Configuration button allows you to configure the SSL connection
parameters. The SSL Configuration dialog specifies the basic and advanced SSL
parameters you can set for the JMS server you are connecting to.
When using JNDI to lookup the JMS Connection factory, the parameters
ssl_identity and ssl_verify_host must be specified in the factories.conf
file of the Enterprise Message Service server.
The following sections describe the SSL Configuration dialog.
Basic
The Basic tab of the SSL Configuration dialog allows you to specify the simplest
required SSL configuration parameters for the connection.
Field
Description
Trusted Certificates
Folder
Identity
Advanced
The Advanced tab of the SSL Configuration dialog allows you to specify more
advanced SSL configuration parameters for the connection.
Field
Description
Trace
Debug Trace
386
| Chapter 9
JMS Palette
Field
Description
JMS Properties
Table 5 table describes message headers and message properties used in JMS
messages. MessageHeader properties are set by the JMS application sending the
message and are available to view once the message is received.
MessageProperties can be set on outgoing messages using the Input tab of the
activity that sends the message.
Table 5 Properties for JMS Messages
Property
Datatype
Description
JMSDestination
string
JMSReplyTo
string
JMSDeliveryMode
string
MessageHeaders
JMSMessageID
string
JMSTimestamp
long
388
| Chapter 9
JMS Palette
Datatype
Description
JMSExpiration
long
JMSRedelivered
boolean
JMSPriority
integer
JMSCorrelationID
string
Datatype
Description
JMSType
string
string
MessageProperties
JMSXUserID
string
JMSXProducerTIXID
string
JMSXConsumerTXID
string
390
| Chapter 9
JMS Palette
Datatype
Description
JMSXRcvTimestamp
integer
JMSXDeliveryCount
integer
JMSXGroupID
string
JMSXGroupSeq
integer
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Name
No
Description
No
JMS
Connection
No
Destination
Queue
Yes
Description
392
| Chapter 9
JMS Palette
Field
Global
Var?
Description
Message Type
No
Acknowledge
Mode
Yes
Field
Global
Var?
Description
394
| Chapter 9
JMS Palette
Field
Global
Var?
Description
Max Sessions
Yes
Misc
The Misc tab contains the following fields:
Field
Description
Sequencing Key
Custom Id
396
| Chapter 9
JMS Palette
Advanced
The Advanced tab has the following fields.
Field
Message
Selector
Global
Var?
Yes
Description
A string to determine whether a message should be
received. The syntax of the message selector is
determined by the JMS provider, but it is usually a
subset of SQL92 (where message properties are
used instead of table column names).
See your JMS provider documentation for more
information and syntax for a message selector
string.
JMS
Application
Properties
Yes
Receiver
Timeout
(seconds)
No
Precreate
Transactions
No
XA
Transaction
Manager
Reference
No
Output Editor
The Output Editor tab defines the schema to use for incoming messages whose
message type is Map, Stream, or XML Text. Map messages are name/value pairs,
and the schema allows you to define the structure of the incoming message. Once
defined, the schema on the Output Editor tab becomes the structure used for the
body of the message displayed on the Output tab.
See Appendix A, Specifying Data Schema, on page 701 for a complete description
of using the Output Editor tab.
Output
The output for the activity is the following.
Output Item
Datatype
Description
JMSHeaders
complex
JMSProperties
complex
OtherProperties
complex
Body
depends
upon the
message
type
398
| Chapter 9
JMS Palette
This activity uses temporary destinations to ensure that reply messages are
received only by the process that sent the request.
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Description
Name
No
Description
No
JMS
Connection
No
Destination
Queue
Yes
Field
Global
Var?
Description
Message
Type
No
400
| Chapter 9
JMS Palette
Advanced
The Advanced tab has the following fields.
Field
Global
Var?
Delivery mode
Yes
JMSExpiration
(secs)
Yes
Description
The delivery mode of the message. Can be one of
the following:
Priority
Yes
Type
Yes
JMS
Application
Properties
No
Input
See TIBCO ActiveMatrix BusinessWorks Process Design Guide for more information
about mapping and transforming input data.
The input for the activity is the following.
Input Item
Datatype
Description
destinationQueue
string
JMSExpiration
integer
JMSPriority
string
JMSCorrelationID
string
JMSType
string
402
| Chapter 9
JMS Palette
Input Item
Datatype
Description
requestTimeout
integer
replyToDestination
string
JMSProperties
complex
OtherProperties
complex
Body
depends
upon
message
type
Output
The output for the activity is the following.
Output Item
Datatype
Description
JMSHeaders
complex
JMSProperties
complex
OtherProperties
complex
Body
depends
upon
message
type
Error Output
The Error Output tab lists the possible exceptions that can be thrown by this
activity. See TIBCO ActiveMatrix BusinessWorks Error Codes for more information
about error codes and corrective action to take.
Exception
Thrown When...
JMSInvalidInputException
JMSMessageCreateException
JMSSessionCreateException
404
| Chapter 9
JMS Palette
Exception
Thrown When...
JMSSendException
JMSReceiveException
JMSActivityException
ActivityTimedOutException
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Name
No
Description
No
JMS Connection
No
Destination
Queue
Yes
Description
406
| Chapter 9
JMS Palette
Field
Global
Var?
Description
Message Type
No
Advanced
The Advanced tab has the following fields.
Field
Global
Var?
Reply-to Queue
Yes
Description
The name of the queue where replies should be
sent. This field is optional, and replies are sent to
the queue specified on the Configuration tab by
default.
Note: If you are using TIBCO Enterprise Message
Service as your JMS provider, you can use the
Browse button next to this field after specifying a
valid connection in the JMS Connection field. The
Browse button displays a list of configured
destinations in the JMS server that are appropriate
for this activity.
Delivery mode
JMSExpiration
(secs)
Yes
Yes
Priority
Yes
408
| Chapter 9
JMS Palette
Field
Global
Var?
Description
Type
Yes
JMS
Application
Properties
No
Override
Transaction
Behavior
Yes
Input Editor
The Input Editor tab defines the schema to use for outgoing messages whose
message type is Map, Stream, or XML Text. Map messages are name/value pairs,
and the schema allows you to define the structure of the outgoing message. Once
defined, the schema on the Input Editor tab becomes the structure used for the
body of the message displayed on the Input tab.
See Appendix A, Specifying Data Schema, on page 701 for a complete description
of using the Input Editor tab.
Input
See TIBCO ActiveMatrix BusinessWorks Process Design Guide for more information
about mapping and transforming input data.
The input for the activity is the following.
Input Item
Datatype
Description
destinationQueue
string
Input Item
Datatype
Description
replyToQueue
string
JMSExpiration
integer
JMSPriority
string
JMSDeliveryMode
string
NON_PERSISTENT
JMSCorrelationID
string
JMSType
string
JMSProperties
complex
410
| Chapter 9
JMS Palette
Input Item
Datatype
Description
OtherProperties
complex
Body
depends
upon
message
type
Output
The output for the activity is the following.
Output Item
Datatype
Description
MessageID
string
Error Output
The Error Output tab lists the possible exceptions that can be thrown by this
activity. See TIBCO ActiveMatrix BusinessWorks Error Codes for more information
about error codes and corrective action to take.
Exception
Thrown When...
JMSInvalidInputException
JMSMessageCreateException
JMSSessionCreateException
JMSSendException
JMSActivityException
The JMS Topic Publisher sends a message to the specified JMS topic.
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Name
No
Description
No
JMS
Connection
No
Destination
Topic
Yes
Description
412
| Chapter 9
JMS Palette
Field
Global
Var?
Description
Message
Type
No
Advanced
The Advanced tab has the following fields.
Field
Global
Var?
Reply-to Topic
Yes
Description
The name of the topic to which replies should be
sent. This field is optional, and replies are sent to
the topic specified on the Configuration tab by
default.
Note: If you are using TIBCO Enterprise Message
Service as your JMS provider, you can use the
Browse button next to this field after specifying a
valid connection in the JMS Connection field. The
Browse button displays a list of configured
destinations in the JMS server that are appropriate
for this activity.
Field
Global
Var?
Description
Delivery Mode
Yes
JMSExpiration
(secs)
Yes
Priority
Yes
Type
Yes
JMS
Application
Properties
No
Override
Transaction
Behavior
Yes
414
| Chapter 9
JMS Palette
Input Editor
The Input Editor tab defines the schema to use for outgoing messages whose
message type is Map, Stream, or XML Text. Map messages are name/value pairs,
and the schema allows you to define the structure of the outgoing message. Once
defined, the schema on the Input Editor tab becomes the structure used for the
body of the message displayed on the Input tab.
See Appendix A, Specifying Data Schema, on page 701 for a complete description
of using the Input Editor tab.
Input
See TIBCO ActiveMatrix BusinessWorks Process Design Guide for more information
about mapping and transforming input data.
The input for the activity is the following.
Input Item
Datatype
Description
destinationTopic
string
replyToTopic
string
JMSExpiration
integer
JMSPriority
string
Input Item
Datatype
Description
JMSDeliveryMode
string
PERSISTENT
NON_PERSISTENT
JMSCorrelationID
string
JMSType
string
JMSProperties
complex
OtherProperties
complex
Body
depends
upon
message
type
416
| Chapter 9
JMS Palette
Output
The output for the activity is the following.
Output Item
Datatype
Description
MessageID
string
Error Output
The Error Output tab lists the possible exceptions that can be thrown by this
activity. See TIBCO ActiveMatrix BusinessWorks Error Codes for more information
about error codes and corrective action to take.
Exception
Thrown When...
JMSInvalidInputException
JMSMessageCreateException
JMSSessionCreateException
JMSSendException
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Description
Name
No
Description
No
JMS Connection
No
Destination
Topic
Yes
418
| Chapter 9
JMS Palette
Field
Global
Var?
Description
Message Type
No
Advanced
The Advanced tab has the following fields.
Field
Global
Var?
Delivery Mode
Yes
JMSExpiration
(secs)
Yes
Description
The delivery mode of the message. Can be one of
the following:
Priority
Yes
Type
Yes
JMS
Application
Properties
No
420
| Chapter 9
JMS Palette
Input
See TIBCO ActiveMatrix BusinessWorks Process Design Guide for more information
about mapping and transforming input data.
The input for the activity is the following.
Input Item
Datatype
Description
destinationTopic
string
JMSExpiration
integer
JMSPriority
string
Input Item
Datatype
Description
JMSDeliveryMode
string
PERSISTENT
NON_PERSISTENT
JMSCorrelationID
string
JMSType
string
requestTimeout
integer
replyToTopic
string
422
| Chapter 9
JMS Palette
Input Item
Datatype
Description
JMSProperties
complex
OtherProperties
complex
Body
depends
upon
message
type
Output
The output for the activity is the following.
Output Item
Datatype
Description
JMSHeaders
complex
JMSProperties
complex
Output Item
Datatype
Description
OtherProperties
complex
Body
depends
upon
message
type
Error Output
The Error Output tab lists the possible exceptions that can be thrown by this
activity. See TIBCO ActiveMatrix BusinessWorks Error Codes for more information
about error codes and corrective action to take.
Exception
Thrown When...
JMSInvalidInputException
JMSMessageCreateException
JMSSessionCreateException
JMSSendException
JMSReceiveException
ActivityTimedOutException
424
| Chapter 9
JMS Palette
Starts a process based on the receipt of a message for the specified JMS
topic.
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Name
No
Description
No
JMS
Connection
No
Destination
Topic
Yes
Description
Field
Global
Var?
Message Type
Description
The type of the message. This can be one of the
following:
Durable
Subscription
Yes
Subscription
Name
Yes
426
| Chapter 9
JMS Palette
Field
Global
Var?
Description
Suppress
Local
Messages
Yes
Acknowledge
Mode
Yes
Field
Global
Var?
Description
Acknowledge
Mode
Yes
Max Sessions
(Read Only)
No
428
| Chapter 9
JMS Palette
Advanced
The Advanced tab has the following fields.
Field
Global
Var?
Message Selector
Yes
Description
A string to determine whether a message should be received. The
syntax of the message selector is determined by the JMS provider,
but it is usually a subset of SQL92 (where message properties are
used instead of table column names).
See your JMS provider documentation for more information and
syntax for a message selector string.
JMS Application
Properties
No
Receiver Timeout
(seconds)
No
Precreate
Transactions
No
XA Transaction
Manager
Reference
No
Misc
The Misc tab contains the following fields:
Field
Description
Sequencing Key
Custom Id
Output Editor
The Output Editor tab defines the schema to use for incoming messages whose
message type is Map, Stream, or XML Text. Map messages are name/value pairs,
and the schema allows you to define the structure of the incoming message. Once
defined, the schema on the Output Editor tab becomes the structure used for the
body of the message displayed on the Output tab.
See Appendix A, Specifying Data Schema, on page 701 for a complete description
of using the Output Editor tab.
Output
The output for the activity is the following.
Output Item
Datatype
Description
JMSHeaders
complex
430
| Chapter 9
JMS Palette
Output Item
Datatype
Description
JMSProperties
complex
OtherProperties
complex
Body
depends
upon the
message
type
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Name
No
Description
No
Reply To
No
Description
432
| Chapter 9
JMS Palette
Field
Global
Var?
Description
Message Type
No
Advanced
The Advanced tab has the following fields.
Field
Global
Var?
Delivery Mode
Yes
JMSExpiration
(secs)
Yes
Description
The delivery mode of the message. Can be one of
the following:
Priority
Yes
Type
Yes
JMS
Application
Properties
No
434
| Chapter 9
JMS Palette
Input Editor
The Input Editor tab defines the schema to use for outgoing replies where the
message type is Map, Stream, or XML Text. Map messages are name/value pairs,
and the schema allows you to define the structure of the outgoing message. Once
defined, the schema on the Input Editor tab becomes the structure used for the
body of the message displayed on the Input tab.
See Appendix A, Specifying Data Schema, on page 701 for a complete description
of using the Input Editor tab.
Input
See TIBCO ActiveMatrix BusinessWorks Process Design Guide for more information
about mapping and transforming input data.
The input for the activity is the following.
Input Item
Datatype
Description
Delivary mode
Long
JMSExpiration
(secs)
String
Input Item
Datatype
Description
JMSPriority
string
JMSCorrelationID
string
JMSType
string
JMSProperties
complex
436
| Chapter 9
JMS Palette
Input Item
Datatype
Description
OtherProperties
complex
Body
depends
upon
message
type
Output
The activity has no output.
Error Output
The Error Output tab lists the possible exceptions that can be thrown by this
activity. See TIBCO ActiveMatrix BusinessWorks Error Codes for more information
about error codes and corrective action to take.
Exception
Thrown When...
JMSInvalidInputException
JMSMessageCreateException
JMSSessionCreateException
JMSSendException
The Wait for JMS Queue Message waits for the receipt of a
message for the specified JMS queue.
See Scalability With Incoming Events on page 226 in TIBCO
ActiveMatrix BusinessWorks Process Design Guide for information
on running the "Wait for..." activities in a multi-engine mode. See Using Wait for
JMS Queue Message Activity in Multi-Engine Design on page 449 for more details
on using the activity in a multi-engine design.
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Name
No
Description
No
JMS
Connection
No
Destination
Queue
Yes
Description
438
| Chapter 9
JMS Palette
Field
Global
Var?
Message Type
Description
The type of the message. This can be one of the
following:
Field
Global
Var?
Description
Acknowledge
Mode
Yes
440
| Chapter 9
JMS Palette
Advanced
The Advanced tab has the following fields.
Field
Global
Var?
Message Selector
Yes
Description
A string to determine whether a message
should be received. The syntax of the message
selector is determined by the JMS provider, but
it is usually a subset of SQL92 (where message
properties are used instead of table column
names).
See your JMS provider documentation for
more information and syntax for a message
selector string.
JMS Application
Properties
No
Receiver
Timeout
(seconds)
No
Message Event
The Event tab has the following fields.
Field
Description
When building an expression in the Candidate Event Key field, only data from
the incoming event is available. This is because you want to place an expression
containing incoming event data in the Candidate Event Key field. When the
results of this expression match the results of the expression in the "key" item on
the Input tab, the Wait For JMS Queue Message activity proceeds.
442
| Chapter 9
JMS Palette
Input
See TIBCO ActiveMatrix BusinessWorks Process Design Guide for more information
about mapping and transforming input data.
The input for the activity is the following.
Input Item
Datatype
Description
key
string
processTimeout
integer
Output Editor
The Output Editor tab defines the schema to use for incoming messages whose
message type is Map, Stream, or XML Text. Map messages are name/value pairs,
and the schema allows you to define the structure of the incoming message. Once
defined, the schema on the Output Editor tab becomes the structure used for the
body of the message displayed on the Output tab.
See Appendix A, Specifying Data Schema, on page 701 for a complete description
of using the Output Editor tab.
Output
The output for the activity is the following.
Output Item
Datatype
Description
JMSHeaders
complex
Output Item
Datatype
Description
JMSProperties
complex
OtherProperties
complex
Body
depends
upon the
message
type
Error Output
The Error Output tab lists the possible exceptions that can be thrown by this
activity. See TIBCO ActiveMatrix BusinessWorks Error Codes for more information
about error codes and corrective action to take.
Exception
Thrown When...
ActivityTimedOutException
444
| Chapter 9
JMS Palette
The Wait for JMS Topic Message waits for the receipt of a message
for the specified JMS topic.
See Scalability With Incoming Events on page 226 in TIBCO
ActiveMatrix BusinessWorks Process Design Guide for information on
running the "Wait for..." activities in a multi-engine mode.
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Name
No
Description
No
JMS Connection
No
Destination Topic
Yes
Description
Field
Global
Var?
Description
Message Type
No
Durable
Subscription
Yes
Subscription
Name
Yes
446
| Chapter 9
JMS Palette
Field
Global
Var?
Description
Suppress Local
Messages
No
Acknowledge
Mode
Yes
Advanced
The Advanced tab has the following fields.
Field
Message
Selector
Global
Var?
Yes
Description
A string to determine whether a message should
be received. The syntax of the message selector
is determined by the JMS provider, but it is
usually a subset of SQL92 (where message
properties are used instead of table column
names).
See your JMS provider documentation for more
information and syntax for a message selector
string.
JMS
Application
Properties
No
Receiver
Timeout
(seconds)
No
448
| Chapter 9
JMS Palette
Message Event
The Event tab has the following fields.
Field
Description
When building an expression in the Candidate Event Key field, only data from
the incoming event is available. This is because you want to place an expression
containing incoming event data in the Candidate Event Key field. When the
results of this expression match the results of the expression in the "key" item on
the Input tab, the Wait For JMS Topic Message activity proceeds.
Input
See TIBCO ActiveMatrix BusinessWorks Process Design Guide for more information
about mapping and transforming input data.
The input for the activity is the following.
Input Item
Datatype
Description
key
string
processTimeout
integer
450
| Chapter 9
JMS Palette
Output Editor
The Output Editor tab defines the schema to use for incoming messages whose
message type is Map, Stream, or XML Text. Map messages are name/value pairs,
and the schema allows you to define the structure of the incoming message. Once
defined, the schema on the Output Editor tab becomes the structure used for the
body of the message displayed on the Output tab.
See Appendix A, Specifying Data Schema, on page 701 for a complete description
of using the Output Editor tab.
Output
The output for the activity is the following.
Output Item
Datatype
Description
JMSHeaders
complex
JMSProperties
complex
OtherProperties
complex
Body
depends
upon the
message
type
Error Output
The Error Output tab lists the possible exceptions that can be thrown by this
activity. See TIBCO ActiveMatrix BusinessWorks Error Codes for more information
about error codes and corrective action to take.
Exception
Thrown When...
ActivityTimedOutException
452
| Chapter 10
Mail Palette
Chapter 10
Mail Palette
The Mail palette is used to receive incoming email or send outgoing email.
Topics
Receive Mail
Process Starter
The Receive Mail process starter polls a POP3 mail server for new
mail. When new mail is detected and retrieved, the Receive Mail
process starter starts a new process for the process definition it
resides in and passes the mail data to the next activity in the process
flow.
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Name
No
Description
No
Host
Yes
Description
For example,
myMailServer.myCo.com:76
User Name
Yes
Password
Yes
Yes
454
| Chapter 10
Mail Palette
Field
Global
Var?
Description
Delete Mail
Yes
Upgrade
Configuration
No
Advanced
The Advanced tab contains the following fields:
Field
Description
Provide Raw
Message
Write to File
456
| Chapter 10
Mail Palette
Field
Description
Directory
Create
Non-Existing
Directories
Threshold
Message Data
Size
Output Headers
Incoming messages may have custom headers. The Output Headers tab allows
you to define a custom schema for the headers of the incoming mail messages.
You can specify any standard header supported by the javax.mail package. For
example, X-Mailer or X-Priority. Values of headers in the incoming message will
populate the corresponding output headers of the same name that you have
defined.
See Appendix A, Specifying Data Schema, on page 701 for a complete description
of using the Output Headers tab.
Misc
The Misc tab contains the following fields:
Field
Description
Sequencing Key
Custom Id
Output
The output for the activity is the following.
Output Item
Datatype
Description
from
string
to
string
cc
string
replyTo
string
subject
string
sentdate
string
458
| Chapter 10
Mail Palette
Output Item
Datatype
Description
complex
rawMessage
binary
bodyText
string
mimeEnvelopeElement
complex
Output Item
Datatype
Description
mimeHeaders
complex
content-disposition
content-type
content-transfer-encoding
content-id
See
http://www.faqs.org/rfcs/rfc2045.htm
l for more information about MIME
headers and their syntax.
Note: When the content type is
specified as "text/*" (for example,
"text/xml"), the attachment content is
expected to be in either the textContent
output element or the file name storing
the attachment is expected to be in the
fileName output element. When the
content type is anything other than
"text/*", the attachment content is
expected to be in either the
binaryContent output element or the
file name storing the attachment is
expected to be in the fileName output
element.
460
| Chapter 10
Mail Palette
Output Item
Datatype
Description
binaryContent |
textContent | fileName
choice
string
attachmentNames
string
attachmentData
binary
contentType
string
Send Mail
Activity
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Name
No
Description
No
Host
Yes
Description
No
User Name
Yes
Password
Yes
462
| Chapter 10
Mail Palette
Field
Global
Var?
Description
Upgrade
Configuration
No
Advanced
The Advanced tab has the following fields.
Field
Global
Var?
Description
Allow
Non-Standard
Email IDs
No
Input Headers
You may wish to add custom headers to outgoing mail messages. The Input
Headers tab allows you to define a custom schema for the headers of the outgoing
mail message. You can specify any standard header supported by the javax.mail
package. For example, X-Mailer or X-Priority.
See Appendix A, Specifying Data Schema, on page 701 for a complete description
of using the Input Headers tab.
Input
See TIBCO ActiveMatrix BusinessWorks Process Design Guide for more information
about mapping and transforming input data.
464
| Chapter 10
Mail Palette
Datatype
Description
username
string
password
string
from
string
to
string
cc
string
bcc
string
Input Item
Datatype
Description
replyTo
string
subject
string
sentdate
string
complex
Headers
complex
466
| Chapter 10
Mail Palette
Input Item
Datatype
Description
mimeEnvelope
Element
complex
mimeHeaders
complex
content-disposition To suggest a
filename for an attachment, use
"*;filename=<filename>" in this element.
Note: E-mail servers may alter or choose
to ignore the suggested name.
content-type
content-transfer-encoding
content-id
See http://www.faqs.org/rfcs/rfc2045.html
for more information about MIME headers
and their syntax.
Note: When the content type is specified as
"text/*" (for example, "text/xml"), the
attachment content is expected to be in either
the textContent input element or the file
name storing the attachment is expected to
be in the fileName input element. When the
content type is anything other than "text/*",
the attachment content is expected to be in
either the binaryContent input element or
the file name storing the attachment is
expected to be in the fileName input element.
Input Item
Datatype
Description
binaryContent |
textContent |
fileName
choice
string
attachmentNames
string
attachmentData
binary
contentType
string
Output
This activity produces no output.
TIBCO ActiveMatrix BusinessWorks Palette Reference
468
| Chapter 10
Mail Palette
Error Output
The Error Output tab lists the possible exceptions that can be thrown by this
activity. See TIBCO ActiveMatrix BusinessWorks Error Codes for more information
about error codes and corrective action to take.
Exception
Thrown When...
InvalidInputException
UnknownHostException
SendFailedException
| 469
Chapter 11
Parse Palette
The Parse palette provides shared configuration resources and activities for
parsing and rendering formatted text. This is useful if you wish to transform
formatted lines of text into a data schema. This is also useful if you wish to
transform a data schema into a formatted text string.
The text lines can be formatted either by delimiters separating each field or offsets
can be specified to determine where each field begins and ends.
Topics
470
| Chapter 11
Parse Palette
Data Format
Shared Configuration
When rendering text, each record in the input data schema is transformed into a
line of output text. The first item of the data schema is transformed into the first
column of the text line, the second item is transformed into the second column,
and so on. Each record in a repeating data schema is transformed into a separate
line in the output text string. Rendering a data schema into a text string is exactly
the opposite process of parsing a text string into a data schema. Rendering is the
reverse of the process illustrated in Figure 19.
Configuration
The Configuration tab has the following fields.
Field
Description
Name
Description
Format Type
Col Separator
472
| Chapter 11
Parse Palette
Field
Description
Line Separator
Field
Description
Fill Character
Data Format
The Data Format tab allows you to define a custom schema for the text.
You can define your own datatype on this tab, and you can reference XML schema
or ActiveEnterprise classes stored in the project. Once defined, the data specified
on the Data Format tab is used to parse a text string into the specified schema or
render the specified schema as a text string.
Data Format does not support nested schema.You can only specify basic plain
schema with no nesting.
See Appendix A, Specifying Data Schema, on page 701 for a description of how to
define a schema.
474
| Chapter 11
Parse Palette
Notice that Pat Jones statement spans two lines and contains double quotes as
well as a comma. The entire field is surrounded by double quotes, so it is still
treated as part of the same record.
Field Offsets
When processing fixed format text, you must specify the line length and the
column offsets. This allows a Parse Data or Render Data activity to determine
where columns and lines begin and end. The Field Offsets tab allows you to
specify the format of fixed-width text.
The line length is the total length of each input line, including the line separator
character(s). Include the appropriate number of characters for the selected line
separator on the Configuration tab to the total length of each line.
The column offset is the starting and ending character position on each line for the
column. Each line starts at 0 (zero). For each column of the line, you must specify
the name of the data item associated with this column (this is the same name you
specified for the corresponding element in the data schema), the starting offset for
the column, and the ending offset for the column.
It is a good idea to have each column offset begin where the last column offset
ended. Many fixed format data files are used by databases (for example, ISAM
files) or are generated by automated processes. These types of files have rigid file
record formats and may not have additional padding space between columns.
When you define each column offset to begin where the last column offset ends,
the data can be read more quickly by TIBCO ActiveMatrix BusinessWorks
because the bytes of the input records can be read in sequentially.
Consider the following text file. The first two lines of the file indicate offset
numbers (each 0 indicates another 10 characters), and the fill character between
columns is spaces:
0
12
30
45
0123456789012345678901234567890123456789012345678901234567
57643
Smith
Chris
Account
57644
Jones
Pat
Marketing
57645
Walker
Terry
Develpment
Figure 20 illustrates the Field Offset tab for the file above. Notice that the line
length is specified as 60, even thought the offsets end at character number 58. The
line separator is specified as "Carriage Return/Line Feed (windows)", so this adds
two additional characters for a total line length of 60.
Figure 20 Fixed-width text strings and field offsets
476
| Chapter 11
Parse Palette
Parse Data
Activity
The Parse Data activity takes a text string or input from a file and
processes it, turning it into a schema tree based on the specified Data
Format shared configuration.
You can use any mechanism to obtain or create a text string for processing. For
example, you can use the Read File activity to obtain text from a file, or you can
retrieve a text field from an adapter message. You can also specify a text file to
read using this activity.
You might use this activity in a number of situations. For example, you may have
a file that consists of multiple lines of comma-separated values (as in data
obtained from a spreadsheet). You may also want to insert that data into a
database table. To do this, read and parse the file into a data schema with the
Parse Data activity. Then use a JDBC Update activity to insert the data schema
into a database table.
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Name
No
Description
No
Data Format
No
Input Type
No
Description
Yes
Field
Global
Var?
Description
Skip Blank
Lines
No
Manually
Specify Start
Record
No
Strict
Validation
No
Continue on
Error
No
478
| Chapter 11
Parse Palette
Input
See TIBCO ActiveMatrix BusinessWorks Process Design Guide for more information
about mapping and transforming input data.
The input for the activity is the following.
Input Item
Datatype
Description
text
string
fileName
string
startRecord
number
Input Item
Datatype
Description
noOfRecords
number
SkipHeaderCharacters
integer
Output
The output for the activity is the following.
Output Item
Datatype
Description
Rows
complex
schema
complex
480
| Chapter 11
Parse Palette
Output Item
Datatype
ErrorRows
Description
This output item is available when
Continue on Error is checked, and
error(s) while parsing the records in
the input.
<<raw input data is put in the error
string>>
This field contains the list of error
lines for the records from the input
that failed parsing.
EOF
boolean
Error Output
The Error Output tab lists the possible exceptions that can be thrown by this
activity. See TIBCO ActiveMatrix BusinessWorks Error Codes for more information
about error codes and corrective action to take.
Exception
Thrown When...
FileNotFoundException
BadDataFormatException
482
| Chapter 11
Parse Palette
Render Data
Activity
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Name
No
Description
No
Data Format
No
Description
Input
See TIBCO ActiveMatrix BusinessWorks Process Design Guide for more information
about mapping and transforming input data.
The input for the activity is the following.
Input Item
Datatype
Description
Rows
complex
Input Item
Datatype
Description
root
complex
Output
The output for the activity is the following.
Output Item
Datatype
Description
text
string
Error Output
The Error Output tab lists the possible exceptions that can be thrown by this
activity. See TIBCO ActiveMatrix BusinessWorks Error Codes for more information
about error codes and corrective action to take.
Exception
Thrown When...
BadDataFormatException
484
| Chapter 11
Parse Palette
| 485
Chapter 12
Policy Palette
The Policy palette allows you to specify security policies for inbound and
outbound SOAP messages. The security policies follow the Web Services Security:
SOAP Message Security 1.0 (WS-Security 2004) OASIS Standard 200401. You can
find out more about this standard at http://docs.oasis-open.org/wss/2004/01/.
See TIBCO ActiveMatrix BusinessWorks Process Design Guide for more information
about using the resources in the Policy palette.
Topics
486
| Chapter 12
Policy Palette
Security Policy
Shared Configuration
See TIBCO ActiveMatrix BusinessWorks Process Design Guide for more information
about using security policies for web services.
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Description
Name
No
Description
No
Policy Type
No
Authentication
No
inbound
outbound
inbound fault
outbound fault
Field
Global
Var?
Description
Integrity
No
Confidentiality
No
Timeout
No
Custom
Password
Lookup
No
Custom
Password
Callback Java
Class
No
Authentication
The Authentication tab specifies the characteristics for authenticating to the SOAP
message server. Inbound messages can be authenticated against a list of trusted
certificates. Outbound messages can specify the identity to use to authenticate to
the external SOAP server.
TIBCO ActiveMatrix BusinessWorks Palette Reference
488
| Chapter 12
Policy Palette
Global
Var?
Description
Trusted
Certificates Folder
No
No
X.509 Token
UsernamePassword Token
No
X.509 Token
UsernamePassword Token
X.509 Identity
No
Username
Password Identity
No
Password Type
No
Integrity
The Integrity tab specifies the characteristics of the signatures attached to
messages. Signatures can be used to ensure that messages are not altered after
creation. The integrity of inbound messages can be checked against the trusted
root certificates and the public certificate. Outbound messages can specify the
certificate to use to sign the outgoing message.
The Integrity tab has the following fields.
Field
Global
Var?
Description
Supported Security
Tokens
Trusted Certificates
Folder
No
No
No
SHA1
MD5
X.509 Token
UsernameToken
No
490
| Chapter 12
Policy Palette
Field
Global
Var?
Description
Security Token
No
No
SHA-1
MD-5
X.509 Token
UsernameToken
Username Password
Identity
No
Password Type
No
X.509 Identity
No
Certificate Alias
No
Confidentiality
The Confidentiality tab specifies the encryption characteristics of messages.
Inbound messages can be decrypted based on algorithms specified in the message
security header and the defined private key. Outbound messages can be
encrypted based on algorithms stored in a public key.
The Confidentiality tab has the following fields.
Field
Global
Var?
Description
Private key
Identifier Type
No
No
3DES
AES-128
AES-256
X.509 Identity
No
X.509 Token
No
3DES
AES-128
AES-256
492
| Chapter 12
Policy Palette
Field
Global
Var?
Description
Public Key
No
Timeout
The Timeout tab specifies the characteristics of message timeout. Inbound
messages can be rejected after the specified number of seconds. Outbound
messages can be set to expire after the specified number of seconds.
The Timeout tab has the following fields.
Field
Global
Var?
Description
No
No
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Name
No
Description
No
Description
494
| Chapter 12
Policy Palette
Field
Global
Var?
Description
Apply Policy To
No
Inbound Message
Policy
No
Outbound
Message Policy
No
Inbound Fault
Message Policy
No
Outbound Fault
Message Policy
No
Inbound
The Inbound tab has the following fields.
Field
Message Elements
for Signature
Global
Var?
No
Description
Specifies an XPath expression to select the
elements within the SOAP message that are
expected to have a signature. If the incoming
message does not have a signature for the
selected elements, an exception is thrown.
Field
Global
Var?
Description
Message Elements
for Encryption
No
Outbound
The Outbound tab has the following fields.
Field
Global
Var?
Description
Message Elements
for Signature
No
No
496
| Chapter 12
Policy Palette
| 497
Chapter 13
Rendezvous Palette
The Rendezvous palette allows you to send and receive TIBCO Rendezvous
messages. For more information about TIBCO Rendezvous, see the TIBCO
Rendezvous documentation.
Topics
498
| Chapter 13
Rendezvous Palette
RawRVMsg2 Schema
TIBCO ActiveMatrix BusinessWorks includes an XSD file that defines a generic
message structure and some additional TIBCO Rendezvous message types. You
can use this schema to send or receive a message with an arbitrary structure (raw
TIBCO Rendezvous messages). This schema also describes the datatypes for fields
that use the TIBRVMSG_XML, TIBRVMSG_IPADDR32, and
TIBRVMSG_IPPORT16 TIBCO Rendezvous datatypes.
If you wish to send or receive raw TIBCO Rendezvous messages, or you wish to
use the TIBRVMSG_XML, TIBRVMSG_IPADR32, or TIBRVMSG_IPPORT16
datatypes in a message, you must include this schema in your project.
500
| Chapter 13
Rendezvous Palette
Datatype Conversion
When sending or receiving TIBCO Rendezvous messages, TIBCO ActiveMatrix
BusinessWorks converts the fields of the message to the correct datatypes. Data in
incoming TIBCO Rendezvous messages is converted to TIBCO ActiveMatrix
BusinessWorks datatype (and represented in the activitys output). Data in an
outgoing message is converted to TIBCO Rendezvous datatypes.
XSD Datatype
TIBRVMSG_BOOL
boolean
TIBRVMSG_I8
byte
TIBRVMSG_I16
short
TIBRVMSG_I32
int
TIBRVMSG_I64
long
TIBRVMSG_U8
unsignedByte
TIBRVMSG_U16
unsignedShort
TIBRVMSG_U32
unsignedInt
TIBRVMSG_U64
unsignedLong
TIBRVMSG_F32
float
TIBRVMSG_F64
double
TIBRVMSG_OPAQUE
TIBRVMSG_DATETIME
date
TIBRVMSG_STRING
string
boolean
TIBRVMSG_BOOL
byte
TIBRVMSG_I8
502
| Chapter 13
Rendezvous Palette
short
TIBRVMSG_I16
int
TIBRVMSG_I32
long
TIBRVMSG_I64
integer
TIBRVMSG_I64
unsignedByte
TIBRVMSG_U8
unsignedShort
TIBRVMSG_U16
unsignedInt
TIBRVMSG_U32
unsignedLong
TIBRVMSG_U64
float
TIBRVMSG_F32
double
TIBRVMSG_F64
hexBinary
TIBRVMSG_OPAQUE
base64Binary
TIBRVMSG_OPAQUE
date
TIBRVMSG_DATETIME
dateTime
TIBRVMSG_DATETIME
time
TIBRVMSG_STRING
string
TIBRVMSG_STRING
For example, you wish to send a message with two fields, ipAddress, ipPort, and
tibrvXml. Figure 21 illustrates an Input Editor tab that defines the message
structure.
Figure 21 Using the ipPort and ipAddr datatypes
In the content field, Element of Type is chosen. In the Type field, XML Type
Reference is chosen to indicate you wish to reference a datatype defined in a
schema resource. Use the Browse button in the Schema field to locate the
RawRVMsg2 schema and select the appropriate type for the field. Figure 22
illustrates selecting the correct type from the RawRvMsg2 schema.
Figure 22 Selecting a type from the RawRVMsg2 schema
504
| Chapter 13
Rendezvous Palette
Before using the RawRVMsg2 schema, you must add the schema to your project.
See RawRVMsg2 Schema on page 498 for more information about adding this
schema to your project.
1. Create a root element in the Input/Output Editor tab with the Add Child
button.
You can only use the msg element of the RawRVMsg2 schema on the root
element in the schema you create in the Input or Output Editor tab. Do not
attempt to use this schema for any element that is not the root of the schema.
2. Select XML Element Reference in the Content field on the right.
3. Use the Browse Resources button in the Schema field to locate and select the
RawRVMsg2 schema.
Once the schema is selected, it becomes the schema for incoming or outgoing
message bodies.
You can use XPath expressions to extract the desired field from the generic
RawRvMsg2 schema. For example, your process begins with a Rendezvous
Subscriber activity and you wish to perform processing on incoming messages
that have a field named "orderType" with a value of "incomingOrder", you would
use the following XPath expression to determine which messages meet that
criteria:
$Rendezvous-Subscriber/ActivityOutput/body/pfx:field/pfx:name
= "orderType"
and
$Rendezvous-Subscriber/ActivityOutput/body/pfx:field/pfx:simple
= "incomingOrder"
See TIBCO ActiveMatrix BusinessWorks Process Design Guide for more information
about XPath.
506
| Chapter 13
Rendezvous Palette
Internationalization Support
TIBCO Rendezvous activities use the TIBCO Messaging Encoding as the wire
format encoding when testing processes in TIBCO Designer and when the project
is running as a legacy local-file based project. The default TIBCO Messaging
Encoding value is ISO8859-1, which only supports English and other western
European languages that belong to ISO Latin-1 character set.
You must set the TIBCO Messaging Encoding to UTF-8 if you want to send and
receive characters not in the ASCII and Latin-1 character set. When creating a new
project, you can set the TIBCO Messaging Encoding in the Save Project dialog or
on the Project Settings tab. See TIBCO ActiveMatrix BusinessWorks Process Design
Guide for more information.
After the project is deployed in a TIBCO Administrator domain, the messaging
encoding set at design time is overridden by the TIBCO Administrator domain's
encoding property. All the TIBCO components working in the same domain must
always use the same encoding for intercommunication. See TIBCO Administrator
Server Configuration Guide for more information.
508
| Chapter 13
Rendezvous Palette
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Name
No
Description
No
Subject
Yes
Transport
No
Pre-register
Listener
Yes
Description
No
Field
Global
Var?
Description
XML-Compliant
Field Names
No
Input Editor
The Input Editor tab allows you to define a custom schema for the body of the
TIBCO Rendezvous message. See Appendix A, Specifying Data Schema, on
page 701 for a complete description of using the Input Editor tab.
Input
See TIBCO ActiveMatrix BusinessWorks Process Design Guide for more information
about mapping and transforming input data.
The input for the activity is the following.
Input Item
Datatype
Description
subject
string
replySubject
string
510
| Chapter 13
Rendezvous Palette
Input Item
Datatype
Description
preRegisterListener
string
body
complex
Output
This activity produces no output.
Error Output
The Error Output tab lists the possible exceptions that can be thrown by this
activity. See TIBCO ActiveMatrix BusinessWorks Error Codes for more information
about error codes and corrective action to take.
Exception
Thrown When...
TransportException
SerializationException
RVPluginException
Rendezvous Subscriber
Process Starter
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Name
No
Description
No
Subject
Yes
Transport
Yes
XML Format
No
Description
512
| Chapter 13
Rendezvous Palette
Field
Global
Var?
Description
Needs Output
Validation
No
Needs Output
Filtration
No
XML-Compliant
Field Names
No
Field
Global
Var?
Description
Raw-RV-Object
Mode
No
Misc
The Misc tab contains the following fields:
Field
Description
Sequencing Key
514
| Chapter 13
Rendezvous Palette
Field
Description
Custom Id
Output Editor
The Output Editor tab allows you to define a custom schema for the body of the
TIBCO Rendezvous message. See Appendix A, Specifying Data Schema, on
page 701 for a complete description of using the Output Editor tab.
Output
The output for the activity is the following.
Output Item
Datatype
Description
sendSubject
string
replySubject
string
certifiedSender
string
certifiedSequenceNumber
integer
body
complex
Rendezvous Transport
Shared Configuration
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Description
Name
No
Description
No
Daemon
Yes
Network
Yes
Service
Yes
or
<port number>
516
| Chapter 13
Rendezvous Palette
Field
Global
Var?
Description
SSL
No
Description
Daemon Certificate
Field
Description
Identity
Advanced
The Advanced tab has the following fields.
Field
Global
Var?
RV Type
No
Description
The type of TIBCO Rendezvous connection to use.
This can be reliable (standard RV transport), certified
(RVCM), or Distributed Queue (RVCMQ).
Note: Use Confirm activity in the process when using
RV Certified messaging.
The fields of the Advanced tab correspond to the value
selected for this field.
Certified Transport
CM Name
Yes
Ledger File
Yes
Sync
Ledger File
Yes
518
| Chapter 13
Rendezvous Palette
Field
Global
Var?
Description
Relay
Agent
Yes
Require
Old
Message
Yes
Message
Timeout
(sec)
Yes
CMQ
Name
Yes
Worker
Weight
Yes
Worker
Tasks
Yes
Worker
Complete
Time
Yes
Field
Global
Var?
Description
Scheduler
Weight
Yes
Scheduler
Heartbeat
Yes
Scheduler
Activation
Yes
520
| Chapter 13
Rendezvous Palette
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Name
No
Description
No
Reply For
No
Reply Subject
Yes
Description
Input Editor
The Input Editor tab allows you to define a custom schema for the body of the
TIBCO Rendezvous message. See Appendix A, Specifying Data Schema, on
page 701 for a complete description of using the Input Editor tab.
Input
See TIBCO ActiveMatrix BusinessWorks Process Design Guide for more information
about mapping and transforming input data.
Datatype
Description
replySubject
string
body
complex
Error Output
The Error Output tab lists the possible exceptions that can be thrown by this
activity. See TIBCO ActiveMatrix BusinessWorks Error Codes for more information
about error codes and corrective action to take.
Exception
Thrown When...
RVPluginException
522
| Chapter 13
Rendezvous Palette
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Description
Name
No
Description
No
Subject
Yes
Transport
No
Request Timeout
(msec)
Yes
Field
Global
Var?
Description
Pre-register
Listener
Yes
XML Format
No
Needs Output
Validation
No
524
| Chapter 13
Rendezvous Palette
Field
Global
Var?
Description
Needs Output
Filtration
No
XML-Compliant
Field Names
No
Input/Output Editor
The Input Editor and Output Editor tabs allow you to define custom schemas for
the body of the outgoing TIBCO Rendezvous request and body of the incoming
TIBCO Rendezvous response. See Appendix A, Specifying Data Schema, on
page 701 for a complete description of using the Input/Output Editor tab.
Input
See TIBCO ActiveMatrix BusinessWorks Process Design Guide for more information
about mapping and transforming input data.
Datatype
Description
subject
string
body
complex
replySubject
string
timeout
number
Output
The output for the activity is the following.
Output Item
Datatype
Description
replyMessageReplySubject
string
body
complex
526
| Chapter 13
Rendezvous Palette
Error Output
The Error Output tab lists the possible exceptions that can be thrown by this
activity. See TIBCO ActiveMatrix BusinessWorks Error Codes for more information
about error codes and corrective action to take.
Exception
Thrown When...
TransportException
SerializationException
RVPluginException
ActivityTimedOutException
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Name
No
Description
No
Subject
Yes
Transport
Yes
XML Format
No
Description
528
| Chapter 13
Rendezvous Palette
Field
Global
Var?
Description
Needs Output
Validation
No
Needs Output
Filtration
No
XML-Compliant
Field Names
No
Event
The Event tab has the following fields.
Field
Description
530
| Chapter 13
Rendezvous Palette
When building an expression in the Candidate Event Key field, only data from
the incoming event is available. This is because you want to place an expression
containing incoming event data in the Candidate Event Key field. When the
results of this expression match the results of the expression in the "key" item on
the Input tab, the Wait For Rendezvous Message activity proceeds.
Input
See TIBCO ActiveMatrix BusinessWorks Process Design Guide for more information
about mapping and transforming input data.
The input for the activity is the following.
Input Item
Datatype
Description
key
string
processTimeout
integer
Output Editor
The Output Editor tab allows you to define a custom schema for the body of the
TIBCO Rendezvous message. See Appendix A, Specifying Data Schema, on
page 701 for a complete description of using the Output Editor tab.
Output
The output for the activity is the following.
Output Item
Datatype
Description
sendSubject
string
replySubject
string
Output Item
Datatype
Description
certifiedSender
string
certifiedSequenceNumber
integer
body
complex
Error Output
The Error Output tab lists the possible exceptions that can be thrown by this
activity. See TIBCO ActiveMatrix BusinessWorks Error Codes for more information
about error codes and corrective action to take.
Exception
Thrown When...
ActivityTimedOutException
532
| Chapter 13
Rendezvous Palette
| 533
Chapter 14
RMI Palette
Topics
534
| Chapter 14
RMI Palette
RMI Overview
You can use the resources in the RMI palette to either retrieve a remote Java object
or to create a process definition that starts a process instance for each incoming
RMI call. This section describes the uses of the resources in the RMI palette.
The object obtained by the lookup activity is an instance of the server's stub class
for the actual server object interface. To call methods on this object with a Java
Code activity, use the stub class interface to cast the object before making the calls.
Similarly, the Java Method activity should specify the stub class interface in its
Class field. The generated client stubs .jar file must be either in the TIBCO
ActiveMatrix BusinessWorks classpath or in an AliasLibrary resource before it can
be used by the Java Method activity.
The RMI Server process starter can output two Java objects, one for the request
and one for the reply. Either the request or reply objects can be nil. Optionally, you
can also specify an output schema in the Output Editor tab of the RMI Server
process starter. This allows you to specify fields that are expected in the request
object and the data from the request object is used to populate the desired output
schema. You can then process the request based on the specified output schema,
and you can also access the actual request object by passing it to a Java Code or
Java Method activity.
When the client is expecting a reply, you can use the Java Code or Java Method
activities to invoke the appropriate methods on the reply object.
Figure 25 illustrates using the RMI Server process starter.
Figure 25 Using the RMI Server process starter
536
| Chapter 14
RMI Palette
RMI Lookup
Activity
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Name
No
Description
No
Alias Library
No
Remote Object
Name
Yes
Registry Host
Name
Yes
Registry Server
Port
Yes
Description
Input
See TIBCO ActiveMatrix BusinessWorks Process Design Guide for more information
about mapping and transforming input data.
Datatype
Description
remoteObjectName
string
Output
The output for the activity is the following.
Output Item
Datatype
Description
object
Java
Object
538
| Chapter 14
RMI Palette
RMI Server
Process Starter
The RMI Server process starter registers the specified remote object
name with the specified registry server and then creates process
instances to handle incoming requests for the object. The process
definition acts as the implementation of the specified object.
You can specify an output schema on the Output editor tab to extract expected
fields from the incoming request object. The data in the output schema is then
available to subsequent activities in the process definition. The request and reply
Java objects are also output and available to activities that can accept Java objects
as input (for example, Java Code or Java Method). You can send a reply to the
client by invoking the appropriate methods on the reply object, if the client
requires a reply.
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Name
No
Description
No
Alias Library
No
Remote Object
Name
Yes
Registry Host
Name
Yes
Registry Server
Port
Yes
Description
Misc
The Misc tab contains the following fields:
Field
Description
Sequencing Key
Custom Id
Output Editor
The Output Editor tab allows you to define a custom schema for expected fields in
the request object. See Appendix A, Specifying Data Schema, on page 701 for a
complete description of using the Output Editor tab.
Output
The output for the activity is the following.
Output Item
Datatype
Description
request
Java
Object
reply
Java
Object
540
| Chapter 14
RMI Palette
Output Item
Datatype
Description
<data>
varies
| 541
Chapter 15
Service Palette
Topics
542
| Chapter 15
Service Palette
Context Resource
Shared Configuration
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Description
Name
No
Description
No
Schema
The Schema tab allows you to define a custom schema to hold the data of the
context. You can define your own datatype on this tab, and you can reference an
XML schema stored in the project. See Appendix A, Specifying Data Schema, on
page 701 for a description of how to define a schema.
Get Context
Activity
The Get Context activity retrieves the value of the specified Context
Resource. This is useful if your process definition requires some
context information from an incoming request.
See TIBCO ActiveMatrix BusinessWorks Process Design Guide for more
information about context separation for Service resources and operation
implementations.
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Name
No
Description
No
Context
Configuration
No
Description
Output
The output for the activity is the following.
Output Item
Datatype
Description
<schema>
varies
544
| Chapter 15
Service Palette
Invoke Partner
Activity
Configuration
The Configuration tab has the following fields
Field
Global
Var?
Name
No
Description
No
Partner
No
Operation
No
Description
Input
The input for the invoke partner service has the following fields
Input Item
Datatype
Description
input message
complex
Output
The output for the invoke partner service has the following fields
Output Item
Datatype
Description
output message
complex
Error Output
The Error Output tab lists the possible SOAP Fault messages that can be thrown
by the invoked operation on the selected external service. These SOAP Fault
messages are defined in the abstract WSDL. If no SOAP fault messages are
defined in the abstract WSDL, there will be no exceptions or fault messages listed
in the error output tab.
See TIBCO ActiveMatrix BusinessWorks Error Codes for more information about
error codes and corrective action to take.
Unlike the SOAP Request Reply activity where you can define dynamic endpoint
URL, you cannot define dynamic endpoint URL for the invoke partner activity.
546
| Chapter 15
Service Palette
Configuration
The Configuration tab has the following fields.
Field
Description
Name
Description
Field
Description
Partner Links
Proxy Name
Use Basic
Authentication
Identity
548
| Chapter 15
Service Palette
Field
Description
SSL
Identity
Context URL
JNDI Tab
User Name
JNDI Tab
Password
JNDI Tab
SSL
Field
Description
JNDI Tab
Validate Security
Context
User Name
JMS Tab
Password
JMS Tab
Delivery Mode
550
| Chapter 15
Service Palette
Field
Description
JMS Tab
Expiration
Priority
Trusted Certificates
Folder
Basic Tab
Identity
Advanced Tab
Trace
Advanced Tab
Debug Trace
Field
Description
Advanced Tab
Advanced Tab
552
| Chapter 15
Service Palette
Description
Part Name
Message Name
Undescribed
Cardinality
Output Headers
The Output Headers tab allows you to specify a SOAP message part used for any
SOAP undescribed headers expected in the Incoming Response.
Use the +, X, and arrow keys to add, delete and move the input header messages
in the list.
Description
Part Name
Message Name
Undescribed
Cardinality
Input Context
The Input Context tab allows you to specify a Context Resource that contains
transport-specific data. The data you provide to the context resource is available
to the process definition that implements the operation.
The Input Context tab has the following fields.
Field
Description
Context
554
| Chapter 15
Service Palette
Field
Description
Mapping Panel
Output Context
The Output Context tab allows you to specify a Context Resource that contains
data the process definition implementing the operation has provided. The data
can then be mapped to Undescribed Headers of the output message returned to
the client.
The Output Context tab has the following fields.
Field
Description
Context
Mapping Panel
Fault Context
The Fault Context tab allows you to select a shared Context Resource that is set
with SOAP fault attributes. The data can then be mapped to Fault elements of the
Fault message returned to the client.
The Fault Context tab has the following fields.
Field
Description
Context
Mapping Panel
556
| Chapter 15
Service Palette
Configuration
The Configuration tab has the following fields
Field
Global
Var?
Description
Name
No
Description
No
Partner
No
Operation
No
Misc
The Misc tab contains the following fields:
Field
Description
Sequencing Key
Custom Id
Output
The output for the receive partner notification activity is the following:
Output Item
Datatype
Description
output
message
complex
Error Output
The Error Output tab lists the possible exceptions that can be thrown by this
activity.
See TIBCO ActiveMatrix BusinessWorks Error Codes for more information about
error codes and corrective action to take.
Exception
Thrown When...
InvalidEnvelopeException
558
| Chapter 15
Service Palette
Exception
Thrown When...
InternalException
ConfigurationException
DeserializationException
Service 559
Service
Shared Configuration
A WSDL file that contains an abstract interface description. The interface can
include one or more operations.
Process definitions will provide the implementation for each operation in the
services interface. You can specify the same process definition for more than
one operation.
If you wish to pass context information from the incoming request (for
example, user name or security certificate), create a Context Resource that
specifies the context data you wish to use.
560
| Chapter 15
Service Palette
1. Provide an abstract WSDL file (see WSDL on page 670) that describes the
interface to the service.
2. For each operation in the interface, specify a process definition that
implements the operation.
3. Specify one or more endpoint bindings to expose the service to potential
clients.
4. For each endpoint binding, specify a transport configuration (either HTTP
Connection or JMS Connection).
5. Specify any transport-specific information, such as endpoint URL for HTTP
transports or JMS Destination Name for JMS transports.
6. Specify any SOAP details, such as SOAP Version or encoding for each
operation.
7. Specify attachments, headers, or context information for input and output
messages, if necessary.
Only Bytes Message must be used when using MTOM attachments.
See TIBCO ActiveMatrix BusinessWorks Process Design Guide for more information
about services.
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Description
Name
No
Description
No
Implementation
No
Service 561
Field
Global
Var?
Description
No
Operations Sub-Tab
This sub-tab contains a table of all operations defined in the interface file. This
table allows you to specify the resource that implements each operation.
Operation
Name
No
Operation
Implementation
No
562
| Chapter 15
Service Palette
Field
Global
Var?
Description
No
Endpoint Type
No
Transport Sub-Tab
Transport
No
Use Basic
Authentication
Yes
Service 563
Field
Global
Var?
Description
Endpoint URI
No
JMS Destination
No
JMS Destination
Type
No
JMS Message
Type
No
564
| Chapter 15
Service Palette
Field
Global
Var?
Description
Acknowledge
Mode
No
Service 565
Field
Global
Var?
Description
Max Sessions
No
Operations
No
No
SOAP Version
No
566
| Chapter 15
Service Palette
Field
Global
Var?
Description
Operations
No
SOAP Action
No
Style
No
Encoding
No
Input Message
Namespace
No
Output Message
Namespace
No
Fault Message
Namespace
No
Service 567
2. Select the desired endpoint and click the SOAP Details sub-tab.
3. Select the operation in the Operations field.
4. Click the Advanced button next to the operation name.
The Advanced SOAP Settings dialog appears. The following sections describe
the tabs on this dialog.
Input Attachments
See Messages With Attachments on page 625 for more information about message
attachments.
The Input Attachments tab has the following fields.
Field
Description
Message Part
568
| Chapter 15
Service Palette
Field
Description
Write to File
Directory
Service 569
Field
Description
Input Headers
The Input Headers tab allows you to specify a SOAP message parts used for any
SOAP headers expected in the incoming request. The specified input headers are
also included in the concrete bindings in the generated WSDL file.
Use the +, X, and arrow keys to add, delete and move the input header messages
in the list.
The Input Headers tab has the following fields.
Field
Description
Message Name
Part Name
570
| Chapter 15
Service Palette
Field
Description
Namespace
Encoding
Undescribed
Cardinality
Output Attachments
See Messages With Attachments on page 625 for more information about message
attachments.
The Output Attachments tab has the following fields.
Field
Description
Attachment Style
Attachments
Mime Content Type
Service 571
Field
Description
Message Part
Output Headers
The Output Headers tab allows you to specify a SOAP message parts used for any
SOAP headers expected in the outgoing reply. The specified output headers are
also included in the concrete bindings in the generated WSDL file.
Use the +, X, and arrow keys to add, delete and move the input header messages
in the list.
The Output Headers tab has the following fields.
Field
Description
Message Name
Part Name
Encoding
Undescribed
Cardinality
572
| Chapter 15
Service Palette
Fault Headers
This Fault Headers tab enables the user to configure headers for declared faults.
With this you will be able to configure different schemas to be mapped to the
headers for different Fault messages.
This Fault Headers tab has the following fields.
Field
Description
soapFaults
Part Name
Message Name
Input Context
The Input Context tab allows you to specify a Context Resource that contains
transport-specific data. The data you provide to the context resource is available
to the process definition that implements the operation.
The Input Context tab has the following fields.
Field
Description
Shared Context
Service 573
Field
Description
Mapping Panel
When the Expose Security Context field is checked, the following schema is
available in the Mapping Panel field.
Element
Datatype
Description
Context
complex
574
| Chapter 15
Service Palette
Element
Datatype
Description
SecurityContext
complex
Transport
complex
WSSE
complex
Service 575
Element
Datatype
Description
Authentication
complex
Signature
RemoteAddress
complex
String
576
| Chapter 15
Service Palette
Element
Datatype
Description
RemoteHost
String
Output Context
The Output Context tab allows you to specify a Context Resource that contains
data the process definition implementing the operation has provided. The data
can then be mapped to Headers of the output message returned to the client.
The Output Context tab has the following fields.
Field
Description
Shared Context
Mapping Panel
Service 577
Fault Context
The Fault Context tab allows you to select a fault context resource that is set with
SOAP fault attributes. The data can then be mapped to Fault Elements of the Fault
message returned to the client.
The Fault Context tab has the following fields.
Field
Description
Shared Context
Mapping Panel
578
| Chapter 15
Service Palette
Partner Binding
The Partner Binding tab allows you to bind partners invoked by all operations in
a service on the Partner Binding tab of the Service. Only partners that require
binding appear on this tab. The Partner Binding tab has the following fields:
Field
Description
Partner Bindings
Processes declared in the Dynamic Call Processes field are automatically included
in Enterprise Archive (EAR) files.
Service 579
WSDL Source
The WSDL Source tab displays the concrete WSDL interface file that is generated
based on the information specified on the Configuration tab of this resource. This
tab has the following fields.
Field
Global
Var?
Service URI
No
Description
The Service URI portion of the URL that can be used
to retrieve the WSDL file. For clients to retrieve
WSDL files from TIBCO ActiveMatrix
BusinessWorks, you must define a process definition
that accepts HTTP requests and uses the Retrieve
Resources activity to generate the WSDL file. See
Using Retrieve Resources on page 586 for more
information.
The URL to retrieve WSDL files is the following:
http://<host>:<port>/<serviceURI>?wsdl
No
Embed In
WSDL
No
580
| Chapter 15
Service Palette
Field
Global
Var?
Description
WSDL Code
No
Overview
The Overview tab provides a tree view of the service that you can expand and
collapse to view the exposed endpoints and operations for the service.
Set Context
Activity
The Set Context activity allows you to set the value of a Context
Resource shared configuration resource. This is useful if you wish to
supply data from the process definition implementing an operation to
the service agent. For example, you may wish to set some headers of
the outgoing reply message.
See TIBCO ActiveMatrix BusinessWorks Process Design Guide for more information
about context separation for Service resources and operation implementations.
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Name
No
Description
No
Context
Configuration
No
Output New
Value
No
Description
Input
See TIBCO ActiveMatrix BusinessWorks Process Design Guide for more information
about mapping and transforming input data.
582
| Chapter 15
Service Palette
Datatype
Description
<schema>
varies
Output
The output for the activity is the following.
Output Item
Datatype
Description
<schema>
varies
or no output
| 583
Chapter 16
SOAP Palette
Topics
584
| Chapter 16
SOAP Palette
Table 8 describes the relationship of the data elements between the TIBCO
ActiveMatrix BusinessWorks SOAP Fault schema and the SOAP Fault 1.1 and 1.2
schemas..
Table 8 SOAP Fault schema relationship
TIBCO ActiveMatrix
BusinessWorks SOAP
Fault Schema Element
faultcode
faultcode
Code/Value
Note: Code/Subcode
will not be present.
faultstring
faultstring
Reason/Text[1]
Note: There will be only
one Text element within
the Reason element.
faultfactor
faultfactor
Role
detail
detail
Detail
586
| Chapter 16
SOAP Palette
Retrieve Resources
Activity
The HTTP Receiver process starter can be configured to use the HTTPS protocol
for SSL communication when retrieving resources. See HTTP Receiver on
page 225 for more information.
When sending the HTTP response, set the Headers/Content-Type item on the
Input tab to the appropriate type for the type of resource retrieved. Use
"text/xml" when this activity is used to retrieve a WSDL file. See Format of URLs
for HTTP Requests on page 587 for more information on the format of the URL for
the HTTP request for retrieving resources.
See the descriptions of the Input and Output tabs for this activity for more
information about binding the HTTP request to this activitys input and binding
this activitys output to an HTTP response.
If you wish to test a process definition containing this activity, you must load the
process definition containing this activity along with the process definition
containing the SOAP Event Source process starter into the test window. For more
information about loading multiple process definitions when testing, see TIBCO
ActiveMatrix BusinessWorks Process Design Guide.
Format of URLs for HTTP Requests
To use the Retrieve Resources activity, the HTTP request must have one of the
following forms:
http://<host>:<port>/<path>/<resourceName>?wsdl
http://<host>:<port>/<path>/<resourceName>
http://<host>:<port>/inspection.wsil
Option
Description
<host>
<port>
<path>
<resourceName>
588
| Chapter 16
SOAP Palette
Option
Description
inspection.wsil
Examples
The following is an HTTP request that retrieves the WSDL file for the process
named GetPurchaseOrder stored in the folder Purchasing:
http://purch:8877/Purchasing/GetPurchaseOrder?wsdl
The following is an HTTP request that retrieves a WSIL file containing all process
definitions with SOAP Event Source process starters:
http://purch:8877/inspection.wsil
The following is an HTTP request that retrieves the WSDL file for the Service
resource named BuyerService :
http://server:8877/BuyerService.serviceagent?wsdl
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Name
No
Description
No
Description
Input
See TIBCO ActiveMatrix BusinessWorks Process Design Guide for more information
about mapping and transforming input data.
Datatype
Description
resourcePath
string
filter
string
hostname
string
port
string
590
| Chapter 16
SOAP Palette
Output
The output for the activity is the following.
Output Item
Datatype
Description
outputClass
complex
resourceData
string
resourceBytes
binary
Error Output
The Error Output tab lists the possible exceptions that can be thrown by this
activity. See TIBCO ActiveMatrix BusinessWorks Error Codes for more information
about error codes and corrective action to take.
Exception
Thrown When...
ServerException
592
| Chapter 16
SOAP Palette
bw.platform.services.retreiveresources.defaultEncoding
This property specifies the encoding to use for the URL if no charset is specified in
the Content Type header of the message. By default, this property is set to
ISO-8859-1.
bw.platform.services.retreiveresources.identity
This property specifies the Identity resource that contains the HTTP Servers
digital certificate and private key. This property is available when the
bw.platform.services.retreiveresources.isSecure property is set to true.
bw.platform.services.retreiveresources.Hostname
This property specifies the hostname to which the request will be sent. It is useful
to identify the exact host in a multi-host configuration to whom the request will
be sent.By default, this property is set to localhost.
When an Enterprise Archive file, generated with TIBCO BusinessWorks 5.4.x or
earlier versions, is deployed in TIBCO Administrator, the built-in resource
provider parameters are not available in TIBCO Administrator.
To enable specifying the built-in resource provider parameters, recreate the
Enterprise Archive file with TIBCO ActiveMatrix BusinessWorks 5.6.0 and deploy
in TIBCO Administrator.
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Description
Name
No
Description
No
594
| Chapter 16
SOAP Palette
Field
Global
Var?
Description
Port Type
No
Operation
No
Transport
No
No
Field
Global
Var?
Description
Expose Security
Context
No
Transport Details
The Transport Details tab allows you to specify additional configuration
information based on the type of transport used for the SOAP request. See SOAP
Messages Over the JMS Transport on page 639 for more information about SOAP
over the JMS transport.
The Transport Details tab contains the following fields:
Field
Global
Var?
Description
No
HTTP Transport
Use Basic
Authentication
No
596
| Chapter 16
SOAP Palette
Field
Global
Var?
Description
No
JMS Transport
JMS
Destination
No
Durable
Subscription
No
Subscription
Name
No
Field
Global
Var?
Description
JMS Message
Type
Yes
Acknowledge
Mode
Yes
598
| Chapter 16
SOAP Palette
Field
Global
Var?
Description
Max Sessions
No
Messages with Attachments (SwA) - available with SOAP version 1.1 and 1.2.
The output schema element for a message part that contains an attachment will
hold the content ID of the attachment instead of holding the actual attachment
data. The actual data for attachments is always contained within the
mimeEnvelopeElement of the output schema for this resource. This element
contains a repeating element named mimePart that holds the list of attachments
in the SOAP message. The attachment list can be correlated to the message parts
containing the attachments by using the content-id mimeHeader element.
Message Transmission Optimization Mechanism (MTOM)
Message Transmission Optimization Mechanism (MTOM) provides another way
of sending binary content or attachment processing by serializing SOAP messages
with attachments. Optimization is only available for element content that is in a
canonical lexical representation of xs:base64Binary data type. MTOM conforms
to the specification http://www.w3.org/TR/soap12-mtom.
For an outbound SOAP Message with MTOM attachments sent by SOAP Request
Reply or SOAP Send Reply activities, any element of type xs:base64Binary (or
an extension of xs:base64Binary) in the SOAP response message is treated as an
MTOM attachment and appears as a separate MIME part on the wire.
For an inbound SOAP Message with MTOM attachments received by the SOAP
Event Source or SOAP Request Reply activities, the SOAP message will have a
XOP include reference to the attachment. Any XOP include reference in the SOAP
message will be replaced by the corresponding attachments content encoded in
Base64. Any MIME attachment that is not referenced from the SOAP Message
using XOP include reference will be ignored by the MTOM Processing layer.
Note that the attachment is a part of the SOAP Infoset.
See TIBCO ActiveMatrix BusinessWorks Process Design Guide for more information
about MTOM.
Advanced
The Advanced tab contains the following fields:
Field
Description
General Sub-Tab
SOAP Action
600
| Chapter 16
SOAP Palette
Field
Description
WSDL Namespace
Style
Encoding
Input Message
Namespace
Output Message
Namespace
Fault Message
Namespace
Embed Interface
Embed Types
Embed JNDI
Properties
Field
Description
Message Part
Write to File
602
| Chapter 16
SOAP Palette
Field
Description
Directory
Create Non-Existing
Directories
Field
Description
Message Part
Part Name
Binding
604
| Chapter 16
SOAP Palette
Field
Description
Part Name
Binding
WSDL Source
This tab displays the WSDL file that can be used to call the web service
implemented by this process definition. This information is presented for display
purposes only, and this file cannot be edited. You can copy this WSDL file and
send it to anyone who wishes to invoke the web service.
Normally, an application would use a web request to retrieve the WSDL file of a
web service (see the description of the Retrieve Resources activity for more
information about sending a WSDL file as a response to a web request). This tab
allows you to see the WSDL file that contains the concrete service description for
this process.
Misc
The Misc tab contains the following fields:
Field
Description
Sequencing Key
Custom Id
Output
The output for the activity is the following.
Output Item
Datatype
Description
inputMessage or
<operationName>
depends
upon
type
specified
in WSDL
606
| Chapter 16
SOAP Palette
Output Item
Datatype
Description
mimeEnvelopeEleme
nt
complex
mimeHeaders
complex
content-disposition
content-type
content-transfer-encoding
content-id
Output Item
Datatype
Description
binaryContent |
textContent |
fileName
choice
headers
complex
Header.<partName>
complex
Context
complex
608
| Chapter 16
SOAP Palette
Output Item
Datatype
Description
SecurityContext
complex
Transport
complex
WSSE
complex
Output Item
Datatype
Description
Authentication
complex
Signature
RemoteAddress
complex
string
610
| Chapter 16
SOAP Palette
Output Item
Datatype
Description
RemoteHost
string
string
RequestURI
string
HTTPVersion
string
Command
string
QueryString
string
Header
complex
Output Item
Datatype
Description
Protocol
string
Port
integer
Headers
Complex
Accept
string
Accept-Charset
string
Accept-Encoding
string
Content-Type
string
612
| Chapter 16
SOAP Palette
Output Item
Datatype
Description
Content-Length
string
Connection
string
Cookie
string
Pragma
string
JMSDestination
string
JMSReplyTo
string
Output Item
Datatype
Description
JMSDeliveryMode
string
JMSMessageID
string
JMSTimestamp
long
JMSExpiration
long
JMSRedelivered
boolean
614
| Chapter 16
SOAP Palette
Output Item
Datatype
Description
JMSPriority
integer
JMSCorrelationID
string
JMSType
string
string
JMSProperties
JMSXUserID
Output Item
Datatype
Description
JMSXAppID
string
JMSXProducerTIXID
string
JMSXConsumerTXID
string
JMSXRcvTimestamp
integer
JMSXDeliveryCount
integer
JMSXGroupID
string
616
| Chapter 16
SOAP Palette
Output Item
Datatype
Description
JMSXGroupSeq
integer
Error Output
The Error Output tab lists the following possible exceptions that can be thrown by
this activity.
Activity Errors
InvalidEnvelopeException
InternalException
ConfigurationException
DeserializationException
ServerException
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Name
No
Description
No
Service
No
Description
No
Operation
No
SOAP Action
Yes
618
| Chapter 16
SOAP Palette
Field
Global
Var?
Description
Timeout (secs)
Yes
Attachment
Style
No
Reload Button
The Reload Button reloads the WSDL file. If the WSDL file has changed since it
was last loaded, the configuration, input, output, and error output are updated
with the changes.
Transport Details
The Transport Details tab allows you to specify additional configuration
information based on the type of transport used for the SOAP request. When
HTTP is the transport, the HTTP sub-tab appears on this tab. When JMS is the
transport, the JNDI and JMS sub-tabs appear. See SOAP Messages Over the JMS
Transport on page 639 for more information about SOAP over the JMS transport.
Global
Var?
Description
HTTP Sub-Tab
Endpoint URL
Yes
Use HTTP
Proxy
No
Proxy
No
Use Basic
Authentication
No
Identity
No
620
| Chapter 16
SOAP Palette
Field
Global
Var?
Description
Yes
JNDI Sub-Tab
Context URL
Yes
Password
Yes
Context Factory
Yes
Field
Global
Var?
Description
Connection
Factory
Yes
SSL
No
SSL Password
Yes
Validate
Security
Context
Yes
622
| Chapter 16
SOAP Palette
Field
Global
Var?
Description
Properties
No
JMS Sub-Tab
User Name
Yes
Password
Yes
JMS
Destination
Yes
Message Type
Yes
Field
Global
Var?
Description
Delivery Mode
Yes
Expiration
Yes
Priority
Yes
No
JMS
Connection
No
624
| Chapter 16
SOAP Palette
Configure SSL
This button allows you to configure the SSL connection parameters for connecting
to the SOAP server. This button brings up a dialog with the following fields:
Field
Description
Trusted Certificates
Folder
Identity
Field
Description
Messages with Attachments (SwA) - available with SOAP version 1.1 and 1.2.
626
| Chapter 16
SOAP Palette
Advanced
The Advanced tab is used to specify the behavior of attachment for the reply
message. This is useful if large messages are sent and you wish to write them to
files instead of storing them in memory. The Advanced tab has the following
fields.
Field
Description
Write to File
Field
Description
Directory
Create Non-Existing
Directories
Input
See TIBCO ActiveMatrix BusinessWorks Process Design Guide for more information
about mapping and transforming input data.
The input for the activity is the following.
Input Item
Datatype
Description
inputMessage or
<operationName>
complex
628
| Chapter 16
SOAP Palette
Input Item
Datatype
Description
mimeEnvelopeElement
complex
mimeHeaders
complex
content-disposition
content-type
content-transfer-encoding
content-id
Input Item
Datatype
Description
binaryContent |
textContent | fileName
choice
_configData
complex
endpointURL
string
host
string
JMSTargetDestination
string
JMSPriority
number
630
| Chapter 16
SOAP Palette
Input Item
Datatype
Description
JMSExpiration
number
soapAction
string
headers
complex
timeout
number
JMSReplyDestination
string
Output
The output for the activity is the following.
Output Item
Datatype
Description
outputMessage or
complex
<operationName>Response
complex
mimeEnvelopeElement
complex
632
| Chapter 16
SOAP Palette
Output Item
Datatype
Description
mimeHeaders
complex
content-disposition
content-type
content-transfer-encoding
content-id
choice
Error Output
The Error Output tab lists the possible exceptions that can be thrown by this
activity. See TIBCO ActiveMatrix BusinessWorks Error Codes for more information
about error codes and corrective action to take.
Exception
Thrown When...
defaultFaultElement
ActivityTimedOutException
<customFault>
HttpServerException
HttpCommunicationException
JMSSessionCreteException
JMSSendException
JMSReceiveException
634
| Chapter 16
SOAP Palette
The SOAP Send Fault activity sends a SOAP fault to the client if an
error occurs during processing of a SOAP request.
This activity is used when the SOAP Event Source process starter
handles incoming SOAP requests. The WSDL file for the request can have one or
more fault messages defined for an operation (see Chapter 19, WSDL Palette, on
page 669 for a description of creating fault schemas for operations). The SOAP
Send Fault activity can use the fault schema to send application-specific data
about the fault back to the client that made the SOAP request.
This activity cannot be used if the SOAP request is one way.
SOAP faults are required to send the fault code and the fault string. These values
are required input items on the Input tab. For example, "Client" can be used for
client faults and "Server" can be used for server faults. See the SOAP specification
at www.w3.org/TR/SOAP for more information about the syntax of SOAP fault
codes.
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Description
Name
No
Description
No
Reply To
No
Field
Global
Var?
Description
Fault Details
No
Input
See TIBCO ActiveMatrix BusinessWorks Process Design Guide for more information
about mapping and transforming input data.
TIBCO ActiveMatrix BusinessWorks uses the same schema for Fault messages
regardless of the version of the SOAP protocol. See SOAP Specification
Compliance on page 584 for more information.
The input for the activity is the following.
Input Item
Datatype
Description
faultcode
string
faultstring
string
636
| Chapter 16
SOAP Palette
Input Item
Datatype
Description
faultactor
string
detail
complex
Output
The activity has no output.
Error Output
The Error Output tab lists the possible exceptions that can be thrown by this
activity. See TIBCO ActiveMatrix BusinessWorks Error Codes for more information
about error codes and corrective action to take.
Exception
Thrown When...
ServerException
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Description
Name
No
Description
No
Reply To
No
Transport
The Transport tab has the following fields.
Field
JMS
Application
Properties
Global
Var?
No
Description
Any application-specific message properties that
will be part of the message. This is specified by the
JMS Application Properties shared configuration
resource.
Once specified, these properties appear on the Input
tab under TransportProperties as OtherProperties.
638
| Chapter 16
SOAP Palette
Input
See TIBCO ActiveMatrix BusinessWorks Process Design Guide for more information
about mapping and transforming input data.
The input for the activity is the following.
Input Item
Datatype
outputMessage or
<operationName>
Header.<headerPart>
Description
The output schema of the operation for
the selected SOAP request. Each of the
schema elements are available in this
dialog for mapping.
complex
Output
The activity has no output.
Error Output
The Error Output tab lists the possible exceptions that can be thrown by this
activity. See TIBCO ActiveMatrix BusinessWorks Error Codes for more information
about error codes and corrective action to take.
Exception
Thrown When...
ServerException
the support is based on SOAP 1.1, SOAP 1.2, and WSDL 1.1
640
| Chapter 16
SOAP Palette
JMS Header
Table 9 describes the JMS headers.
Table 9 JMS headers for SOAP messages
JMS Header
Description
Content_Type
application/xml
attachments
multipart/related
SoapAction
JMSDestination
JMSReplyTo
JMSMessageID
JMS Body
The JMS message body contains a binary representation of the actual SOAP
message. Below is an example of a SOAP message.
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV=
"http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body SOAP-ENV:encodingStyle=
"http://schemas.xmlsoap.org/soap/encoding/">
<ns0:getCatalog xmlns:xs=
"http://www.w3.org/2001/XMLSchema"
xmlns:soap-enc=
"http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:ns0="http://InputMessageNamespace"/>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
WSDL Extensions
The following sections describe extensions to the WSDL standard to support the
JMS protocol.
WSDL Binding
The WSDL Binding for SOAP over JMS varies only slightly from the SOAP over
HTTP binding. The transport attribute under soap:binding indicates that JMS is
being used. The attribute must have the value:
http://www.tibco.com/namespaces/ws/2004/soap/binding/JMS.
For example:
<soap:binding style="document"
transport="http://www.tibco.com/namespaces/ws/2004/soap/binding
/JMS"/>
WSDL Service
The service section of the WSDL also contains extensions to support SOAP over
JMS. The extension is defined with the following form where '?' means optional.
<wsdl:service>
<jndi:context />?
642
| Chapter 16
SOAP Palette
<jms:connectionFactory />?
<wsdl:port>
<jndi:context />?
<jms:connectionFactory />?
<jms:targetAddress />
</wsdl:port>
</wsdl:service>
MimeParser
MimeParser 643
MimeParser
Activity
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Name
No
Description
No
Input Style
No
Output Style
No
Description
Advanced
The Advanced tab contains the following field:
Field
GenerateStrictP
arsingErrors
Global
Var?
No
Description
When checked, this field generates strict parsing
validation errors.
644
| Chapter 16
SOAP Palette
Input
The Input tab contains the following fields:
Input Item
Datatype
Description
MimeBinaryData
Binary
Output
The Output for the activity is the following.
Output Item
Datatype
Description
soapMessage
Binary or
String
StrictValidationErrors
Complex
ErrorString
String
SOAPOutput
Error Output
The Error Output tab lists the possible exceptions that can be thrown by this
activity.
Exception
Thrown When...
XOPParseException
MimeParseException
InvalidXMLException
| 645
Chapter 17
TCP/IP Palette
Topics
646
| Chapter 17
TCP/IP Palette
The Read TCP Data activity reads data from an open TCP connection.
The connection must be opened by an activity or process starter that
executed previously in the process definition. Activities that can open
a TCP connection are: TCP Receiver, TCP Open Connection, and Wait
for TCP Request. The activity that opens a TCP connection places a handle to the
open connection in its connectionKey output element. The connectionKey is
mapped to this activitys input.
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Name
No
Description
No
Type
No
Separator
Yes
User Defined
Separator
Yes
Description
648
| Chapter 17
TCP/IP Palette
Field
Global
Var?
Description
Encoding
Yes
Bytes to Read
Yes
Timeout
Yes
Input
See TIBCO ActiveMatrix BusinessWorks Process Design Guide for more information
about mapping and transforming input data.
The input for the activity is the following.
Input Item
Datatype
Description
connection
binary
encoding
String
separator
String
Input Item
Datatype
Description
bytesToRead
number
timeout
number
Output
The output for the activity is the following.
Output Item
Datatype
Description
data
String
binaryData
binary
endOfStreamReached
boolean
650
| Chapter 17
TCP/IP Palette
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Name
No
Description
No
Description
Input
See TIBCO ActiveMatrix BusinessWorks Process Design Guide for more information
about mapping and transforming input data.
The input for the activity is the following.
Input Item
Datatype
Description
connection
binary
Output
The activity has no output.
TCP Connection
Shared Configuration
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Name
No
Description
No
Host
No
Description
Yes
652
| Chapter 17
TCP/IP Palette
Advanced
The Advanced tab has the following fields
Field
enableDNSL
ookup
Global
Var?
No
Description
Checking this field enables a Domain Name System
(DNS) lookup so that the IP address is resolved to a
DNS name. This can adversely affect throughput, so
enable this field only when required.
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Name
No
Description
No
TCP
Connection
No
Local Host
No
Description
Input
See TIBCO ActiveMatrix BusinessWorks Process Design Guide for more information
about mapping and transforming input data.
The input for the activity is the following.
Input Item
Datatype
Description
connection
complex
654
| Chapter 17
TCP/IP Palette
Input Item
Datatype
Description
host
String
port
number
Output
The output for the activity is the following.
Output Item
Datatype
Description
connection
binary
TCP Receiver
Process Starter
The TCP Receiver process starter starts a new process when a client
requests a TCP connection. When a connection request occurs, the
process starter places a handle to the open connection in the
connectionKey output element. This connection key can be used by
subsequent activities in the process definition to read data from, write data to, or
close the connection.
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Name
No
Description
No
TCP
Connection
No
Description
Misc
The Misc tab contains the following fields:
Field
Description
Sequencing Key
656
| Chapter 17
TCP/IP Palette
Field
Description
Custom Id
Output
The output for the activity is the following.
Output Item
Datatype
Description
connection
binary
IP
string
Host
string
Port
integer
The Wait for TCP Request activity waits for a TCP client connection
request. When a connection request occurs, the activity places a handle
to the open connection in the connectioney output element. This
connection key can be used by subsequent activities in the process
definition to read data from, write data to, or close the connection.
See Scalability With Incoming Events on page 226 in TIBCO ActiveMatrix
BusinessWorks Process Design Guide for information on running the "Wait for..."
activities in a multi-engine mode.
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Name
No
Description
No
TCP
Connection
No
Description
Event
The Event tab has the following fields.
Field
Description
658
| Chapter 17
TCP/IP Palette
Field
Description
Input
See TIBCO ActiveMatrix BusinessWorks Process Design Guide for more information
about mapping and transforming input data.
The input for the activity is the following.
Input Item
Datatype
Description
key
string
processTimeout
integer
Output
The output for the activity is the following.
Output Item
Datatype
Description
connection
binary
The Write TCP Data activity sends data on the specified TCP
connection. The connection must be opened by an activity or process
starter that executed previously in the process definition. Activities
that can open a TCP connection are: TCP Receiver, TCP Open
Connection, and Wait for TCP Request. The activity that opens a TCP connection
places a handle to the open connection in its connectionKey output element. The
connectionKey is mapped to this activitys input.
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Name
No
Description
No
Type
No
Separator
Yes
User Defined
Separator
Yes
Description
Yes
660
| Chapter 17
TCP/IP Palette
Input
See TIBCO ActiveMatrix BusinessWorks Process Design Guide for more information
about mapping and transforming input data.
The input for the activity is the following.
Input Item
Datatype
Description
connection
binary
body
String or
binary
encoding
String
separator
String
Output
The activity has no output.
| 661
Chapter 18
Transaction Palette
Topics
662
| Chapter 18
Transaction Palette
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Name
No
Description
No
Use Shared
JNDI
Configuration
No
Description
No
Field
Global
Var?
Description
JNDI Context
Factory
No
JNDI Context
URL
Yes
JNDI User
Name
Yes
JNDI Password
Yes
664
| Chapter 18
Transaction Palette
Field
Global
Var?
Description
JNDI User
Transaction
Name
No
Transaction
Timeout (sec)
Yes
Connection
Retries
Yes
Transaction State
Activity
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Name
No
Description
No
Options
No
Description
Input
This activity has no input.
666
| Chapter 18
Transaction Palette
Output
The output for the activity is the following.
Output Item
Datatype
Description
Status
integer
Error Output
The Error Output tab lists the possible exceptions that can be thrown by this
activity. See TIBCO ActiveMatrix BusinessWorks Error Codes for more information
about error codes and corrective action to take.
Exception
Thrown When...
TransactionStateException
java.lang.Exception
exceptionClassName
exceptionMessage
XA TransactionManager Configuration
Shared Configuration
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Name
No
Description
No
Transaction
Manager
No
Description
668
| Chapter 18
Transaction Palette
Field
Global
Var?
Description
Transaction
Timeout (sec)
Yes
Custom
Transaction
Manager
No
Optional
Properties
No
| 669
Chapter 19
WSDL Palette
The WSDL palette is used for creating, editing, validating, importing, and
viewing WSDL (Web Service Description Language) files. These files are shared
resources that describe web services. The WSDL palettes resources are used to
create and reuse abstract definitions, namely:
and operations, which describe the activities supported by the web service
Topics
670
| Chapter 19
WSDL Palette
WSDL
Resource
Configuration
The configuration panel is accessible when working in the model view (which
loads by default). The fields in the Configuration tab are described below.
Field
Description
Resource Name
Description
Target Namespace
Definition Name
WSDL 671
Field
Description
Toolbar
When a WSDL resource, or one of its components, is selected in your project, four
extra buttons appear on the toolbar. These buttons are described in Table 10.
Table 10 WSDL toolbar buttons
Button
Description
Opens the model view. The model view is the default view so, by
default, this button is inactive.
For more information on the model view, see Editing WSDL
Resources on page 673.
672
| Chapter 19
WSDL Palette
Description
Opens the content view. For more information on the content
view, see Editing WSDL Resources on page 673.
Opens the source view. For more information on the source view,
Editing WSDL Resources on page 673.
Checks changes made in the content view to verify that the WSDL
resource conforms to the WSDL schema. Errors are reported in an
errors panel, which is displayed at the bottom of the content view.
WSDL 673
Description
Model
674
| Chapter 19
WSDL Palette
View
Description
Content
The content view provides a tabular view of the WSDL file, with
the components (elements and attributes) of the WSDL file listed
on the left, and the component values listed on the right.
The content view provides access to all of the elements and
attributes used to build WSDL files, which appear as choices on the
factory bar located at the bottom of the view. The content view is
useful when viewing concrete WSDL files or when you need to add
elements to your resource that are not available in the model view such as binding or service elements.
The Content view provides the same editing environment used to
create XML instance resources. For details on the content view,
review the documentation for the Instance resource, in TIBCO
Designer Palette Reference.
Source
The source view allows you to edit the source code of your
document directly. If you are comfortable with WSDL syntax,
editing directly in the WSDL source may be useful. To make the
other panels reflect the changes you've made in the source, click
'Reparse' at the top of the panel. Any errors found upon reparse
will be reported.
WSDL 675
Once you have selected the registry to browse, use the Search Details section to
select the type of services you wish to browse. The Search Details section has the
following fields.
Field
Description
Search Type
Use this field to specify the facet you wish to use to locate
the WSDL file. When browsing a WSIL registry, searches
are conducted based on service name only. When browsing
a UDDI registry, see Table 11 for a description of the
available search types.
Search Term
Max Rows
Case-sensitive
Order Asc.
Exact Match
Timeout (msec)
Description
Service Name
Business Name
676
| Chapter 19
WSDL Palette
Description
Business Key
TModel Key
ALL WSDLs
NAICS
ISO 3166
D-U-N-S
Geo Web
SIC Code
In the Search Term field, enter the four digit SIC code. For
more information, see http://www.siccode.com.
UNSPSC
Depending on the Search Type specified in the Search Details, either the Get
Services or Explore buttons will become active. The Explore option returns a list
of company names matching the search criteria, such as the companies with a
particular NAICS or SIC code. (To see the services provided one of the companies
on the list, select the company and click Get Services.) The results returned by the
Explore button are shown in Figure 28.
WSDL 677
The Get Services option displays the WSDL files matching the search criteria in
the table below the Search Details section, as shown in Figure 29.
Figure 29 List of returned services
From the list of returned WSDL files, highlight the file you want to copy and click
OK. The URL for the service will appear in the Copy From URL field of the
Configuration tab of the WSDL resource. Click Copy URL. The definitions from
the external file will be copied into your WSDL resource.
678
| Chapter 19
WSDL Palette
Message
Component
Configuration
The configuration panel is accessible when working in the model view (which
loads by default). The fields in the Configuration tab are described below.
Field
Description
Message
Name
Description
Message 679
Field
Description
Part Table
Type This field displays the type information for the part.
(In the WSDL source, this field represents the value of the
type or element attribute of the part element.) The type
may be a built-in XML Schema simple type or an element or
complex type defined in an XML Schema. This field is not
editable. The value for this field is specified by way of the
Part Details fields.
Toolbar
When a Message component is selected in your project, four extra buttons appear
on the toolbar. These buttons are described in Table 10 on page 671.
TIBCO ActiveMatrix BusinessWorks Palette Reference
680
| Chapter 19
WSDL Palette
PortType 681
PortType
Component
The PortType component describes the operations that are supported by the web
service. One or more PortType components can be added to a WSDL resource
selected in your project. Once the portType component has been created and
selected in the project, the Operation component becomes available in the WSDL
palette.
Configuration
The configuration panel is accessible when working in the model view (which
loads by default). The fields in the Configuration tab are described below.
Field
Description
Description
Toolbar
When a PortType component is selected in your project, four extra buttons appear
on the toolbar. These buttons are described in Table 10 on page 671.
682
| Chapter 19
WSDL Palette
Operation
Component
The Operation component describes the message formats for the incoming and
outgoing messages required by the activities supported by the portType. One or
more Operation components can be added to a PortType component selected in
your project.
Configuration
The configuration panel is accessible when working in the model view (which
loads by default). The fields in the Configuration tab are described below.
Field
Description
Operation Name
Description
Operation 683
Field
Description
Message Table
684
| Chapter 19
WSDL Palette
Toolbar
When a Operation component is selected in your project, four extra buttons
appear on the toolbar. These buttons are described in Table 10 on page 671.
| 685
Chapter 20
The XML Activities palette provides activities for parsing XML strings into
schemas and rendering schemas into XML strings.
Topics
686
| Chapter 20
Parse XML
Activity
The Parse XML activity takes a binary XML file or an XML string and
processes it, turning it into an XML schema tree based on the XSD or
DTD specified.
The preferred way to parse XML files is to use a Read File activity set to
binary mode to read the XML file. Then pass the binary file contents to the Parse
XML activity.
is 55 minutes, 31 seconds, and 112 milliseconds after 2PM on February 10th, 2002
in a time zone that is 8 hours, 0 minutes behind UTC.
If no time zone field is present, the value is interpreted in the time zone of the
machine that is performing the parsing. This can lead to complications if you are
processing XML from different time zones, so you are encouraged to always use
time zones.
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Name
No
Description
No
Description
Field
Global
Var?
Description
Input Style
No
Validate
Output
No
Input
See TIBCO ActiveMatrix BusinessWorks Process Design Guide for more information
about mapping and transforming input data.
The input for the activity is the following.
Input Item
Datatype
Description
xmlString
string
688
| Chapter 20
Input Item
Datatype
Description
xmlBinary
complex
choice
Output Editor
The Output Editor tab allows you to define a schema for the XML output. See
Appendix A, Specifying Data Schema, on page 701 for a complete description of
using the Output Editor tab.
Output
The output for the activity is the following.
Output Item
Datatype
Description
XML Schema
complex
Error Output
The Error Output tab lists the possible exceptions that can be thrown by this
activity. See TIBCO ActiveMatrix BusinessWorks Error Codes for more information
about error codes and corrective action to take.
Exception
Thrown When...
XMLParseException
UnsupportedEncodingException
MissingByteCountException
690
| Chapter 20
Render XML
Activity
Configuration
The Configuration tab has the following fields.
Field
Global
Var?
Name
No
Description
No
Output Style
No
Validate Input
No
Format Using
Default
Namespace
Prefix
No
Description
Field
Global
Var?
Description
Encoding
Yes
Advanced
The Advanced tab allows you to specify which elements in the input schema can
contain CDATA sections. CDATA sections allow you to enclose text within an
element that should not be treated as XML.
The + button allows you to add elements of the input schema to the list. When
you click the + button, a dialog appears that allows you to locate and select the
input schema by location in the project or by namespace. Use the By Location tab
if your input schema is located in the project directory. Use the By Namespace tab
if you constructed the input schema on the Input Editor tab.
Use the X button to remove elements from the list and the up and down arrows to
move elements in the list.
Input Editor
The Input Editor tab allows you to define a schema for the incoming XML data
you wish to render. See Appendix A, Specifying Data Schema, on page 701 for a
complete description of using the Input Editor tab.
Input
See TIBCO ActiveMatrix BusinessWorks Process Design Guide for more information
about mapping and transforming input data.
692
| Chapter 20
Datatype
Description
byteEncoding
string
XML Schema
string
Output
The output for the activity is the following.
Output Item
Datatype
Description
xmlString
string
xmlBytes
bytes
Error Output
The Error Output tab lists the possible exceptions that can be thrown by this
activity. See TIBCO ActiveMatrix BusinessWorks Error Codes for more information
about error codes and corrective action to take.
Exception
Thrown When...
XMLRenderException
UnsupportedEncodingException
MissingByteCountException
694
| Chapter 20
Transform XML
Activity
Configuration
The Configuration tab has the following fields.
Field
Description
Name
Description
Stylesheet
Field
Description
XSLT Engine
Input
The input for the activity is the following.
Input Item
Datatype
Description
xmlBytesIn or
binary
xmlString or
xmlTree
string
696
| Chapter 20
Input Item
Datatype
Description
parameter
complex
name
string
value
string
isXMLDocument
boolean
Output
The output for the activity is the following.
Output Item
Datatype
Description
xmlString or
text or
binary or
complex
xmlOutput
or treeOutput
Error Output
The Error Output tab lists the possible exceptions that can be thrown by this
activity. See TIBCO ActiveMatrix BusinessWorks Error Codes for more information
about error codes and corrective action to take.
Exception
Thrown When...
XMLTransformException
UnsupportedEncodingException
MissingByteCountException
The Transform XML activity uses an XSLT file that accepts two input parameters,
catalogNumber and catalogDate. These input parameters are added as elements
to the Book schema. The following is the source of the XSLT File shared
configuration resource for the example Transform XML activity:
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0"
xmlns:pfx="http://www.books.org">
<xsl:param name="catalogNumber"> <!--type="string"--></xsl:param>
<xsl:param name="catalogDate"> <!--type="string"--></xsl:param>
<xsl:template match="/*">
698
| Chapter 20
<pfx:BookStore>
<xsl:for-each select="Book">
<xsl:call-template name="handle-book">
<xsl:with-param name="inDate" select="$catalogDate"/>
</xsl:call-template>
</xsl:for-each>
</pfx:BookStore>
</xsl:template>
<xsl:template name ="handle-book">
<xsl:param name="inDate"> <!--type="string"--></xsl:param>
<pfx:Book>
<pfx:Title><xsl:value-of select="Title"/></pfx:Title>
<pfx:Author><xsl:value-of select="Author"/></pfx:Author>
<pfx:Date><xsl:value-of select="$inDate"/></pfx:Date>
<pfx:ISBN><xsl:value-of
select="$catalogNumber"/></pfx:ISBN>
<pfx:Publisher><xsl:value-of
select=""TIBCO Software Inc./></pfx:Publisher>
</pfx:Book>
</xsl:template>
</xsl:stylesheet>
When you configure the Transform XML activity, you specify the incoming XML
to transform any input parameters to the schema. Figure 31 illustrates the input
for the example Transform XML activity.
Figure 31 Input for the example Transform XML activity
The stylesheet has two input parameters. The XPath if statement is used to place
the correct names and values into the correct parameters. Each parameter is
specified as a name/value pair. Notice that the name of each parameter
corresponds to the name specified for that parameter in the XSLT file.
The output of the Transform XML activity is a text string containing the XML. In
our example process definition, we must insert the transformed data into a
database table. To map the transformed data into the database UPDATE
statement, the data must first be represented as a schema. To do this, we use the
Parse XML activity to parse the output of Transform XML into an XML schema.
700
| Chapter 20
XSLT File
Shared Configuration
The XSLT File resource allows you to load an XSLT file to use to
transform XML schemas using the Transform XML activity. See
Transform XML on page 694 for more information about using this
shared configuration resource in a Transform XML activity.
A transformation expressed in XSLT is called a stylesheet. A stylesheet contains a
set of template rules. Each template rule has two parts: a pattern that is matched
against nodes in the source document and a template that can be instantiated to
form part of the result document.
A transformation expressed in XSLT describes rules for transforming a source
document into a result document. The transformation is achieved by associating
patterns with templates. A pattern is matched against elements in the source
document. A template is instantiated to create all or part of the result document.
The structure of the result document can be completely different from the
structure of the source document. In constructing the result document, elements
from the source document can be filtered and reordered, and arbitrary structure
can be added.
| 701
Appendix A
Topics
702
| Appendix A
Editor
The Editor tab is used to specify a data schema for input or output of an activity.
This is useful when the data does not have a well-known structure. The Editor tab
is usually named for the type of schema you are creating. For example, the tab
may be named "Input Editor" or "Output Editor".
For example, an email message has a well-known data structure, and therefore
does not need a special datatype for its input. A JMS message, however, can have
application-specific properties of any datatype. The Editor tab allows you to
define the schema for any activities that require a specialized input or output
schema.
You can use a simple datatype, or you can define a group of data elements on this
tab. You can also reference XML schema or ActiveEnterprise classes stored in the
project. Once defined, the schema appears on the appropriate tabs of the activity.
The data in the schema then becomes available to other activities in the process
definition.
The following illustrates the Editor tab. In this example, the Editor tab is labeled
"Input Editor" indicating this is the activitys input.
To define a schema on this tab, use the icons above the schema tree to add, delete,
or move data items. Then use the fields of the dialog to specify the datatype of
each item.
Field
Description
Content
Editor 703
Field
Description
Name
Cardinality
Type
Schema Name
Type Name
Content Type
Description
Complex
Element
Name
Cardinality
704
| Appendix A
Content Type
Description
Element of Type
Name
Cardinality
Name
Sequence
Cardinality
Choice
Cardinality
All
Cardinality
XML Group
Reference
Cardinality
XML Element
Reference
Attribute of
Type
Cardinality
Type
Other fields
depending upon
the datatype
selected
Schema
Element
Cardinality
Type
Other fields
depending upon
the datatype
selected.
Schema
Model Group
Editor 705
Content Type
Description
Any Element
Cardinality
WSDL
WSDL Message
Validation
Message
Description
String or character value. You can specify the type of string
as one of the following:
String
Normailzed String
Token
Language
Name
NC-Name
Q-Name
Name Token
Name Tokens
ID
ID ref
ID refs
Entity
Entites
706
| Appendix A
Description
Integer value. You can specify the size of the integer as one of
the following:
Byte
Short
Int
Long
Unsigned Byte
Unsigned Int
Unsigned Long
Integer
Positive Integer
Negative Integer
Non-positive Integer
Non-negative Integer
Time
Date
Duration
Day
Month
Year
Editor 707
Description
Base 64 or hexidecimal value.
An HTTP Uniform Resource Identifier.
Complex element. Container for other datatypes.
XML element or group reference.
Sequence. Signifies that the contained sub-elements are
repeated in an ordered sequence.
Any Type. Represents a schema item with the TIBCO
ActiveEnterprise datatype any. This node can be specified as
any other datatype or a reference to an XML Type or AE
Class.
Any Element. Represents a schema item that can be a
reference to any XML Element. You can use the Coersion
button to supply a reference to the XML Element for this
item.
Choice. Specifies that the schema element can be one of a
specified set of datatypes.
708
| Appendix A
| 709
Index
A
ActiveEnterprise Adapter palette 5
710
| Index
activities
Adapter Request-Response Server 21
Adapter Subscriber 25
Assign 135
Call Process 136
Catch 140, 198
Checkpoint 142
Confirm 145
Copy File 58
Create File 61
custom 147
Engine Command 149
External Command 164
File Poller 64
FTP Change Default Directory 90
FTP Delete File 98
FTP DIR 101
FTP Get 104
FTP Get Default Directory 110
FTP Make Remote Directory 113
FTP Put 116
FTP Quote 121
FTP Remove Remote Directory 124
FTP Rename File 127
FTP Sys Type 130
Generate Error 170
Get Context 543
Get JMS Queue Message 371
Get Shared Variable 173
HTTP Receiver 225
Inspector 174
Invoke an Adapter Request-Response Service 29
Invoke Partner 544
Java Code 274
Java Event Source 286
JDBC Call Procedure 316
JDBC Get Connection 330
JDBC Query 335
JDBC Update 345
JMS Queue Receiver 391
JMS Queue Requestor 398
JMS Queue Sender 405
JMS Topic Publisher 411
JMS Topic Requestor 417
JMS Topic Subscriber 424
TIBCO ActiveMatrix BusinessWorks Palette Reference
Label 181
List Files 69
Lock Object 183
Map Data 184
Notify 185
Null 188
On Event Timeout 189
On Notification Timeout 191
On Shutdown 193
On Startup 194
Parse 476
Parse XML 686
Publish Rendezvous Message 508
Publish to Adapter 34
Read File 72
Read TCP Data 647
Receive Mail 453
Receive Notification 195
Receive Partner Notification 556
Remove File 75
Rename File 77
Render 482
Render XML 690
Rendezvous Subscriber 511
Reply to JMS Message 431
Reply to Rendezvous Request 520
Respond to Adapter Request 40
Retrieve Resources 586
RMI Lookup 536
Send Exception to Adapter Request 43
Send HTTP Request 237
Send HTTP Response 255
Send Mail 461
Send Rendezvous Request 522
Set Context 581
Set Shared Variable 199
Sleep 204
SOAP Event Source 593, 593
SOAP Request Reply 617
SOAP Send Fault 634
SOAP Send Reply 637
SQL direct 357
TCP Close Connection 650
TCP Open Connection 653
TCP Receiver 655
Index 711
Timer 205
Transaction State 665
Transform XML 694
Wait 208
Wait for Adapter Message 46
Wait for Adapter Request 51
Wait for File Change 80
Wait for HTTP Request 261
Wait for JMS Queue Message 437
Wait for JMS Topic Message 444
Wait for Rendezvous Message 527
Wait for TCP Request 657
Write File 85
Write TCP Data 659
Write To Log 210
Adapter Request-Response Server activity 21
Adapter Subscriber activity 25
Assign activity 135
B
built-in resource provider 591
C
Call Process activity 136
Catch activity 140, 198
Checkpoint activity 142
Confirm activity 145
confirming a message 145
conventions used in this manual xxxiii
Copy File activity 58
Create File activity 61
creating schemas 702
custom activities 147
customer support xxxiii, xxxiii
D
Data Format resource 470
documentation
labeling process definitions 181
dynamic SQL 357
E
Engine Command activity 149
External Command activity 164
F
File palette 57
File Poller activity 64
FTP Change Default Directory activity 90
FTP Connection shared configuration 93
FTP Delete File activity 98
FTP DIR activity 101
FTP Get activity 104
FTP Get Default Directory activity 110
FTP Make Remote Directory activity 113
FTP palette 89
FTP Put activity 116
FTP Quote activity 121
FTP Remove Remote Directory activity 124
FTP Rename File activity 127
FTP Sys Type activity 130
G
General Activities palette 133
Generate Error activity 170
Get JMS Queue Message activity 371
Get Shared Variable activity 173
712
| Index
H
HTTP Component 216
HTTP Connection shared configuration 216
HTTP palette 215
HTTP Receiver activity 225
J
Java Code activity 274
Java Custom Function shared configuration 281
Java Event Source activity 286
Java Global Instance shared configuration 294
Java palette 269
JDBC Call Procedure activity 316
JDBC Connection shared configuration 323
JDBC Get Connection activity 330
JDBC palette 315
working with the Query Designer 352
JDBC Query activity 335
Query Designer 352
JDBC Update activity 345
JMS Application Properties shared configuration 377
JMS Connection shared configuration 378
JMS palette 369
JMS properties 387
JMS Queue Receiver activity 391
JMS Queue Requestor activity 398
JMS Queue Sender activity 405
JMS Topic Publisher activity 411
JMS Topic Requestor activity 417
TIBCO ActiveMatrix BusinessWorks Palette Reference
M
Mail palette 452
Manual Work palette 469
Map Data activity 184
mapping
with XSLT 700
messages
confirming 145
N
Notify activity 185
Notify Configuration shared configuration 187
Null activity 188
O
On Event Timeout activity 189
On Notification Timeout activity 191
On Shutdown activity 193
On Startup activity 194
Index 713
P
palettes
ActiveEnterprise Adapter 5
File 57
FTP 89
General Activities 133
HTTP 215
Java 269
JDBC 315
JMS 369
Mail 452
Manual Work 469
Parse 469
Policy 485
Process 1
Rendezvous 497
RMI 533
Service 541
SOAP 583
TCP/IP 645
Transaction 661
XML 685
Parse activity 476
Parse palette 469
Parse XML activity 686
Policy palette 485
Process palette 1
process starters
RMI Server 538
Proxy Configuration shared configuration 236
Publish Rendezvous Message activity 508
Publish to Adapter activity 34
S
Security Policy Association shared configuration 493
Security Policy shared configuration 486
Send Exception to Adapter Request activity 43
Send HTTP Request activity 237
Send HTTP Response activity 255
Send Mail activity 461
Send Rendezvous Request activity 522
Service palette 541
Service shared configuration 559
Set Shared Variable activity 199
shared configuratation
TCP Connection 651
Q
Query Designer 352
R
Read File activity 72
TIBCO ActiveMatrix BusinessWorks Palette Reference
714
| Index
shared configuration
Context Resource 542
Data Format 470
FTP Connection 93
HTTP Connection 216
Java Custom Function 281
Java Global Instance 294
JDBC Connection 323
JMS Application Properties 377
JMS Connection 378
JNDI Configuration 176
Job Shared Variable 179
JTA UserTransaction Configuration 662
Notify Configuration 187
Partner Link 546
Proxy Configuration 236
Rendezvous transport 515
Security Policy 486
Security Policy Association 493
Shared Variable 201
WSDL File 701
XA TransactionManager Configuration 667
XSLT File 700
Shared Variable shared configuration 201
Sleep activity 204
SOAP Event Source activity 593
SOAP palette 583
SOAP Send Fault activity 634
SOAP Send Reply activity 637
specifying data schema 701
SQL Direct activity 357
SQL queries 352
storing mapping definitions 700
support, contacting xxxiii, xxxiii
T
TCP/IP Palette 645
technical support xxxiii, xxxiii
TIBCO_HOME xxxi
Timer activity 205
Transaction palette 661
Transaction State activity 665
TIBCO ActiveMatrix BusinessWorks Palette Reference
W
Wait activity 208
Wait for Adapter Message activity 46
Wait for Adapter Request activity 51
Wait for File Change activity 80
Wait for HTTP Request activity 261
Wait for JMS Queue Message activity 437
Wait for JMS Topic Message activity 444
Wait for Rendezvous Message activity 527
Write File activity 85
Write To Log activity 210
writing SQL queries 352
WSDL File shared configuration 701
X
XA TransactionManager Configuration shared
configuration 667
XML palette 685
XSLT File shared configuration 700