cancel
Showing results for 
Search instead for 
Did you mean: 

Double event is triggering

Former Member
0 Kudos

Hi, experts:

I have a Workflow with the BUS2080-CLOSED triggering event.

But, when I save the Close Notification (Transaction: IW52), the event BUS2080-CLOSED is triggering double time. (Two events at time).

I deactivate the event linkage in SWETYPV Transaction. Save the close Notification (Tx IW52) and the system generates a single event. When I activate the event linkage the system generate double event.

Thank you very much!

Martha.

Accepted Solutions (1)

Accepted Solutions (1)

former_member190818
Active Contributor
0 Kudos

Hi,

There will be two event linkage activated. So check which is the other event in SWE2 and deactivate that. If you dont know, you can trace and see which one is getting triggered. For trace, u need to switch on in SWELS and do yr transaction and see in SWEL tcode for display.

There it will show how many events triggered and wat is the BO and the workflow no.

Former Member
0 Kudos

Hi, thanks for your help.

I review the SWE2 transaction and the Event linkage is correctly. (One event linkage to BUS2080-CLOSED event with a Workflow model).

When I save the IW52 Transacción, the event is triggering twice. SWEL transaction display two events BUS2080-CLOSED (with the same object key) and this two events triggering the same workflow. In other words the workflow is activated twice for the same events. But when I deactive the event linkage in SWE2 ór SWETYPV transaction, the system generate One event at time.

The problem (double trigger workflow) appear when the event linkage is activate.

Additionally, I proved with the object BUS2038, whose event BUS2038-CLOSED also activates when closing a Notification in IW52 Transaction. The problem is equal: When I activate the event linkage for this event, also generate twice event, and the workflow is triggering twice too.

I supposed that the problem is in customizing of Service Notification, but, when the linkage event is deactivated, the system genera one event, which is correct.

Thank you very much by its support!!!.

Martha.

former_member184112
Active Contributor
0 Kudos

Hi,

You can catch this problem any one these

Check whether same EVENT migt be triggerd in Single step task as well as Multiple step task.

1. Go to SWU0 and check Activated same Event.

2. Go to SWEL and check Activated same Event.

If you find double Activated same Event then yu can Deactivate any one.

Thanks and Regards,

Prabhakar Dharmala

Former Member
0 Kudos

Check if note: 511681 helps.

Thanks,

Prasath N

Former Member
0 Kudos

Dear friends,

Ideed, the solution to the error was in note OSS 511681.

I use a system with IS-U, and the object BUS2080 has an object derived: ISUSMNOTIF. When a service notification is closed, the system activates two events: BUS2080-CLOSED, and ISUSMNOTIF-CLOSED. But, SWEL Transaction display two events with the same name.

Solution:

I created check function module which allows to filter the event of BUS2080 Object. The check function module prevents a workflow being started only for the event of the BUS2080 object.

After, I activated the event linkage in SWETYPV transaction.

Now, event twice is generated, but workflow beings only for the correct event.

Prasath: Thaks for help me!!!

Martha.

Answers (0)