Author |
Message
|
Rajeshkumar |
Posted: Wed Dec 18, 2002 2:29 am Post subject: Adding users at runtime dynamically in to Workflow |
|
|
Newbie
Joined: 18 Dec 2002 Posts: 2
|
Hi,
I have a doubt in MQseries Workflow regd adding users/staffs to
workflow model.I have added users with specific roles during buildtime.
I like to know whether it is possible to add users dynamically during
runtime.If it is possible plz let me know the process to do it.
Thanks & regds,
Rajesh |
|
Back to top |
|
 |
jmac |
Posted: Wed Dec 18, 2002 5:17 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
Rajesh:
You simply use fmcibie to load the users into the runtime database. I am not sure what you mean by "dynamically" but you can run fmcibie while the runtime database is in use. If you are looking for a way to update staff directly I'm afraid that there is no way to do that, you will need to write your own code for this. We (SYSCOM Inc.) do have a package that can be used to do this. If you are interested send me a note and I will give you some information regarding this. _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
vennela |
Posted: Wed Dec 18, 2002 5:43 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
Rajesh:
You may want to take a look at Support pack WO02: People administration. It was not of much use to me. Don't know if it will be of much to you too
---
Venny |
|
Back to top |
|
 |
Rajeshkumar |
Posted: Wed Dec 18, 2002 9:46 pm Post subject: |
|
|
Newbie
Joined: 18 Dec 2002 Posts: 2
|
Hi jmac,
Usually users r added during buildtime and exported to runtime.
Once the Workflow get started,if I want to add a new user directly,
thats what i mean dynamically.
Thanks & regds,
Rajesh |
|
Back to top |
|
 |
vedbhat |
Posted: Wed Dec 18, 2002 10:32 pm Post subject: |
|
|
 Disciple
Joined: 19 Mar 2002 Posts: 186 Location: Singapore
|
Hi Rajesh,
Yes. If you follow as John said, You can create users dynamically. Thats the only dynamic way which is currently available.
Cheers
Ved _________________ IBM Certified Solutions Expert - MQSeries Workflow
IBM Certified Specialist - MQSeries |
|
Back to top |
|
 |
amittalekar |
Posted: Thu Dec 19, 2002 5:34 am Post subject: |
|
|
 Disciple
Joined: 03 Apr 2002 Posts: 166 Location: VA, USA
|
hI rajesh,
following is the syntax for importing admin equivalent user using fmcibie command. u can customize this. Just store following sysntax in FDL and import it in ur runtime. Hope this is what u want....
/*
*
* import users at runtime*
*/
CODEPAGE 1252
FM_RELEASE V3R3 2
/* Creating a Person in Workflow -start */
PERSON 'AMIT'
PERSON_ID "AMIT"
LAST_NAME "T"
FIRST_NAME "AMIT"
AUTHORIZED_FOR PROCESS_MODELING
AUTHORIZED_FOR PROCESS_CATEGORY ALL
AUTHORIZED_FOR WORKITEMS_OF ALL
PASSWORD "password"
IS_NOT_ABSENT
DO NOT RESET_ABSENT
GROUP 'FMCGRP'
SYSTEM 'FMCSYS'
END 'AMIT'
/* Creating a Person in Workflow -end */ |
|
Back to top |
|
 |
anuppc |
Posted: Tue Feb 18, 2003 9:27 pm Post subject: |
|
|
 Voyager
Joined: 22 Oct 2002 Posts: 93 Location: Montreal
|
Hi Amit,
I was trying to dynamically add users using an fdl similar to yours.....I pull the userid and password needed to create the fdl from LDAP. i notice that the password is usually encrypted and to add the user into MQWF like ur sample fdl the password has to be "password". Any ideas how i might set a different password?
thanks
Anup _________________ BlowFish |
|
Back to top |
|
 |
amittalekar |
Posted: Wed Feb 19, 2003 6:30 am Post subject: |
|
|
 Disciple
Joined: 03 Apr 2002 Posts: 166 Location: VA, USA
|
U must be getting password (String) from the ldap.
Just replace the password from FDL. That will work.
Suppose u r getting password as "amit123" then in the FDL replace this with following syntax :-
PASSWORD "amit123"
I hope I am understanding ur question... |
|
Back to top |
|
 |
anuppc |
Posted: Thu Feb 20, 2003 3:36 pm Post subject: |
|
|
 Voyager
Joined: 22 Oct 2002 Posts: 93 Location: Montreal
|
Thanks! It worked! _________________ BlowFish |
|
Back to top |
|
 |
|