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 » Calling a script file from an activity in AIX environment.

Post new topic  Reply to topic
 Calling a script file from an activity in AIX environment. « View previous topic :: View next topic » 
Author Message
raghav
PostPosted: Tue Jun 07, 2005 11:53 am    Post subject: Calling a script file from an activity in AIX environment. Reply with quote

Novice

Joined: 15 Apr 2005
Posts: 24

Hi,
My requirement is to call a script file from an Activity through a program associated to it. I have a test template created with 2 activities. One being a manual activity (Activity1) and the other being an automatic activity (Activity2). A program "Dummy_TestWF2" is associated to the Activity2. I have a start script which will be creating a process instance with the template containing the 2 activities mentioned above. A second script is executed which will login to WF and push the flow from Activity 1 to Activity2. But here, the Activity2 should call the program "Dummy_TestWF2" and hence the script file. Here the program is called, but the script file is not called. As our project is tested in Windows at Offshore and on AIX at onsite, we have configured the program for both the environments and the program is as follows:

UPDATE PROGRAM 'Dummy_TestWF2' ( 'DS_TestWF2', 'DS_TestWF2' )
DESCRIPTION ""
NO STRUCTURES_FROM_ACTIVITY
NOT UNATTENDED
AIX EXE PATH_AND_FILENAME "/test/wftest/dummy_wf2.sh"
INHERIT ENVIRONMENT
WINNT EXE PATH_AND_FILENAME "java.exe"
PARAMETER ""
INHERIT ENVIRONMENT
STYLE VISIBLE
START FOREGROUND
END 'Dummy_TestWF2'

Now being at Onsite, i am testing this in AIX environment and I have 2 questions here,
1. If i use this program, it reaches an errored state if "java.exe" is not specified (which should never happen as the OS is AIX).
2. Even if this "java.exe" is specified, the process instance is created first, and then the process instance is deleted after the flow reaches the Activity2. But the required script file "dummy_wf2.sh" is not at all called.
Please help me with this. Thank you.
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 » Calling a script file from an activity in AIX environment.
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.