on 04-16-2009 5:46 PM
Hi,
My workflow terminates just at the start (in process) in the test system. The event is activated and workflow log shows a log of executed action
(Sub)workflow created 16.04.2009 17:16:44
Workflow started 16.04.2009 17:16:44
Missing from this is the executed action
Start Event Received 04/16/2009 12:49:36
What does this mean?
This workflow was working in our development system. The event is called correctly from the bsp. There are no start conditions. I canu2019t see anything else wrong. I did my refresh of the buffers using /nPPWFBUF and swu_obuf. I also refreshed the org environment in SWUS. The workflow was transported ok and everything seems ok in test system.
The workflow will terminate in the same way when activated using SWUE but will process ok using transaction SWUS.
Has anybody any ideas?
Thanks
Ann
Hi Rick,
in the workflow log in dev ( where this works) the log is
View: Workflow chronicle
Executed Action Date
Update Material Master E-form 0000001749
Start Event Received 04/16/2009
(Sub)workflow created 04/16/2009
Workflow started 04/16/2009
and then the first step of the workflow is executed.
in qas ( where it's terminated)
Update Material Master E-form 0000001749
Executed Action Date Time
(Sub)workflow created 16.04.2009 17:43:50
Workflow started 16.04.2009 17:43:50
there the workflow just hangs. the status of the workflow is set to in process. I notice that the
Start Event Received 04/16/2009 is missing here. I called SWE_EVENT_CREATE_IN_UPD_TASK' (followed by a commit work ) from my bsp to create the event. is the issue with the business object? The event get created but the workflow does not appear to get started.
thanks
Ann
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
If you can see the workflow in the workflow log, then it has, of course, started, so there's no problem with your event creation.
'In Process' doesn't mean the workflow has terminated, it means it's underway.
If a workflow step stays in process for a long time there could be various reasons, eg locking, or incorrect agent assignment, or there's a problem with a method being run. Do you have the SWWERRE background job running to retry any temporary errors?
(see SWU3, "Schedule Background Job for Work Items with Errors")
The workflow step that it's stuck at, what does it do? What does it call? Who is the agent?
regards
Rick Bakker
Hanabi Technology
Hi Rick,
the step that it's stuck at is just the start of the workflow. that step does nothing but take in the receiver event data and initiate the workflow. comparing swel (Receiver data) I see that objecy key is initial. That would suggest that the event is been raised ok but the receiver fm SWW_WI_CREATE_VIA_EVENT_IBF has not processed the event fully. what do you think?
Receiver Type WS99500102
Object Key INITIAL ( just not be)
Receiver FM SWW_WI_CREATE_VIA_EVENT_IBF
RFC Destination WORKFLOW_LOCAL_100
Check FM
Receiver Type FM
Hello,
Yes indeed, not supplying the event with an object will cause problems.
Usually in a workflow the object is mandatory so you don't often see them get started without one, unless it's on purpose for some reason.
You should check how the event is created and fix it.
regards
Rick Bakker
Hanabi Technology
Hi Rick,
No I'm supplying it with an object
the event trace log is as below. for some reason the object key is not been read into the workflow.
Event Instance ID 25098458
Object Type ZMATEFORM
Object Key 0000001192
Event EFORMMATCREATE
Receiver Type WS99500102
Object Key
Receiver FM SWW_WI_CREATE_VIA_EVENT_IBF
RFC Destination WORKFLOW_LOCAL_100
Check FM
Receiver Type FM
Hello,
What do you mean by "Missing from this is the executed action". Is that what it says in the workflow log?
Is the workflow set to COMPLETED?
What is the first step of the workflow, does it perform that step?
regards
Rick Bakker
Hanabi Technology
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.