Skip to Content

stop work items (mass processing)

Hello,

we have to stop work items for a lot of workflows.

We only know how to stop them one by one: transaction SWIA, select one work item, stop it manually... - then select the next one...

Does anyone know a way how to stop all of them at once?

Thanks a lot,

Franziska

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Sep 18, 2007 at 11:13 AM

    Hi,

    If you are ready to write a small bit of code you can use "SAP_WAPI_ADM_WORKFLOW_CANCEL". But be aware that this logically deletes the workflow.

    Thanks,

    Prasath N

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 18, 2007 at 10:23 AM

    Hello Franziska,

    I don't know what you were exactly looking, but this way, but

    you can disable the execution on the task type level. Use transaction PFTC, enter TS and your task id.

    Choose the display mode and "Additional data>Agent assignment>Maintain".

    Put your cursor on that task and push button "Attributes..."

    Activate radio button "Locked against execution".

    I did then once on workitem-level and found myself in the situation that I couldn't revert it, once the problem was fixed. So, no guarantee here, that you can ever put the workflow back to life.

    <b>--> Please check the behaviour in the Q-System</b>

    Best wishes,

    Florin

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 18, 2007 at 11:03 AM

    You can stop the execution of a generation of a Workitem by just changing something in the design. Create a fork which has 2 parallel branches and 1 neccessary branch. Put the activity step in 1 branch and nothing in the other in this way no workitems will be generated.

    <b>Reward points if useful</b>

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.