cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Workflow & triggering Event

Former Member
0 Likes
1,172

Hi,

We are having this workflow which gets executed twice for an event. I know the event & the workflow. What could be the possibilities that cause the workflow to be executed twice?

Also, is there any way to check for the triggering events that were raised in the past?

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Likes

Hi,

You could go to transaction SWUD

1. Enter the Task Type WS and the Worfklow ID in Task .

2. Execute Test Environment

3.(a) then choose Determine instances of Task to see the workflows triggered for that particular workflow

3.(b). To Check the workflow triggered you can use the simulate event execution to check the objects used and the workflow that is triggered.

For checking the workflows trigggered you could alo put the trace on and check by using transaction SWELS/SWEL.

Answers (2)

Answers (2)

Former Member
0 Likes

For the workitem that are triggered for the workflow, you can use SWWH for checking the History.

For the new ones,

you go to transaction SWELS and click Start Event Trace.

Then trigger the workflow usually however u trigger it.

Then go to SWEL to check the event trace. You will get the event triggered and the Workitem created. Double click the workitem and check the workflow triggered for it.

You can also use SWI6 to check the workflow log created for the particular workflow or object for last 7 day, i month or so...

Regards,

Amandeep Kumar

Former Member
0 Likes

Hi Munish Gupta,

Go to Tcode: SWEC

There are two entries for linkage between Business object and Event. Just remove redundant entry and workflow will be triggered once only.

Example:

MATERIAL BOR Object Type Z_MAT_13 CREATED OnCreate

MATERIAL BOR Object Type Z_MAT_13 CREATED OnCreate

Remove one entry

Cheers,

Vijay Raheja