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 user to workflow

Post new topic  Reply to topic
 adding user to workflow « View previous topic :: View next topic » 
Author Message
amjadu
PostPosted: Thu Oct 07, 2004 12:56 am    Post subject: adding user to workflow Reply with quote

Novice

Joined: 26 Feb 2004
Posts: 13
Location: Banglore, India

hi
We are making use of MQ series Workflow in our application. We need to add users to workflow dynamically. We are doing this by creating a fdl and then accessing the command prompt through java code. We want the code following the calling of the cmd to be executed only after the cmd closes after successfully inserting the user. We are making use of Windows NT enviornment. The execution of fdl is taking a long time due to which server gets timed out and our application stops working. Is there any other way by which can create users in Workflow ? Is there any API available for the same?

Regards
Deepa
_________________
Regards - Amjad
Back to top
View user's profile Send private message Yahoo Messenger
ucbus1
PostPosted: Thu Oct 07, 2004 6:01 am    Post subject: Reply with quote

Knight

Joined: 30 Jan 2002
Posts: 560

If I am correct SYSCOM has a utility package.. But you need to pay for it.

One idea.. But not sure if it would be palatable.
seperate the FDL execution from the code.
Java program will be two parts>
Execute FDL through First part.
Read the FDL output through some script VBSCript, get the error code, then execute second part.
Back to top
View user's profile Send private message Send e-mail
vennela
PostPosted: Thu Oct 07, 2004 8:26 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

Quote:
Is there any API available for the same?

NO

I automated this and this wroks pretty good for me.

Code snippet below

Code:

Process l_oProcess = Runtime.getRuntime().exec("/usr/lpp/fmc/bin/fmcibie -i=" +l_sNameOfFile +" -y=FMC1 -u=vennela -p password -ot -l=InsertUser.log");
           
           
            BufferedReader stdInput = new BufferedReader(new InputStreamReader(l_oProcess.getInputStream()));
            String OutputFromFmcibie = "";

            System.out.println("Here is the standard output of the fmcibie command:\n");
            while ((OutputFromFmcibie = stdInput.readLine()) != null) {
                System.out.println(OutputFromFmcibie);
            }
Back to top
View user's profile Send private message Send e-mail Visit poster's website
amjadu
PostPosted: Mon Oct 11, 2004 6:30 am    Post subject: Reply with quote

Novice

Joined: 26 Feb 2004
Posts: 13
Location: Banglore, India

Hi Vennela,
We too have implemented in the similar way, but its taking a lot of time.
It takes almost an 1hour create the user in WF. Since its an online application, we need to show the user proper message that it will be created. Is there a way to improve the performance of this functionality?
_________________
Regards - Amjad
Back to top
View user's profile Send private message Yahoo Messenger
hos
PostPosted: Tue Oct 12, 2004 12:48 am    Post subject: Reply with quote

Chevalier

Joined: 03 Feb 2002
Posts: 470

Hi,

be careful when using such kind of utilities in a production environment. Import utility is an extra database client and not running under control of the workflow server. You can produce deadlocks if you run it during peek hours!
Back to top
View user's profile Send private message
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 user 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.