Вы находитесь на странице: 1из 8

Steps to create a new iProcess SPO processApril 14, 2011

1) If the DIRECTOR process exists and is not enabled, use the following command:
swadm enable_process 1 DIRECTOR 1
If the DIRECTOR process does not exist, the add the process and enable it using the following
command.
swadm add_process 1 DIRECTOR Y
2)Add the SPO server instance , use the following command
swadm add_process machine_id | machine_name process_name enabled
swadm add_process 1 SPO Y
3)Remove the entry below from the C:\WINDOWS\system32\drivers\etc\services file.
webclienttcp

1710/tcp

webclient

#static port for staffware i browser client

4) Make entries in the C:\WINDOWS\system32\drivers\etc\services file as below.


webclienttcp

10002/tcp

webclient

#static port for staffware i browser client

webclienttcp1

10003/tcp

webclient1

SPODirector

10020/tcp

SPODirector

#static port for staffware i browser client 2


#static port for SPO Director

5) Set the following attributes for SPO DIRECTOR:swadmin


swadm set_attribute 1 DIRECTOR 1 BASE_TCP_SERVICE_NAME <Portnumber >
<Portnumber> : static tcp port number defined for 1st instance of object server. Mention tcp
alias name which is mentioned in the Services File of C:\WINDOWS\system32\drivers\etc
folder.
Eg
swadm set_attribute 1 DIRECTOR 1 BASE_TCP_SERVICE_NAME webclienttcp
swadm set_attribute 1 DIRECTOR 1 TCP_SERVICE_NAME <Portnumber >
<Portnumber >:Assign a new port number and define it the services file. Mention tcp
alias name which is mentioned in the Services File of
C:\WINDOWS\system32\drivers\etc folder.
swadm set_attribute 1 DIRECTOR 1 TCP_SERVICE_NAME SPODirector
swadm set_attribute 1 DIRECTOR 0 BASE_TCP_SERVICE_NAME DEFAULT

Note: There are few attributes which can be useful for load balancing. Ex:
PICKMETHOD, LOADBALANCE etc. Currently we will be going with default SPO
DIRECTOR settings.
Swadm command is to be executed from util folder directory of iProcess.
6) Restart iProcess sentinels
I hope this will help you all .

CDQP
Case Data Queue Parameters in short form called as CDQP allow values from work item case
data to be used to sort, display and filter work items lists, and to find specific work items in the
Work Queue Manager.
In order to do that first define the field globally and can then map the defined field to specific
queues for use in Work Queue Manager. The same field also need to be defined in each
procedure separately, otherwise the case data for that field will be displayed as empty in the work
queue manager.
Once a CDQP has been mapped to a queue and defined in the procedures, users with access to
that queue can use the CDQP to sort, display and filter the work items list, or to find specific
work items
In order to add new CDQP, Execute the below command in $SWDIR/util
1) $ swutil QINFO {code:html}<CDQP File>{code} PUBLISH
2) then execute command
$ swutil MOVESYSINFO
Please read the Case Data Queue Parameters chapter in TIBCO iProcess swutil and swbatch
Reference Guide on how to configure them for detail information.
In order to add new CDQP, Execute the below command in $SWDIR/util
1) $ swutil QINFO PUBLISH
2) then execute command
$ swutil MOVESYSINFO

Example CDQP File


The following control file fragment illustrates how to define CDQPs.
; Add the field AGE as CDQPs.
;
F+AGE,3,Age

;;
; Add AGE to user queues usr30 and usr31.
;
Q+usr30,usr31
C+AGE
Case Data Queue Parameters in short form called as CDQP allow values from work item case
data to be used to sort, display and filter work items lists, and to find specific work items in the
Work Queue Manager.

In order to do that first define the field globally and can then map the defined field to specific
queues for use in Work Queue Manager. The same field also need to be defined in each
procedure separately, otherwise the case data for that field will be displayed as empty in the work
queue manager.

Once a CDQP has been mapped to a queue and defined in the procedures, users with access to
that queue can use the CDQP to sort, display and filter the work items list, or to find specific
work items.
Case Data Queue Parameters allow values from work item case data to be used to
sort, display and filter work items lists, and to find specific work items, in Work Queue Manager.

Work queue parameter fields can be used in Work Queue Manager from:

the Work Queue Sort Criteria dialog, to sort the order in which work items

are displayed based on the contents of the field.

the Work Item List Filter dialog, to filter the work items which are displayed

based on the contents of the field.

the Display Criteria dialog, to display the contents of the field for each work

item.

the Find Work Item dialog, to search for work items based on the contents of

the field.

We have already defind fields


SW_QPARAM1
SW_QPARAM2
SW_QPARAM3
SW_QPARAM4
You can change the description using iProcess Administration screen (in iProcess Modeler). to
show the more user friednly information.

