Workflow stopping @ beginning of sub workflow

Guys,
I am calling Sub workflow from MAIN workflow.
Processing of Main workflow stopping @ the STEP, wherein i trigger sub workflow.
The status is : In process. (it is a background task to trigger sub workflow)
If i process it manually with SWIA t-code , it is porcessing further.
But, it is not processing automatically.
Please guide.......
Regrads.
santosh.

Hi Arghadip,
Design Description of MAIN WF.
BO: ZBUSECM(original: ECM).
1)WF get triggered by ECO(CC01).
2)ACTIVITY STEP to extract fields for both (Material & BOM ).
3)2 level FORK to trigger BOM & Material WF.
4) CONDITION to check flags for both BOM & Material.
5)  BOM : if yes, reset flag to space & proceed. if no, no action. proceed further. till end of FORK.
6) MATERIAL :if yes,reset flag to space
6a)BLOCK to trigger material WF.
6b)STEP to Trigger material WF(This will  call sub workflow).
6c)WAIT step to receive material WF "COMPLETED" event.
6d)ENDBLOCK to trigger material WF.
7) END of 2 level FORK.
8) ECH: Release ECO.
9) WAIT step to ECM Close.
10) Send mail for ECM Closure Notification.
11) WF Complete.
Design Description of Material(SUb) WF.
BO: ZBUS1001(supertypel: BUS1001006).
starting from 6b above.
1)WF get triggered by 6b event "INITIATE".
2)ACTIVITY STEP to send the material for editing to  MM COntroller agent.
3) ACTIVITY STEP to send material for editing to fianance agent.
4) ACTIVITY STEP to complete the  sub flow by triggering custom event "ZMANITRIGGERMATWFCOMPLETE" , which further calls the "COMPLETED" event by function module to hand over the control back to MAIN WF.
Now, the above mentioned step(4) is not handing over the control to main WF........
& also matnr is not being passed to sub flow now........
Regards  & thanks.
santosh.
Edited by: santosh koraddi on Jun 22, 2010 7:22 PM

