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 » replace authorizations in runtime

Post new topic  Reply to topic
 replace authorizations in runtime « View previous topic :: View next topic » 
Author Message
jack_the_ripper
PostPosted: Mon Mar 08, 2004 1:34 pm    Post subject: replace authorizations in runtime Reply with quote

Apprentice

Joined: 12 Feb 2003
Posts: 46
Location: NJ

Hi,

We have a requirement here where in the runtime autorizations of users need to be changed frequently. I know, we need to use fmcibie with the fdl containing the modified authorizations.

My question is, is there a way to replace just the authorizations of a PERSON without affecting other information (such as PERSON ID, NAME, Ph).

Thanks,
_________________
Jack,
IBM Certified in Websphere MQSeries
IBM Certified in Websphere MQSI
IBM Certified in Websphere MQWorkflow
Back to top
View user's profile Send private message
Ratan
PostPosted: Mon Mar 08, 2004 1:49 pm    Post subject: Reply with quote

Grand Master

Joined: 18 Jul 2002
Posts: 1245

Yes, you can. dont change anything else in the FDL other than the authorizations.
_________________
-Ratan
Back to top
View user's profile Send private message Send e-mail
jack_the_ripper
PostPosted: Mon Mar 08, 2004 3:37 pm    Post subject: Reply with quote

Apprentice

Joined: 12 Feb 2003
Posts: 46
Location: NJ

Ratan,

Let me clarify.

The fdl is generated thru the script and it doesnt have the original information of (NAME, Phno...) of the User. So, now if I import this FDL with PERSON as

REPLACE PERSON 'user_id1'
AUTHORIZED_TO_WORKITEMS 'userid2' 'userid2'
END PERSON

the personal info of 'user_id1' are set to null. But what want know is if I can retain that personal info while overwriting the authorizations.

Thanks,
_________________
Jack,
IBM Certified in Websphere MQSeries
IBM Certified in Websphere MQSI
IBM Certified in Websphere MQWorkflow
Back to top
View user's profile Send private message
jmac
PostPosted: Mon Mar 08, 2004 3:39 pm    Post subject: Reply with quote

Jedi Knight

Joined: 27 Jun 2001
Posts: 3081
Location: EmeriCon, LLC

Jack:

Not sure this will work but try UPDATE instead of Replace. Replace really does replace with exactly what is specified... I am not sure if UPDATE will do what you want, but it is worth a try.
_________________
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
jack_the_ripper
PostPosted: Tue Mar 09, 2004 7:24 am    Post subject: Reply with quote

Apprentice

Joined: 12 Feb 2003
Posts: 46
Location: NJ

Jmac,

Wont work, because while it retains the personal info, authorizations are appended and NOT replaced as needed.

Thanks,
_________________
Jack,
IBM Certified in Websphere MQSeries
IBM Certified in Websphere MQSI
IBM Certified in Websphere MQWorkflow
Back to top
View user's profile Send private message
JoseLouro
PostPosted: Tue Mar 09, 2004 8:24 am    Post subject: Reply with quote

Newbie

Joined: 09 Mar 2004
Posts: 4
Location: LISBON - PORTUGAL

Jack,

I believe that you've to enhance your script in order to select the user personal info from the database table while changing the authorizations, generating a new PERSON FDL with the same personal info and the new authorizations.
I know that's not the better way, but it works fine....
Of course it depends on how often you do it, because it takes some time....
_________________
Best regards,
___________________________________
Jose LOURO
IT Specialist Advisory / Consultant
IBM Business Consulting Services
___________________________________
Back to top
View user's profile Send private message Yahoo 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 » replace authorizations in runtime
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.