cancel
Showing results for 
Search instead for 
Did you mean: 

Event to trigger workflow mismatches in development and quality server

pritesh_bamane
Explorer
0 Kudos


Hi Gurus,

A workflow gets triggered on "CHANGED" event. In development server it works fine as the changed event of the business object triggers after changes in the transaction. Wherelse in quality doing the similar transactional changes it triggers "INPROCESS" event of the business object. Please let me know what need to be done.

Thanks.

Accepted Solutions (0)

Answers (2)

Answers (2)

sbl
Active Contributor
0 Kudos

Hi,

Check transaction SWEC may be there are field restriction that due to system copy or something like that are not aligned.

That could explain why the event is not raised or why another is raised.

I guess you have seen which event was raised from SWEL ?

Not from seing it in a workflow being triggered or not ?

Cheers

Stephane

pritesh_bamane
Explorer
0 Kudos

Yup I have seen it in SWEL. Its not a Change Document so no link in SWEC.

anjan_paul
Active Contributor
0 Kudos

Hi,

  Check the authorization of WF_batch. If it is ok, then check any dump occured in ST22.

Then check SWU3, for appropriate environment

pritesh_bamane
Explorer
0 Kudos

I have already check in st22 and there was no dump. SWU3 is fine too. My issue is for a standard transaction when I complete a process it triggers "CHANGED" event in development but in quality it triggers "INPROCESS" event.

0 Kudos

Hi Pritesh,

You may debug and check the point/source code logic wherein the Event is triggered.

For the same, you can set a breakpoint in standard FM "SWE_EVENT_CREATE" and methods "RAISE"/"RAISE_IN_UPDATE_TASK" of class "CL_SWF_EVT_EVENT".

But, from the initial analysis, it seems the reason behind different set of Event trigger may be a difference in the type of Data (say different document types used) in Development and Quality systems from your end.

Please share the t-code details and action taken to understand the issue further.

Thanks and Regards,

Vikram

pritesh_bamane
Explorer
0 Kudos


Thanks Vikram for your reply.

The tcode is IW21 or IW22.

former_member185167
Active Contributor
0 Kudos

If the exact same actions trigger different events in two different systems then it could be a configuration issue. If the Functional person can't help then you'll have to use debug to find out what the difference is between the two systems.