Author |
Message
|
lawrence |
Posted: Tue Jun 04, 2002 9:29 pm Post subject: Automatic task without staff assignment |
|
|
 Novice
Joined: 04 Jun 2002 Posts: 13
|
Dear all,
I like to create an automatic task without user intervention. But currently my automatic task still requires a specific staff(defined in staff1 or staff2 tab) to be logged in. Can I (1) assign the automatic task to a "system" user whose PEA runs on the server itself or (2) find a way to execute the automatic task unattended without assigning any user. How can the above 2 solutions be done in Workflow?
Thanks very much.
lawrence:) |
|
Back to top |
|
 |
vedbhat |
Posted: Tue Jun 04, 2002 10:20 pm Post subject: |
|
|
 Disciple
Joined: 19 Mar 2002 Posts: 186 Location: Singapore
|
Hi,
Yes, As you mentioned each activity in the Process model requires a user to be associated with it. Below are the answers for your question.
1) You need to define a user(say "automatic") in workflow and all the automatic activities are assigned to this users. Inorder to start the assigned activity to this automatic user, the PEA has to be started.
Generally, PEA for this user "automatic" will be executed on the Server and the PEA has to be running all the time. This has to be monitored by WF administrator.
2) Use the option Automatic from the tabe under the properties for the activity. Choose options "Can run un-attended" and assign this activity to the user.
I hope this answers your question.
Cheers
Ved _________________ IBM Certified Solutions Expert - MQSeries Workflow
IBM Certified Specialist - MQSeries |
|
Back to top |
|
 |
jmac |
Posted: Wed Jun 05, 2002 5:19 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
If possible for automatic tasks you should avoid the PEA and use a UPES activity. The PEA has been prone to problems in the past in scenarios where it runs for an indefinte period of time.
IF you use a UPES activity that is AutoStart, you will still need to assign staff, but you will reap the side benefit that NO Workitem will be created, the activity will run from its already existing ActivityInstance. _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
RJoubert |
Posted: Thu Jun 06, 2002 7:16 am Post subject: |
|
|
 Apprentice
Joined: 30 May 2002 Posts: 43 Location: Buffalo, NY
|
We are currently faced with a similar situation with our workflow model...the first step is automatically ran. How do we tell workflow to use the UPES instead of the PEA for a particular activity? If it's a matter of making changes on the Execution tab for the activity, do we have to create a new UPES or can we use what is there? We've tried using the execution server that is there, but that didn't work...we've also tried creating a new one, but a user-defined UPES seems to only be used for XML (of course I could be wrong). Any help would be greatly appreciated.
Thanks. _________________ Rich Joubert
Computer Systems Engineer
Univera HealthCare, an Excellus Company |
|
Back to top |
|
 |
jmac |
Posted: Thu Jun 06, 2002 10:27 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
You will need to have at least one UPES defined. Then using the Execution Tab of the activity you will select the UPES to be used for this activity. Based on my experience most clients define a separate UPES for each automatic activity, but this is by no means necessary _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
RJoubert |
Posted: Thu Jun 06, 2002 11:04 am Post subject: |
|
|
 Apprentice
Joined: 30 May 2002 Posts: 43 Location: Buffalo, NY
|
When defining a UPES in Buildtime, you have to define a Queue and an XML format. Which Queue should be specified, and if I'm not expecting XML, which option should be selected for XML format? Is there something else I'm missing here? _________________ Rich Joubert
Computer Systems Engineer
Univera HealthCare, an Excellus Company |
|
Back to top |
|
 |
steinra |
Posted: Thu Jun 06, 2002 1:51 pm Post subject: |
|
|
 Apprentice
Joined: 23 May 2002 Posts: 28 Location: USA
|
When setting up a queue you can use any name that will work with your MQ Series naming convention. You will need to create the queue seperately in the queue manager using the MQ Series tools. The specification in buildtime just tells workflow where to send the UPES messages.
All UPES messages are XML. XML is the only format you can select.
The XML format is not too difficult to work with, and if you can use it, it is a very nice way of exectuing activities.
Randy |
|
Back to top |
|
 |
|