Similar Messages

  • How to trace/debug main workflow calling sub workflow.

    Guys,
    I am calling Sub workflow from MAIN workflow.
    I am able to trace till beginning of sub workflow, with the help of workflow log.
    But, is it possible to trace/debug the sub workflow as well(in single stretch).
    Please guide with t-codes & procedures(links).......
    Regrads.
    santosh.

    Hi Santosh,
    You should be able to see the technical log for the subflow as well - but perhaps that's not what you are asking.
    First, you should always be able to 'trace' your subflows by starting them directly via SWUS.  Then you will have the log to review.
    You can also set the workflow trace on via SWU9.
    Hope this helps,
    Sue

  • How to go back to previous step in a sub workflow?

    We are calling a sub workflow upon approval action from a main workflow. In the child workflow we have 9 steps. If at any step in the child workflow (other than first) user does reject action, the workflow control should go back to previous step in the child workflow itself.
    We added a custom action in the exit events of all the child workflow steps. Following is the logic of exit event of Step4 of child workflow. Similar logic is there for all steps in the child workflow.
    <$if wfAction and wfAction like "REJECT"$>     
         <$wfSet("wfJumpTargetStep", "Step3@childWF")$>
         <$wfSet("wfJumpEntryNotifyOff", "0")$>
    <$endif$>
    With this code when the user is doing reject action from child workflow, it is taking us back to the main workflow and not to the previous step of child workflow.
    Is this approach correct?
    -Pratap

    1. The 3 events are Entry, Update, and Exit.
    2. Rejects happen in the Update area but you can not reliably react to it there because upon reject it immediately leaves (not going through the exit event).
    3. The rejected content goes backwards in the Workflow step by step (even going back to the main workflow from a sub workflow) until it finds a Step that has valid Editors (not just reviewers).
    4. If it does not find an Editor step it goes all the way back to the automatic Contribution step at the beginning of the Workflow and sits there in a kind of no mans land until the contributor (or an admin) goes and approves it again.
    5. To check if something has been rejected the Entry Event of an editor Step BEFORE the step where it is rejected needs to have code to check for the Reject status.
    The sub workflow should be able to capture the Reject as you desire. Are all of the steps in the child workflow (sub workflow) Review only steps? Or maybe the people in the steps do not have RW access to the document? This is what I would predict with your described symptoms.

  • Wait step stops during PI BPM workflow

    Hello Guys,
    I'm testing the one BPM scenario in my test system, during runtime the workflow stops before wait step (only 1 min) but after 1 min the message not process and it is stucked in  'in process' state.
    Earlier the scenario works good with wait step, but now it's not working in Dev & test systems but only working in Production system,
    Note: Recently we migrated from Service pack upgraded from PI 7.31 SP06 to SP11 in all three systems.
    Do you have any idea on this error?  could you please suggest me
    Thank you.
    Sateesh

    Hello Udo,
    You are absolutely right, I reschedule my background jobs in t.code SXMB_ADM_BPE then it resolved my issue.
    And I have one more question currently my PI systems are in 7.31 SP11 and getting error ' Cache content Obsolete' (SXI_CACHE-->deltaMonitoring)
    Could you please provide me any suggestions on this .
    Thank you.
    Sateesh

  • Workflow stopped working when we added new person to dummy HR position

    Hi,
    We have a third party expense reporting system which apparently sends some sort of IDOC to our SAP system.  This uses a HR dummy position in a dummy org to which users have been assigned.  These users are supposed to receive workflow emails that are expense reporting related.
    In August we added a person to this HR position and there were no issues.
    In October we added a person to this HR position and workflow stopped working.  We tried taking the person back off who was last added and workflow will not come back on.
    How do we get the workflow to process again?  We can figure out why that one person didn't work if we can get the workflow working for the other 5 people going again.
    Sorry for the high level details of the issue.  I haven't worked all the parts of it and am just pulling info from people to try and help find a solution.
    UPDATE:
    Here is the problem as described by my colleague.
    For the Concur expense reporting system, the data from the Concur system is communicated as IDOCs to SAP through the PI middleware.  When these IDOCs fail during the inbound processing (status 51) emails will be triggered and sent to the org unit (position - 50003828).  A change was made to the position by the HR team on Oct 7th (a new user was added and one was removed).  Since then the users have stopped receiving emails.  The workflow has stopped.
    We tried to take that new user back off and the email did not start back up.  We would like to get it started again and then figure out how to add that new user without an issue.
    Thanks,
    Wendy
    Edited by: Wendy Miller on Nov 11, 2011 11:59 AM

    Hello,
    "A change was made to the position by the HR team on Oct 7th (a new user was added and one was removed). Since then the users have stopped receiving emails. The workflow has stopped."
    The fact that the users have stopped receiving emails does not mean that the workflow has stopped. Ask your colleague why he thinks that.
    My guess: a change was made to that position, for example it was date-delimited so that it's no longer valid.
    As suggested above, look in SWI1. It'll be very easy if you know what the workflow number (WS....) is.
    Is it absolutely certain that it's a workflow sending these mails? If you look at an example of a mail, who was it sent by?
    Applying SWI1_RULE would only help if there was just one new user not receiving emails.
    regards
    Rick Bakker
    hanabi technology

  • Workflows | Defining sub-workflows and capturing wfActions

    Hi All,
    I am trying to define a sub-workflow post which I want to make a jump based on the action taken in the one step sub-workflow. I tried to use the wfActions to find the action taken at a step, but the applet shows the following error:
    Offset in runtime evaluation is at character 17. Could not find the parameter 'wfAction'.
    I even tried to do a <$wfSet("myvar",wfAction)$> which gave the same error.
    I tried to capture this action in the Update section of the script as well as in the Exit section. Has someone used this parameter, has it worked on UCM 10gR3.
    Thanks in advance
    - AU

    Kara,
    Thanks for that
    Paul
    "Kara Moscoe" <[email protected]> wrote:
    Your sub-workflow template definition must be defined for the current
    organization, must have a Start node defined as "Called", and it must
    be
    marked "Active" for it to display in the Start Workflow dialog.
    Kara
    "Paul Clements" <[email protected]> wrote in message
    news:3b8e5800$[email protected]..
    Hi,
    I am trying to get wlpi to allow me once a workflow is completed tostart
    another
    different workflow. Hence I have tried on the done icon to add anaction
    of type
    start workflow but when the start workflow window pops up there areno
    workflows
    that I can start even though some exist. Can someone shed any lighton
    what I
    am doing wrong?
    Many thanks
    Paul Clements

  • Warnings on sub-workflow that appears to have completed

    Hi
    I am getting some warnings that are resulting in my Workflow falling into error, but don't know where they are coming from.  
    The Workflow log shows that the Workflow has completed the last step, so not sure what it is doing.
    The warnings are coming from executing actions u2018Result Processingu2019 and u2018CHECK_WORKFLOW_INSTANCEu2019
    The warning messages are:
    Message no. SWP027 = Flow item ??? (Workflow 000000XXXX) for work item  has the status "Error"
    Message no. SWP030 = Temporary error in result processing of work item 000000XXXX
    and after the 5 attempts by SWWERRE to continue the Workflow falls into ERROR
    It doesn't occur for ever instance of the Workflow.   It is a sub-workflow if that makes any difference.
    The entries are being logged in SWP_SUSPEN table
    SM12 showed no locks.
    When I manually restart after error, they complete.
    Any ideas where I can look?
    Thanks
    Pete

    Hello,
    A temporary error is causing this, usually it's a user locking something. The WAIT could indicate that someone was trying to avoid this. I would have a careful look at the workflow log, sometimes the error givs more clues, eg which user was doing the locking.
    As suggested above, check the method called for any exceptions marked as Temporary.
    The default is 3 retries, one every 20 mins. What was it in your case?
    regards
    Rick Bakker
    hanabi technology

  • Starting many instances of a sub workflow

    Hi,
    I'm trying to create a scenario using WLPI studio wherein from a parent workflow
    task I want to start a number of instances of a sub workflow. I want that completion
    of all the sub workflow instances should lead to completion of the parent workflow
    task. How do I do this in WLPI? One way is completion of each of the sub-workflow
    generates an event which parent workflow is listening and updates some of its
    workflow. However, I was expecting that parent and sub workflow works synchronously,
    but I don't know how to configure it... Some of the newgroups mails do talk about
    this feature but as mentioned in the following reply for one such query, but in
    actual it is not behaving like that :
    "Harshad The only time workflows will actually run on parallel threads is when
    you trigger the workflows via xml events. Calling a workflow will always keep
    it on the same thread until a quiescent state is hot in the child workflow. At
    that point control is given back to the parent"

    Yes, that is possible. Let's say you have a package with AID 1122334455 which contains an applet with AID 112233445500 on your card. Now you can create two instances, for example with instance AID 11223344550001 and 11223344550002:
    => 80 E6 0C 00 1B 05 11 22 33 44 55 06 11 22 33 44    ......."3DU.."3D
        55 00 07 11 22 33 44 55 00 01 01 00 02 C9 00 00    U..."3DU........
        00                                                 .
    (30 msec)
    <= 00 90 00                                           ...
    => 80 E6 0C 00 1B 05 11 22 33 44 55 06 11 22 33 44    ......."3DU.."3D
        55 00 07 11 22 33 44 55 00 02 01 00 02 C9 00 00    U..."3DU........
        00                                                 .
    (10 msec)
    <= 00 90 00                                           ...

  • Missing sub-workflow versions in PO, Contract, and Bid workflows

    In SRM 5.0, the definitions for the following workflow templates are missing:
    WS14000076, WS14000085, WS79000003. 
    These are sub-workflows used by WS14000075 (PO), WS14000086 (Contract), and WS79000010 (Bid).  Any feedback will be appreciated.
    Thank You,
    Kiran

    hi,
    14000076 Wait for BUS2201 Events
    14000085 Wait for BUS2000113 Events
    79000003 Wait for BUS2202 Events
    i have checked these and are available , these are all wait events.
    you can see the details in the tranaction
    1) Transaction ---> PFTC
    2) Enter Task type ---> Workflow template
    3) In the Task Enter ---> 14000085.
    4) click Display
    you can see the details , perform the same for other two to get details

  • Workflow stops just after event is created

    Hi,
    My workflow terminates just at the start (in process) in the test system.    The event is activated and workflow log shows a log of  executed action
    (Sub)workflow created                    16.04.2009 17:16:44 
    Workflow started                         16.04.2009 17:16:44 
    Missing from this is the executed action
    Start Event Received                     04/16/2009 12:49:36 
    What does this mean? 
    This workflow was working in our development system.     The event is called correctly from the bsp.  There are no start conditions.  I canu2019t see anything else wrong.  I did my refresh of the buffers using /nPPWFBUF and swu_obuf.  I also refreshed the org environment in SWUS. The workflow was transported ok and everything seems ok in test system.
    The workflow will terminate in the same way when activated using SWUE but will process ok using transaction SWUS.
    Has anybody any ideas?
    Thanks
    Ann

    Post this in workflow forum for quicked replies

  • All about Sub-Workflow...blog

    Hi All - I have been seeing quite a few queries on sub-workflows. Check this blog that I have presented on sub-workflow. Happy to hear comments/suggestions.
    <a href="/people/shireesh.mitragotri/blog/2006/12/19/building-robust-applications-through-sub-workflows sub-workflows</a>
    Cheers!
    Shireesh

    Hi.
    It's not different from normal..
    Just put the WSxxx instead of TSxxx into STEP.
    Ofcourse you dn't need to make the 'Triggering Event'.
    Binding will be made automatically and then you can customize that.
    It's easy.
    Have a nice Day.

  • Selective disable/enablement of sub workflows

    Hi,
    I am trying to design workflow with fork(For parallel execution) and many sub workflows. These sub workflows are totally independent of each other and cna have parallel execution. My requirement is to given an option for user to selectively enable/disable subworkflows.
    For ex: My workflow has around 15 subworkflows and all the users may not want all 15 but just a few workflows to be triggered.
    Is there any way to achieve this from using a entry in customizng table where he mentions which all subworkflows he wants to be triggered and only those subworkflows are triggered, when the workflow is triggered?
    Regards,
    Srini.

    Hi srini,
    I think maintenance wise it's better.
    Because basically you're flow would be
       |
      / | 
     A B C
    Based on ?
    any combination of A, B, or C would have to be performed.
    You can do this with the builder in one flow,
    Then it would have a lot of conditions, or some kind of intelligent conditioning,
    You can for instance assign a number to A, B and C with binary values (i.e 1, 2 and 4)
    And then based on ? you add these numbers, so that in the worfklow you know what to do.
    flow would look like
    a multiple condition:
    ? = 1 --> A
    ? = 2 --> B
    ? = 4 --> C
    ? = 6 --> B & C
    Etc.
    With the above way, you can also know in any step of the flow if one of A, B or C is needed.
    It is however verry intensive to maintain espescially if an extra sublflow is needed. With events you don't really care.
    Kind regards, Rob Dielemans
    Message was edited by: Rob Dielemans

  • Defining sub workflows

    Hi,
    I am trying to get wlpi to allow me once a workflow is completed to start another
    different workflow. Hence I have tried on the done icon to add an action of type
    start workflow but when the start workflow window pops up there are no workflows
    that I can start even though some exist. Can someone shed any light on what I
    am doing wrong?
    Many thanks
    Paul Clements

    Kara,
    Thanks for that
    Paul
    "Kara Moscoe" <[email protected]> wrote:
    Your sub-workflow template definition must be defined for the current
    organization, must have a Start node defined as "Called", and it must
    be
    marked "Active" for it to display in the Start Workflow dialog.
    Kara
    "Paul Clements" <[email protected]> wrote in message
    news:3b8e5800$[email protected]..
    Hi,
    I am trying to get wlpi to allow me once a workflow is completed tostart
    another
    different workflow. Hence I have tried on the done icon to add anaction
    of type
    start workflow but when the start workflow window pops up there areno
    workflows
    that I can start even though some exist. Can someone shed any lighton
    what I
    am doing wrong?
    Many thanks
    Paul Clements

  • Sub Workflow

    Hi All,
    Wanted to know that whether agent assignment is necessary/mandatory in case of sub workflow being called from a main workflow? ( e.g. like we define possible agents by mentioning general task for a standard task)
    If it is not mandatory, in which cases we <b>must</b> specify agents for sub workflow?
    Regards,
    Akshay

    Hi Akshay,
    Agents assignment is maintained only for dialog tasks. A subworkflow however it is referenced in the main workflow needs agent assignment only for the dialog tasks. I do not think there is ever a case where you need to maintain agents for a sub workflow.
    However you need to maintain agent assignment for a workflow template if the workflow is started directly in a program and not via event linkage.
    HTH,
    Ramki Maley.
    PS: Please post WF questions in the Business Process management forum.

  • Workflow stop at container operation

    Hi,
    I have problem in workflow.
    My workflow stop at container operation and i don't have any idea why it could happend.
    [Workflow Stop|www.freeimagehosting.net/uploads/4132b300f6.gif]
    Thanks,

    Hi,
    Can you check the workflow log with technical details.
    I think it would give you better idea what is happening?
    Try refreshing the buffer.
    Regards,
    Raj

