cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

Hi,

I am setting up the PR workflow WS00000038. Workflow is triggered and the first task (workitem to liberate the pr) is just fine. The correct agent is found and receives the workitem in his inbox.

But when the agent executes the workitem (Task TS00007986) and releases the purchase requision, the workflow does not continue to the next step and comes to an end.

The exits in this task in the workflow are events which are triggered (e.g. BUS2009.REJECTED, BUS2009.RELEASED)

All the following tasks already are set as general tasks, also users were assigned through customizing.

The events are visible in SWEL, why does the workflow not react to them? It reacts to the initial event BUS2009.RELEASESTEPCREATED, so the settings for event receiving in general seem to be allright in the system.

Any help is appreciated. thanks

0 Likes
View Entire Topic
holger_salt
Explorer
0 Likes

There is no error message whatsoever. The purchase requisition is rejected in this case and triggers

WS65400027.

Graphical protocoll:

Neither of the outcomes is used, not when rejected, not when released.

And this rejection was already acknowledged by workflow WS65400027, that workflow shows status completed.

Former Member
0 Likes

Hi,

It looks like the workflow isn't working correctly. Activate the event log, SWEL and check if the terminating event occurs correctly. Next check in the workflow builder if these events are one of the terminating events, also check ST22 to see whether a short-dump occurs when it tries to terminate the workitem, maybe a badi implementation is screwing up standard behaviour.

If no one has tinkered with the standard workflow, nor with the behaviour (badi/exits/enhancements) then I suggest to execute function module SWD_WFD_REPLICATE_FROM_9999 and enter the standard workflow template in IM_TASK, in rare cases a transport can corrupt the definition of the workflow. If this does not help, then you should raise an error message with SAP.

Kind regards, Rob Dielemans