cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in Workflow triggering

Former Member
0 Kudos
95

Hi,

I am using BOR EMPLOYEET and Events

1. COMPANYLEFT.

2. HIRED.

3. REHIRED.

4. RETIRED.

to trigger my workflow.

In SWEHR1 I have maintained the Business Object and in SWEHR2 I have given the entries for all the four Events.

Now when I go to PA40 and Hire a Employee my workflow is triggering for all the Events, but it should trigger only for the event HIRED.

Thank you,

Ramu N.

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member186746
Active Contributor
0 Kudos

Hi,

SWEHR1 and SWEHR2 are used to determine when an event has to get triggered.

You then use SWETYPV to determine which events can trigger a workflow, check that transaction.

Kind regards, Rob Dielemans

Former Member
0 Kudos

Hi Rob,

In SWETYPV all the four events are active, i think the probelm is with SWEHR2 here all the four events will get triggered because operation is 'INS'.

Thank you,

Ramu N.

Former Member
0 Kudos

Hi Ramu,

there is an error in newer release, just check the note it may help:

  • 904851 HR events for workflow not tri

Regards

Tibor

Former Member
0 Kudos

Hi,

The workflow is triggering but it is triggering for all the EVENTS. If an employee is HIRED the worflow is been triggered for all the four events and fours mails are sent.

Thank you,

Ramu N.

former_member186746
Active Contributor
0 Kudos

Hi,

I think that your system works exactly as it is customized. If there are 4 entries in change on IT0001 without function module, 4 events are probably getting triggered with as many as receivers, also activate event trace to see if this is indeed the case.

So either change the settings in SWEHR2, or add your own function module behind the settings, or change the event linkages in SWETYPV.

If in doubt press f1 on the fields in SWEHR2 and in SWETYPV, I think it's well documented.

Kind regards, Rob Dielemans