Skip to Content
author's profile photo Former Member
Former Member

Restart the workflow

Friends,

Wish you a very happy new year!

I have a questions.

Question . I want to restart an workflow which is in error state and workitem is not created becuase rule is not able to determine any agent. I dont want to change the rule right now. because for changing the rule, it may take 2 -3 days for approvals.

Can i do something so i can able to restart the same workflow again and workitem get created. Means is there any way to pass the agent and restart it.

I know the Tcode SWPR , SWI2_DAIG, in this case, we cant use this tcodes because workitem have not got created.

Looking forward to you.

Thanks & Regards,

Arti

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 08, 2008 at 07:08 AM

    Hi,

    When you say >>want to restart an workflow which is in error state and workitem is not created becuase rule is not able to determine any agent.>>

    What do you mean by workitem not yet created, Is you first step of workflow itself a dialog step based on rule?

    We may not expect the workflow definition to take new agent with out modifiying the rule used for agent determination.

    If you do not want to change the rule now and even you restart/retrigger it will fail at the same step again. Hence i suggest the following

    1. First check in PFAC your rule definition, untick 'Terminate If rule resolution with out result'

    2. If you have the main workflow instance ID, restart it using SWPR if you do not have it, may be you can do following

    a. retrigger the workflow using SWUE if it is event based, make sure you pass all mandatory container elements

    b. if it is not a event based workflow, use SWUS to create a new workflow, make sure you pass all mandatory container elements

    3. So, as per change in 1, your workitem agent determination will fail and your workitem will be listed under workitems without agents. you can forward the workitem to correct agent using SWIA

    Hope this helps you !!

    Regards

    Krishna Mohan

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Thanks Arghadip,

      I didnt say that you are a bad consultant.

      In my views, Every person have a qaulity and we cant juzz the others person capablities.

      Anyways, I have not got my solution yet. I think that it will be better to contact that guy.

      Thanks a lot for speding your times ..Especially Arghadip :).

      Rergards,

      Arti Agiwal,

      SAP Workflow Consulant,

  • Posted on Jan 08, 2008 at 07:24 AM

    Hi Arti,

    If u don want to check for rule, just note down tat rule and instead give the username in agent and restart the wf....

    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.