If you need more fields for achiving the above, CDQP allows you to add any fields (which need
to be defined).
CDQPs are just ordinary case data fields in the process. But to display them in the
WQs, and use them for sorting and filtering, you have to configure at an admin
level. Read the "Case Data Queue Parameters" chapter in "TIBCO iProcess swutil
and swbatch Reference Guide" on how to configure them - either gfobally or queueby-queue.

In order to add new CDQP, Execute the below command in $SWDIR/util


1) $ swutil QINFO PUBLISH
2) then execute command
$ swutil MOVESYSINFO

Example CDQP File


The following control file fragment illustrates how to define CDQPs.
; Add the field AGE as CDQPs.
;
F+AGE,3,Age

;;
; Add AGE to user queues usr30 and usr31.
;
Q+usr30,usr31
C+AGE

Set BG processes to DEBUG Level Logging in TIBCO


iProcess
To set BG Debug
1. Go to the command line (Start > Run > CMD > Enter).
2. Go to the $swdir/util directory in the command line.
3. Run command below.
$swdir\util>swadm set_attribute 0 BG 0 DEBUG ALL=255
To stop Debug:

1. Go to the command line (Start > Run > CMD > Enter).
2. Go to the $swdir/util directory in the command line.

3. Run command below.

$swdir\util> swadm delete_attribute 0 BG 0 DEBUG

Note: Restart the iProcess sentinels is not required to make the changes in effect

Undelivered mail is stored in the administrator's queue (default name = swadmin).


So
bq. plist -mv swadmin
Will list the mail for the swadmin user AND undevliered mail (AND any test mail for swadmin
user). You can identify the workitems for the undelivered queue as the UserName column would
be blank for undelivered items. Here is a listing of a swadmin queue (but unfortunately I don't
have any undelivered items):
{quote}
Mail Listing - 8 items in D:\swserver\swnod778\queues\swadmin\staffo(ver 18)
Flags: NewMail, 5 New items, 0 deadlines, 1stDL: 3000365 23:15
Orecnum Flags
Locker UserName
Pno Packfilename RQID Deadline-time

Host Procnum Procname Casenum Stepname

----------------------------------------------------------------------------------------------------------------------------1:1 ---------Nswadmin@swnod778 swnod778 6:0 TEST1


06000001.v 1 3000/365 23:15

1:1 S1

2:1 ---------Nswadmin@swnod778 swnod778 2:0 $SYSTEM


02000002.v 2 3000/365 23:15

1:1 SYSINFO 3

3:1 ---------Nswadmin@swnod778 swnod778 7:0 TEST2


07000003.v 3 3000/365 23:15

1:1 S1

4:1 ---------Nswadmin@swnod778 swnod778 7:0 TEST2


07000004.v 4 3000/365 23:15

4:2 S1

5:4 ----------swadmin@swnod778 swnod778 9:0 REQFLDS


09000006.v 6 3000/365 23:15

4:2 STEP2

6:2 ----------swadmin@swnod778 swnod778 9:0 REQFLDS


09000007.v 7 3000/365 23:15

5:3 STEP2

7:1 ----S-----09000007.x01 0

3:4 STEP1

swadmin@swnod778 swnod778 9:0 REQFLDS


3000/365 23:15

8:2 ---------Nswadmin@swnod778 swnod778 9:0 REQFLDS 12:5 STEP2


09000008.v 8 3000/365 23:15

{quote}

Re-directing a single workitem in iprocess

Check the USERFLAGS attribute of the admin user from which you are trying to forward
the workitem, if it is "Forward None", then the user doesn't have access to forward.
If the above property is good, then check in the status tab of workitem, whether the
"Forward" option is enabled.

You can also redirect all tasks present in the queue to another queue from command line:

a) Create a file a.xfr with the following line:


F+user1,user2,-,b)run the command
swutil REDIRECTION a.xfr

The above command will redirect all tasks present in user1 to user2.

It will keep on redirecting the task in future as well. If you want to remove the redirection then
write the following line in a file : F-user1 (It will remove redirection from user1) or R (It will
remove all current redirection) and then again run the command swutil REDIRECTION a.xfr
Can you please check if the swadmin has participant rights to the user queue?

The command for checking is: swutil PARTICIPATION EXPORT <queuename>

It will give output like :


P-user1
P+user1,-,-,-,-,MTWTFSS,
U+swadmin
END

If swadmin has participant access to user1 queue.

If the swadmin dont have participant then swadmin might not be able to forward tasks present in
user1 queue.
To provide participant access create a file a.xfr with following line:
P+user1,-,-,-,-,MTWTFSS,
U+swadmin
END

After that use the below command to provide participant access:


swutil PARTICIPATION a.xfr

Вам также может понравиться