Maybe you are looking for

  • How do I move my music from an older macbook to the new iPhone 4s?

    My macbook is old (OS X 10.4.11), so I can't update iTunes to a newer version. All the tutorials on syncing deal with newer OSs. I have TONS of music on my macBook, and I want to be able to use it on my new phone, but nothing happens when I plug it i

  • Cin-exceise-tax

    Issue No.1 Short Text how to prepare PO having discount after excise & tax Long Text hi, Our bussiness requirment is that we want to prepare a PO having discount after excise and tax. Basic Price 32.930 Add Excise Duty 4% 1.320 Add Cess .125% .040 Ad

  • Payment advise for cancelled invoices

    Hi friends, I have a situation where users attached invoice through MIRO and called the same invoice through MR8M because it was duplicate invoice. Now when we run the payment program, its printing payment advise separately for all those cancelled in

  • How to see what are the privilages a USER has

    Hi all, How to see the what are the privilages a USER has. and In Oracle 10g, where the log files were created ? Thanks in advance, Pal

  • Task Server Problem and Load Balancing

    Hello I am trying to use ARD to adminstrate the 100 or so macs in my college. I have a few issues. I am running ARD as a task server on a mac mini setup as a server. To use ARD I remote onto the mac mini and use ARD from there. If I try and send an i