/AWS1/CL_GLU=>RESUMEWORKFLOWRUN()
¶
About ResumeWorkflowRun¶
Restarts selected nodes of a previous partially completed workflow run and resumes the workflow run. The selected nodes and all nodes that are downstream from the selected nodes are run.
Method Signature¶
IMPORTING¶
Required arguments:¶
iv_name
TYPE /AWS1/GLUNAMESTRING
/AWS1/GLUNAMESTRING
¶
The name of the workflow to resume.
iv_runid
TYPE /AWS1/GLUIDSTRING
/AWS1/GLUIDSTRING
¶
The ID of the workflow run to resume.
it_nodeids
TYPE /AWS1/CL_GLUNODEIDLIST_W=>TT_NODEIDLIST
TT_NODEIDLIST
¶
A list of the node IDs for the nodes you want to restart. The nodes that are to be restarted must have a run attempt in the original run.
RETURNING¶
oo_output
TYPE REF TO /aws1/cl_gluresworkflowrunrsp
/AWS1/CL_GLURESWORKFLOWRUNRSP
¶
Domain /AWS1/RT_ACCOUNT_ID Primitive Type NUMC
Examples¶
Syntax Example¶
This is an example of the syntax for calling the method. It includes every possible argument and initializes every possible value. The data provided is not necessarily semantically accurate (for example the value "string" may be provided for something that is intended to be an instance ID, or in some cases two arguments may be mutually exclusive). The syntax shows the ABAP syntax for creating the various data structures.
DATA(lo_result) = lo_client->/aws1/if_glu~resumeworkflowrun(
it_nodeids = VALUE /aws1/cl_glunodeidlist_w=>tt_nodeidlist(
( new /aws1/cl_glunodeidlist_w( |string| ) )
)
iv_name = |string|
iv_runid = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_idstring = lo_result->get_runid( ).
LOOP AT lo_result->get_nodeids( ) into lo_row.
lo_row_1 = lo_row.
IF lo_row_1 IS NOT INITIAL.
lv_namestring = lo_row_1->get_value( ).
ENDIF.
ENDLOOP.
ENDIF.