on ‎2020 Sep 15 9:20 AM
Hi,
I have created a work flow which has three steps
1) will create a system using API
2) Decision : either approve or Reject
3) If Approved then Undeploy The System
and i have written creating and undeploy system codes
in Class and methods.
now my requirement is to trigger this workflow from ABAP program .
Please help me to complete this Requirement.

Request clarification before answering.
data(cnt) = cl_swf_cnt_factory=>create_event_container(
im_objcateg = 'CL'
im_objtype = class
im_event = event ). "START
Data(evt) = cl_swf_evt_event=>get_instance(
im_objcateg = 'CL'
im_objtype = class
im_event = event
im_objkey = objkey
im_event_container = cnt ).
TRY.
evt->raise( ).
...
Or suchlike.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 7 | |
| 5 | |
| 5 | |
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.