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

Similar Messages

  • 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

  • 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.

  • 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.

  • 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                                           ...

  • GRC AC 10 - Defining sub processes

    We are in the process of implementing AC 10 and need to define the Business and sub processes for the role creation methodology and to upload the existing roles into AC Role management tool. The issue is we have only Business process defined for our existing roles and there is no sub process defined/exist for the roles as they are created as per the BP and position wise. 
    I would like to know how we can define the sub processes for our existing and future roles as  our company does not have the sub processes defined. We define roles on the basis of Business process followed with the staff position.

    Defining Sub processes is functional task .You can get help from your BAu2019s and FAu2019s . After defining business process you can decide default access for business process and additional  access can be requested by mentioning role name .
    Check this : http://help.sap.com/saphelp_grcac10/helpdata/en/27/00965aaa2d4fb0aba7600533fa7570/frameset.htm ( check Default Roles )
    In GRC 10 . You can define sub process in SPRO->GRC->AC->Maintain Business processes and Sub processes  .
    Thanks
    Aditya
    Edited by: Adityatd on Jun 24, 2011 4:11 PM

  • 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

  • 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.

  • 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

  • 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

  • Email Expressions are Blank in Sub-workflow Created for MDG

    Hello Workflow Experts,
    I just posted a question in the Master Data Governance discussion area but it is more workflow related than MDG so posting the link here in hopes that someone can help me out.
    In summary, I am trying to create a sub-workflow thats sends an email to the creator of a MDG change request, once the change request is approved.
    I am having difficulties in two areas.  I am new to SWDD workflows so any advice is greatly appreciated.
    Two issues:
    The expressions I am using to display the Change Request Number and the Change Request Description are not returning values to my email – they are blank.
    I want to send the email to the person that created the MDG Change Request but I can’t figure out how to determine the creator (i.e., CR Requestor) of the MDG Change Request and ultimately, their email address.  Right now I am testing using my own email address in the workflow Send Mail step.
    Here is the full detail of my question, with lots of screen shots, over in the MDG discussion group: http://scn.sap.com/thread/3513244
    Sincere thanks,
    Rob Scofield

    Hi Rob
    Yes, you can use CR_CREATOR_NAME...as shown in the screen shot, however make sure it is prefixed by 'US' (that is user) else mail step will go in error:
    Also ensure that user has SU01 setup correctly:
    Then the system will send the mail :
    And will show in SOST (if SO16 settings are done in the system)
    I would suggest:
    1) Creat a WF container element, say CR_CREATOR_LEADING_US, of type SWHACTOR (which is of type OTYPE+OBJID)
    2) Assign  CR_CREATOR_NAME to CR_CREATOR_LEADING_US-OBJID
    3) Assign 'US' to CR_CREATOR_LEADING_US-OTYPE
    4) Use CR_CREATOR_LEADING_US in the mail step as shown above
    regards,
    Modak

  • 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

  • WLPI: managing sub-workflows

    Hi,
    I read in the documentation that WLPI supports the notion of sub- or child-workflows.
    I was wondering how this is implemented exactly. Let's say I have one parent workflow
    consisting of 1 task. This task starts 10 child workflows, each of which will
    have to complete before we can mark the parent's task as completed. How does WLPI
    support this? Do I have to write custom code that is executed upon completion
    of every child workflow, to check whether all child workflows have completed
    and, if so, mark the parent task completed? Or is there built-in support for this
    scenario?
    THanks,
    Martin

    There is built-in functionality for this.
    Martin van Vliet wrote:
    Hi,
    I read in the documentation that WLPI supports the notion of sub- or child-workflows.
    I was wondering how this is implemented exactly. Let's say I have one parent workflow
    consisting of 1 task. This task starts 10 child workflows, each of which will
    have to complete before we can mark the parent's task as completed. How does WLPI
    support this? Do I have to write custom code that is executed upon completion
    of every child workflow, to check whether all child workflows have completed
    and, if so, mark the parent task completed? Or is there built-in support for this
    scenario?
    THanks,
    Martin

  • How to respond Events defined within workflow

    I have a workflow in which I have defined and event (that star thing). the event says
    that if the root of the xml is "ERoot" then this event should be triggered.
    I have an xml with 'ERoot' as the root. I think i have to post this xml into a jms
    queue inorder to wake up my event.
    to which jms queue/topic should I post this xml?
    is it com.bea.wli.bpm.EventQueue? or is it some other TOPIC?
    thanks,
    Naveen

    u need to create the events step by step in the workflow.
    first event would be the condition which should be checked so that it gets triggered when the condition is satisfied.
    second would be the the triggering in which u will get this triggered. u need to create a class in which the adobe form's code will be present like the FM it generates etc.in this class u will to write some methods for eg: if u create method say send_mail in this class u will code all the logic for sending the adobe form as a mail and u assign this in the workflow. So now, in the workflow all the methods that u assign will get triggered.

Maybe you are looking for