cancel
Showing results for 
Search instead for 
Did you mean: 

How to receive workflow ID from a Class Based Workflow trigger

nikos_c
Explorer
0 Kudos
383

Dear experts,

I was wondering how I can get the workflow ID that has been created via a Class-based workflow trigger.

I have followed the logic, as it is explained in the following blogs:

https://blogs.sap.com/2012/03/17/how-to-create-and-trigger-class-based-workflow-from-web-dynpro-abap...

https://blogs.sap.com/2006/07/27/raising-abap-oo-events-for-workflow/

ending calling the corresponding method:

cl_swf_evt_event=>raise

How can I get the Workflow ID from such a workflow creation?

Thank you in advance.

View Entire Topic
nikos_c
Explorer
0 Kudos

Hello,

Thank you for the reply.

However, I would like to start a WF via event triggering from an ABAP class and then get the corresponding workflow ID.

As I saw from the aforementioned RFM, I can only explicitly state which workflow definition I want to start a workflow from.