Subprocesses in Workflow

Hi to All,
I am trying to build a workflow with subprocess.But when I validate, i receive the following message
354: 'SAVE' validation failed for activity 'SUB_PROC/P2'.
352: Process must contain a start activity with no 'in' transitions.
could anyone help me its urgent plz.
Fahim

Hi,
You need to open your subprocess and insert a Start function. Just use "Start" from "Standard" Item Type.
After that, right click over "Start" function and go to "Properties". Go to "Node" option and you´re going to see an option called "Start/End". It should be 'Normal'. Change to Start.
Do this also to "End" function.
Regards,
Luiz

Similar Messages

  • Various types of IDs for correlation

    [Repost from an older thread on the sentinel-schema mailing list to solicit
    more feedback from the communitiy]
    I have come across these use cases:
    1) In IDM we have
    - Group ID
    This is used by the IDM engine to tag all log events that occur during the
    processing of a particular IDM event in a particular driver.
    - Event ID (from the XDS DTD, not the NAudit field)
    "An identifier used to tag the results of an event or command."
    It is generated by the driver shim for publisher IDM events. For subscriber
    IDM events, the Event ID is the one of the publisher IDM event that changed
    the ID Vault or it is generated by the engine if the change to the IV vault
    was made via LDAP.
    The Event ID is also used to tie a <status> result to its originating IDM
    event.
    - Workflow Process ID
    ID assigned to a particular instance of a workflow process (provisioning
    request definition)
    - Target Process ID
    ID of a particular instance of a workflow process that was started from
    another workflow process. Reported with the "start workflow" and "Role
    Request Workflow" log events on the parent process.
    - Correlation ID
    ID that is provided to a called subprocess (start workflow, role request,
    resource request) for reference to the parent. Reported with log event on
    the child process.
    - Request DN
    ID of a particular role or resource request.
    2) a Postfix/Amavis combination of MTA and Virus/Spam-Filter as present in
    SLES uses
    - Queue ID
    This is the postfix internal id which is used to tag all events that occur
    during the processing of a particular e-mail.
    - message-id
    This is the SMTP header which "provides a unique message identifier that
    refers to a particular version of a particular message. The uniqueness of
    the message identifier is guaranteed by the host that generates it". It can
    be used to track a particular message across different relays.
    - mail_id
    This is the Amavis internal id which is used to tag all events that occur
    during the processing of a particular e-mail. It is also used as filename of
    quarantined e-mails.
    - queued_as ID
    E-mails are received by postfix, forwared to Amavis for inspection and -if
    clean- forwarded again to a secondary postfix smtp listener on the same
    host. The queued_as ID reported by Amavis is the Queue ID that is assigned
    by the secondary postfix instance.
    So I'd like to see a
    - "Transaction ID" which is used to tag all log events that refer to a
    single transaction within a particular service/host - pretty much our
    current EventGroupID.
    IDM Group ID, Workflow Process ID, Request DN, postfix Queue ID, and amavis
    mail_id should be mapped to this.
    - "Correlation ID" which is used to tie together distributed
    transactions/processes.
    IDM Event ID, Correlation ID, and SMTP message-id should be mapped to this.
    - "Subrequest ID" which is the "Transaction ID" of a called subprocess and
    is logged as an event on the parent process.
    IDM Target Process ID and amavis queued_as ID should be mapped to this.

    You can generate reports related to
    Employee Headcount
    Headcount changes
    Date monitoring reports
    flexible employee data
    etc
    you can generate reports related to
    Payroll
    Wagetypes
    Related to absences
    etc

  • ERROR: In WorkFlow Subprocess Step

    Hi....Friends
    I have created one workflow named as "Test Opty Name WF" that insert a record in detail applet (Opportunity Contact List Applet), when Opportunity Name = "CONTACT" in parent Applet(Opportunity List Applet). its working good.
    So i deployed...After that i have created a new Workflow named as "Test SubProcess WF" its contain Subprocess(Test Opty Name WF) step. when i run this workflow its throws the message as
    Error Running sub-process "Test Opty Name WF" at step Sub Process (SBL-BPR-00183)
    Thanks in Advance...
    Edited by: .Rajesh. on Nov 4, 2009 6:04 PM

    Additionally Please Tell me... what Input Arguments and Output Arguments values i will give in the Sub Process Step..
    Edited by: .Rajesh. on Nov 4, 2009 6:36 PM

  • ERROR (SBL-BPR-00183): In WorkFlow SubProcess Step

    Hi....Friends
    I have created one workflow named as "Test Opty Name WF" that insert a record in detail applet (Opportunity Contact List Applet), when Opportunity Name = "CONTACT" in parent Applet(Opportunity List Applet). its working good.
    So i deployed...After that i have created a new Workflow named as "Test SubProcess WF" its contain Subprocess(Test Opty Name WF) step. when i run this workflow its throws the message as
    Error Running sub-process "Test Opty Name WF" at step Sub Process (SBL-BPR-00183)
    Thanks in Advance...

    Additionally Please Tell me... what {color:ReD}*Input Arguments* and Output Arguments {color}values i will give in the Sub Process Step....      ?:|
    Edited by: .Rajesh. on Nov 11, 2009 4:37 PM

  • Oracle workflow subprocess

    I have a process flow generated in owb and I would like to call it from another process flow. How can I do this. Both process are in separate item types.

    Hi,
    The advantage of using an event over using the PL/SQL APIs (whether custom or standard code) is the flexibility that this gives you.
    If you change the workflow type or process which you need to invoke, using the standard activity means that you need to change the workflow definition. Using custom PL/SQL means that you need to change the code to support this. Using a business event and subscription means that you need to fill in a webform and click submit.
    HTH,
    Matt
    Alpha review chapters from my book "Developing With Oracle Workflow" are available on my website:
    http://www.workflowfaq.com
    http://forum.workflowfaq.com

  • Error within Workflow calling a form

    Hey,
    I have made a workflow with a form getting some values, transmited to a WF attribute, then i call another form which use this value.
    First i used a subprocess to call the form and i had this error:
    "com.waveset.util.WavesetException: Suspended case with no WorkItems!"
    Then i put the Call form activity in the original workflow and i still have the error while another form call in the same workflow works great.
    Do someone know about this error?
    Thanks,
    Adrien

    Check the transition logic in all the activities to make sure there are no infinite loops. You'd see this error messages if there are any infinite loops. Your subprocess may not be getting the variables used for transition. If you are referencing any WF variables inside the SP, declare them as external or pass them.

  • How to do reassingment of the task from the workflow.

    Hi,
    I have two work flow one is approval workflow & another is reassignment workflow in which manager approval is need for reassignment, once manager will approve, task should be reassing to requested user in approval workflow. How can i reassign the task from process 2 to process1. Please suggest.
    Thanks
    Edited by: 949691 on Sep 27, 2012 6:27 PM

    I haven't tried it for this, but try using a correlation.
    Create the correlation in the process you want to notify -> add an event subprocess in that process who's start event is an interrupting Message event that takes a string as input that is the user id you want to reassign it to -> add an Update Task in the event in the event subprocess -> change the Update Task's operation to "Reassign" and assign it to the user id that the notifying processes sends in -> have the notifying process send the notification into this process with the user id you want to reassign the instance to.
    In his blog post from about a year ago, Arun Pareek did an infinitely better job of explaining correlations than I have - http://beatechnologies.wordpress.com/2011/10/17/working-with-custom-correlation-in-oracle-bpm-suite-11g-ps4-feature-pack/.
    Hope this helps,
    Dan

  • OWB workflow question

    I'm an OWB-newbie (using PARIS) and have a question about OWB workflows.
    I want to create several mapping workflows.
    All the mapping workflows should send a mail with the outcome of the workflows (success, error, warning) to an administrator.
    I don't want to always code the same mail activity with the same parameter values.
    So my idea is to write one subprocess which handles the mail-routine with some input parameters (calling workflow-name, process state (success, warning, error)).
    In the subprocess I want to test the input parameter "process-state". If the value is 0 (success) then a mail with the workflow name as subject should be generated incuding an static text e.g. "mapping successful". If the value is 1 then "mapping warning" and so on.
    What OWB activity has to be choosen for testing the input parameter "process-state" like an if-then-else construct or a case-construct?
    How can the value of the input parameter "workflow-name" be included in the mail-body?
    Regards
    Martin

    To my experience, using the OWF for these things is not very practical. I would suggest that you would make your own PL/SQL procedude that does this, and then call that procedure from within the actual mapping (post-mapping), using the values you have there.
    This might not be what you want, however. I simply find the email capabilities of OWF too limited for actual work.

  • Workflow Monitor Drill Down

    Hi,
    Not sure if this problem is related to the OWB team, but
    would definitely need to know if this has been experienced before.
    We have OWB 9.2 running on a Oracle 9i R2 Database (9.2.0.5) with workflow 2.6.2. We have process flows
    deployed and running properly. In the Workflow Monitor
    we are not able to drill down to the sub process for some
    reason. When we double click on the process, it dosen't
    do anything. Normally, Workflow allows the drill down
    to the sub process.
    Is this a restriction of OWB by any chance ?
    Any tips would be greatly appreciated.
    Rgds,
    Sri

    Hello, I have the same versions of OWB and Workflow. I observed this very behaviour, and explained it noticing that the subprocesses are really functions which call the processes. A process MYSUBPROCESS is called by a function named something like @MYSUBPROCESS, so I think it's impossible to drill down. In fact in the Monitor if you click on a sub process, the activity type is equal to "function" in the Definition tab -- instead of "process".
    Antonio

  • New application version and subprocesses

    Hi,
    I have a workflow in LC ES2 which uses some subprocesses that are contained in the same application. Now I want to use versioning and create a new version of the application. Unfortunately the process V1.1 seems to use the subprocesses of V1.0. If I undeploy version 1.0 and deploy version 1.1 the process stalls, because the subprocess V1.0 is not found.
    If I open the main process v1.1 in workbench and open a subprocess by using the right click menu, workbench opens the v1.0 version of the subprocess.
    I would expect the new version to be consistent in using all elements and assets of the new version, not to mix up with old elements. espacially when the old version is undeployed. If I redefine a subprocess call, all the input and output variables are reset to empty. So reconfiguring all subprocess calls would result in a lot of work and maybe some errors...
    The documentation describes what I want: the newest version of a subprocess should be invoked... (http://help.adobe.com/en_US/livecycle/9.0/workbenchHelp/help.htm?content=003741.html).
    Is this a bug in LC ES2? Is this fixed in SP1? I think I rember LC ES to work as expacted...
    Thanks and regards,
    Lars

    This bug is currently in the team's backlog. Unfortunately there is no workaround.
    Anastasia

  • How to edit s.o. line after booking in Line Flow - Generic, Bill Only workflow?

    Hi!
    We are using Line Flow - Generic, Bill Only line workflow. Is it possible to edit s.o. lines after it has been booked? Is there any workaround for this?
    Thanks.

    Actually my question also applies to the other workflow, Line Flow - Generic-Bill Only with Inventory Interface... I am asking this for the possibility of manipulating the s.o. line's data like quantity or applying discount/surcharge to a already booked s.o. to be able to avoid creating rma for over-quantitied line, etc.
    I am looking at creating a custom line workflow and somehow altering Close - Line subprocess that it is only performed once a certain condition is met. I believe that subprocess is the one that is closing the line. If that is kept not closed, maybe we can find a workaround for this requirement...
    Thanks.

  • Parallel approval question of the workflow process.

    Hello Expert,
    I have the following business process scenario which will be realized by new BPMN. My qusestion is how to do with it on BPMN?
    I have one human activity in one step. The condition to pass this step is that all the potential owners of this step should approve, if one rejects this step, then workflow terminates.  Is there anyway to reach the solution, i mean the task is sent to the approvers parallelly and i want to get all of their response?
    Any help will be appreciated..
    /BR
    Erick

    Hi Erick,
    a few words of warning though:
    If the end condition for the recursion is not modeled correctly and the process runs into an endless recursion you can easily break the system with this! Since the NetWeaver BPM is trying to pick up where it left off, such a situation can not easily recorvered from, even by restarting the server!
    Recursive subprocess calls consume quite a bit of resources, so it is not recommended to do this with many nesting levels. Start out with only a few and look in the SAP MMC how the Java memory behaves. But I guess for a (hopefully short) list of approvers this approach should be ok.
    Modeling this correctly can be a bit tricky. From my experience you should especially mind two important points:
    Make sure you synchronize concurrent executions paths (creates with a parallel split gateway) at the end with a matching join gateway.
    Do not put the end condition for the recursion in the correlation condition of the start event of the subflow: this will cause the subflow to never start and hence never return to the calling process. The result will be that the main process never terminates. Use an explicitely modeled exclusive choice gateway for this.
    Best regards,
    Oliver

  • Can I edit seeded workflow process

    I have created a new notification for PO approval notification. I want the PO approval workflow to use it.
    So, I tried to modify the seeded "Notify Approver Subprocess" to use my new notification. But, it is read
    only in workflow builder.
    Can I not modify a seeded process?

    Please see the following docs.
    Customization In Seeded Workflows [ID 467113.1]
    Oracle Workflow Customization Policy Clarification [ID 578466.1]
    Oracle Workflow Developer’s Guide - Appendix C (Oracle Workflow Support Policy - Customization Guidelines)
    http://download-uk.oracle.com/docs/cd/B25516_14/current/acrobat/115wfdg.zip
    How to create a custom copy of the seeded Purchasing PO Approval Workflow POAPPRV [ID 1270010.1]
    How do you create a custom Workflow and get it to appear under the 'Identifier' column in Define Approval Style Form? [ID 338758.1]
    Workflow customization
    Workflow customization
    Customizing a standard/seeded workflow
    Thanks,
    Hussein

  • Workfow Iterate to subprocess runs out of memory

    I have a workflow that returns all suspended tasks and then calls a subprocess for each task. The subprocess decides whether the task needs to be deleted and if so it processes the task in various ways before deleting the taskinstance.
    I have no issues when there are not too many tasks returned by the query but when the workflow returns 2000+ items, I run out of memory.
    What is the best way to workflow to call the subprocess without running out of memory?
    Do I need to cleanup something at the end of subprocess?
    Do I need to add something in the workflow to beakup the list of tasks into smaller chunks?
    <Activity id='3' name='ProcessTasks'>
    <Action id='0' name='processTasks' process='processTheTask'>
    <Iterate for='taskInstanceName' in='mytasks'/>
    <Argument name='taskInstanceName' value='$(taskInstanceName)'/>
    </Action>
    Edited by: user1937458 on Mar 14, 2012 3:12 PM

    I didnt think that this would put that much stress on the system.
    1) Use IDM best practice to generate low memory tasks, use exposedVariables and extendedVariables in manual actions to generate low memory tasks, that will save lots of memory.
    No manual action. This is a scheduled task.
    2) Run this workflow on dedicated server which is responsible to run this task only.
    I have run this when no one else was using the system but that did not help either.
    3) You can put some more conditions to get the limited return data which your server can handle in one go.
    we normally have 8000 tasks in the system. About 5000 are completed so I can ignore those in the workflow. The rest need to be looked at to determine if we need to update the request. Let's say that I can use a rule to determine that in the workflow before the subprocess is called and I end up with a list of 500 taskinstance names, I think that the process will still run out of memory unless there is some other solution.
    2000 task names in a list should not take up that much space. I am pretty sure that the subprocess which determines if the task needs to be deleted is chewing up resources. This is going to be a scheduled task with no manual actions.
    My thinking was that workflow calls the subprocess and the subprocess does a lot of work as far as canceling a request, disabling accounts in some cases, auditing and notifying users that their request was cancelled. Upon return to the workflow to get the next taskinstance name, there is probably some variable that keeps getting larger with each iteration.
    I have run smaller lists and the flow diagram that returns at the end shows the flowchart for every item that was deleted so that is probably 1 place where the variable keeps getting larger.
    Is there a way to clean everything so that each subprocess acts as if it was the 1st and only time it was getting called?
    I tried the following at the end of the subprocess but that did not help:
    <Action id='0' name='CleanUp'>
    <expression>
    <set name='WF_CASE_RESULT'/>
    </expression>
    </Action>
    I will try to debug and see what variables are getting larger and larger but any other suggestions are appreciated.

  • When do you need a subprocess

    In a discussion with some colleagues and the topic came up around rules of thumb for recognizing when you need to move a part of you workflow to a sub-process?
    For example . . . when you clearly to define a new work unit to keep your token moving! When you need to change organizational levels might be a guide as well.
    Thoughts?

    My guess is that books could be written about this, but I can think of a
    few common reasons:
    1- The overall process is overly complicated
    2- You can reuse the process
    3- That part of the process changes very often
    4- You talk and think about a part of the process as a single entity in
    one ocasion and as a sequence of activities in another.
    5- For some sequence of activities, you care when they start, but not when
    they finish (asynchronus processing).
    6- Division of labor: one person designs/implements process A, another one
    process B.
    7- etc.
    My experience is that when you start talking about the process on early
    stages, you leave some details out, draw some boxes, etc. Then you start
    filling in the blanks and what at first looked like a single activity, has
    now become several.
    That moment is usually a good indicator that you might need to extract a
    subprocess.
    Regards,
    Juan
    On Thu, 29 Nov 2007 19:59:33 -0300, Andrew Davis wrote:
    In a discussion with some colleagues and the topic came up around rules
    of thumb for recognizing when you need to move a part of you workflow to
    a sub-process?
    For example . . . when you clearly to define a new work unit to keep
    your token moving! When you need to change organizational levels might
    be a guide as well.
    Thoughts?--
    Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

Maybe you are looking for