Workflow

ak1

Member
Hello,
We have a custom application using Generic workflow routing (by changing data in F0150 after every approval). The workflow usually stalls after one person approves it. I can reactivate it by suspending and resuming this process. But the problem is "Resume workflow process" and "Suspend workflow process" is available only in Interactive application and not for UBE. Wondering if anybody ia aware of a business function available to "RESUME" and "SUSPEND" a workflow process.

Please help!!

Atul
 
Atul,

Have a look at the workflow system functions, suspend process and resume process. These are the ones used in the Process Activity Monitor (P98860).

Hope this is of use.
 
Atul,

After a process activity is complete you must complete the
activity using the system function complete activity. Like
in your case after an approval or rejection that activity
needs to be marked as complete. To complete the activity
you need WF ProcessName, WFProcess version, WFProcessInstance, WFActivity name, WFActivityInstance,
WFOrganizationalGroup and WFSequenceNumber these can be retrieved from file F98865 (Activity Instance table).

You can use the CompleteAcitivity Inline system function
to complete the previous activity and then start the next
process using the system function Start Process In Line.

Good Luck!
Sandeep Duvedi.

A Journey of thousand miles starts with but a single step>
 
Back
Top