cancel
Showing results for 
Search instead for 
Did you mean: 

Add Custom Coding before a dialog workitem is executed

MarkusKlein
Active Contributor
0 Kudos

Hello everybody,

i need to execute custom coding when a dialog Workitem is created. So its before it is actually executed by the respective agent!

How can i do this?

regards,

Markus

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Markus

You need to create a class that implements the IF_SWF_IFS_WORKITEM_EXIT interface.

You can query the different events, e.g before the workitem is processed.

You then have to add this class to the programming exits tab of your step definition.

There's sample code available, just run a where-used-list for the interface.

Regards

Kriger

Workflow/ABAP consultant

MarkusKlein
Active Contributor
0 Kudos

Hello Kriger,

thx for your input But as the method event_raised from the interface is a instance method, how and where is the instance created? Is it suffficient to just to add a class which implements the interface into the tab "program exit" of my step?

regards,

Markus

MarkusKlein
Active Contributor
0 Kudos

Got it working!

Thx again

Markus

Answers (0)