ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » Adding users at runtime dynamically in to Workflow

Post new topic  Reply to topic
 Adding users at runtime dynamically in to Workflow « View previous topic :: View next topic » 
Author Message
Rajeshkumar
PostPosted: Wed Dec 18, 2002 2:29 am    Post subject: Adding users at runtime dynamically in to Workflow Reply with quote

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
View user's profile Send private message
jmac
PostPosted: Wed Dec 18, 2002 5:17 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
vennela
PostPosted: Wed Dec 18, 2002 5:43 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Rajeshkumar
PostPosted: Wed Dec 18, 2002 9:46 pm    Post subject: Reply with quote

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
View user's profile Send private message
vedbhat
PostPosted: Wed Dec 18, 2002 10:32 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
amittalekar
PostPosted: Thu Dec 19, 2002 5:34 am    Post subject: Reply with quote

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
View user's profile Send private message Yahoo Messenger
anuppc
PostPosted: Tue Feb 18, 2003 9:27 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
amittalekar
PostPosted: Wed Feb 19, 2003 6:30 am    Post subject: Reply with quote

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
View user's profile Send private message Yahoo Messenger
anuppc
PostPosted: Thu Feb 20, 2003 3:36 pm    Post subject: Reply with quote

Voyager

Joined: 22 Oct 2002
Posts: 93
Location: Montreal

Thanks! It worked!
_________________
BlowFish
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » Adding users at runtime dynamically in to Workflow
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.