BPM process withour initialize task?

Hi,
Is it possible to have a BPM process without initiate task?
My Use Case:
Pass some data to the BPM process during the instance creation.
I don't find any way to pass the data during instance creation. I'm thinking of having a webservice call as first activity in my process where the webservice populates the payload data. So I would like to get rid of initiator task and would like to invoke/start the BPM process using BPM API.
Please help.
Thanks,
Suren

Leave the initiator task in your process.
Look at the BPM API example here - http://java.net/projects/oraclebpmsuite11g/downloads/directory/Samples/bpm-api-101-instance-query
Specifically, you want to look at oracle.bpm.sample.instance.InitiateCreditIncreaseRequest.
Once you get a handle on the initiatedTask, you can manipulate the payload.

Similar Messages

  • BPM process and manage task  option should avaible at Portal

    Hi Expert,
    Assigned User will see BPM  process and manage task option in  directly in portal not required to login as NWA.
    Please help me on this.
    Thanks,
    Padmindra

    Hi Mithileshwar,
    Start BPM Process Trigger - Read timed out
    Regards,
    V Srinivasan

  • Testing first BPM Process viewing my tasks problem.

    Hi,
    i've completed tutorial from http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/obpm/11g/r1/firstProcess/firstprocess_obpm11g.htm.
    But when i try to browse tasks (in BP Workspace) asssinged to me I get error 'unable to find page.... etc. localhost.localdomain... etc' I am using remote server 192.168.xx.x and i assume that I need to change this localhost.localdomain setting to my URL192.xxx.
    Can someone tell me where/how I should I do it?

    My BPM Workspace application works fine. I have no problem to enter application.
    When I go to 'My task' and try to enter taks assigned to me eg. 'Please Enter a Hello Message' application tries to open URL something like that:
    http://localhost.localdomain:7001/workflow/HelloWorldUI/faces/adf.task-flow?_document=WEB-INF%2FSayHello_TaskFlow.xml&bpmWorklistLogin=login.jspx&tz=America%2FLos_Angeles&bpmWorklistContext=f370efbd-f4ac-4b4a-83fe-a249164be07e%3B%3B7nJgG2KwPjregH%2BXFNILkXSTsKXVb6cNCnoISKX3i5aeJpZRe0tlZagmDLZssbe%2Bi4X7%2FGQZiCz%2BjhYPeiOuzjevI0hh2e0rA5UfohqJqyVynnbZBQKgsMyE8PszlMSIvJAgdWWTKy091B7C0btLKmCXBGLkGsXJSkgQkGyq800t18ncTROsT7FJeb1s7oynNbz4Ub%2BaBBVfHHCx3CPtBfnBIDLVCMb0IvPOgEuPauSqL2ev6zQRgSJz6Z66YrWz&bpmWorklistTaskId=f4ee67a0-8a6d-4bb8-9eba-0aa1b0aed429&_id=SayHello_TaskFlow&lg=en&cy=US&bpmWorklistLogout=logout.jspx&bpmWorklistHttpURL=http%3A%2F%2F192.168.200.15%3A7001%2Fbpm%2Fworkspace&bpmBrowserWindowStatus=close
    when my BPM Workspace Application is deployed on 192.168.200.15:7001. I had to add entry in my etc/hosts to temporarily solve problem.
    192.168.200.15 localhost.localdomain
    But this will work only on my PC, I need to find global solution for this problem.
    Edited by: 928145 on 2012-04-18 01:09

  • How to programatically set  HT expiration based on BPM process?

    Hi All,
    I'm developing a BPM process with human tasks. Is there a way by which I can set the task to expire 35 days after the date the instance of the BPM process was spawned? I see within the task an option to set Expiration after a fixed number of days, but my scenario requires that I compare the current date with the date on which the instance of the BPM process was created and set to expire accordingly.
    Is this achievable? If not directly are there any suggested programmatic approaches to achieve this?
    JDev : 11.1.1.4
    Thank you.
    PP.

    Don't know if you know how to get the number of days, hours, minutes that you want to wait and then put that into a either a string or integer variable (no decimals). If you know how to do this, then the code below should help. These examples assume you want to wait a certain number of days and this number is passed in using the variable "sla".
    Setting the human task's deadline
    The human task deadline timer can be set programmatically from a process variable using an XPath expression. In the human task's "Deadline" tab select "By Expression" from the dropdown. In the example below, the XPath expression would this if you had an string or integer variable called "Sla" and you wanted to set the number of days based on this variable:
    concat("P0Y0M",/task:task/task:payload/task:Sla,"DT0H0M0.0S")
    Setting the Interactive activity's deadline
    You'll also want to set a boundary timer event on the Interactive activity set to the same duration. The syntax for this logic is different than the human tasks deadline. In the timer event, if you use the radio button "Time Date", the XPath expression to set the number of days based on a variable would be:
    xp20:add-dayTimeDuration-to-dateTime(xp20:current-dateTime(),concat('P0Y0M'  ,bpmn:getActivityInstanceAttribute('SUBPROCESS3082641628371', 'inputDataItem')/ns:sLA,'DT0H0M0.0S'))If you instead select the timer event's "Time Cycle" radio button, the logic would be:
    concat('P0Y0M',bpmn:getActivityInstanceAttribute('SUBPROCESS3082641628371', 'inputDataItem')/ns:sLA,'DT0HM0.0S')Dan

  • Error after deploying BPM Process due to VC-TaskUI

    Hello,
    i'm trying to run a successfully deployed BPM Process with one Task created in Visual Composer. The task is consuming a Webservice from the ESWorplace. The task appears in the UWL, when I click it, this error message comes:
    (The error only appears when i try to usa a webservice - without anything, just a simple UI, everythin runs well)
    The initial exception that caused the request to fail, was:
    java.lang.NullPointerException: while trying to invoke the method com.sap.tc.webdynpro.progmodel.api.IWDNode.size() of an object loaded from local variable 'parentNode'
        at com.sap.tc.wd4vc.util.java.XGLNormalizationUtils.resolveDeNormalizedNodeElementAsInput(XGLNormalizationUtils.java:256)
        at com.sap.tc.wd4vc.util.java.XGLNormalizationUtils.copyToNormalizedNodeInternal(XGLNormalizationUtils.java:113)
        at com.sap.tc.wd4vc.util.java.XGLNormalizationUtils.fillNormalizedChildElements(XGLNormalizationUtils.java:160)
        at com.sap.tc.wd4vc.util.java.XGLNormalizationUtils.copyToNormalizedNodeInternal(XGLNormalizationUtils.java:115)
        at com.sap.tc.wd4vc.util.java.XGLNormalizationUtils.copyToNormalizedNode(XGLNormalizationUtils.java:85)
    It is a CE7.2 System with NWDS 7.2 SP001.
    What is the reason?
    Greetings,
    Oliver

    Problem solved.
    In VC - in a datashare - I made an optional Input field of a Webservice (0...n) required (1...1). Apparently there is a bug in the Interface between VC and BPM (Start- and End-Point). Because the "made-required" Context-Node created in VC appear in BPM (in the Inputmapping of the Task) as an infinite-loop of Childnodes. This is the reason for the Error-Message.
    Maybe this bug was fixed in newer SP's (I have SP01).
    Greetings, Oliver

  • Task UWL and Warnings BPM process

    Hi,
    I have two questions about:
    - Created Tasks in the UWL
    - Warnings BPM process.
    I have created a BPM process with a one human activitie. This human activity assigned to a task with one potential owner. When i start the process and open the portal UWL, two tasks has been generated!?. Both are the same because when i complete the first task and open the second task, i get the message: " Task has been already completed ".
    Second question: when i open the created BPM process, the following warnings appears in the problem tab of NWDS:
    Some of the data elements from input mapping of "Cancelled"is not initialized before used.
    Some of the data elements from input mapping of "Completed"is not initialized before used.
    How can i solve this warning?
    Kind regards,
    Martin Gerritsen

    Hi Martin,
    Regarding the "double-task". How did you invoke the process? Via web service? Via NWA? Might it be possible that you submitted the request twice (e.g. double-click instead of a single click?) and that's the reason why 2 tasks are apparing? Or does this happen every time when you start the process?
    Just a best guess.
    Best regards,
    Martin
    Martin,
    The process will be started by a web service. This service is created as a new WSDL in the BPM environment. This service is connected to the start event of the BPM process and contains a few import parameters. After that i called the service from a R/3 system which started the process.
    The 2 tasks apparing everytime i start the process...
    When i start the process from the process repository (Netweaver Administrator -> Configuration Management -> Processes and tasks), i get the same problem...
    The process contains two human activity's. When the first activity is completed and the second human activity start, 2 tasks will be generated (both the same...)

  • How to carry out an action on a task in a bpm process from another adf app?

    Hi everyone,
    We have a simple BPM process with only one human task with two actions: approve and reject.
    We want to know if it is possible to approve or reject this task from another adf application; I mean by clicking a button on a different page - not using the Actions menu in workspace, can I change the status of the task to approved or rejected and remove the task from the workspace of the assignee?

    I think you can use ItemAdding event to update your fields. This works better for you instead of ItemAdded event.
    Bala

  • Why can´t i have more than one initiator task on my bpm process

    Hi All.
    I am working with BPM 11g and would like to know:
    Why can´t i have more than one initiator task on my bpm process
    In this case, i will have two separeted process where each has its initiator task?
    Regards,
    Diovani

    Hi Diovani
    Two different processes can have different task initiators...task initiator means creation of a process instance which can happen only once

  • BPM Process and Task Flow association

    Hi,
    I deployed one BPM process on a partition called "common". It has a human task, so when I am deploying the human task as separate adf ui project, do I need to specify the partition in hwtaskflow.xml as
    hwTaskFlows
    xmlns="http://xmlns.oracle.com/bpel/workflow/hwTaskFlowProperties">
    <ApplicationName>worklist</ApplicationName>
    <LookupType>LOCAL</LookupType>
    <TaskFlowDeploy>false</TaskFlowDeploy>
    <PartitionName>common</PartitionName>
    Or is it ok, to deploy without mentioning the partition.I am deploying both the bpm and adf ui projects using ANT scripts.
    Regards,
    Subhashini

    Hi Subhashini
    No. There is no need to mention partition name in this file. Infact its better if you do not mention. In this way, you can deploy the taskforms to any partition in any environment.
    Thanks
    Ravi Jegga

  • BPM Process does not show newly added task

    I added a new task to my current BPM Process which has several tasks already built into it and they work when deployed. When I execute the workflow and get to that step, I get the following message: Details not available for this task. I am using jDeveloper 11.1.1.5. I created my page with ADF. I can see the pages for all the rest of the tasks in my process but not this newly added step. I have checked the source for this task against other tasks in the process and it looks the same. Does anyone have an idea what I might need to change or add in order to make this work?
    Edited by: user10279592 on Jan 13, 2012 7:20 AM

    If you're getting the Server 500 error and it is not an initiator task, what are you seeing at the bottom of your log file?
    If you're getting the Server 500 error and it's an initiator task, then there is a trick to figuring out the real problem (close the dialog -> refresh the worklist -> select the work item at the bottom of the list). The initiator activity makes it necessary to do this additional step to see what the issue is.
    Hope this helps,
    Dan

  • Unable to initiate BPM process despite using script task

    Hi,
    I've created a BPMN process which I want to initiate through a script task - I followed the steps given in section 3.7 of the following doc -
    https://stbeehive.oracle.com/content/dav/st/HP%20personal%20workspace/Public%20Documents/BPMN_03_SalesQuote_Implementation.pdf
    but after deploying this process, when I go to BPM workspace using my user's login, I don't see my BPM process under list of applications. What could be wrong?
    Thanks,
    Harsh

    Hi Lavanya,
    Could you please tell me how you resolved. I am also getting same error.
    com.sap.glx.adapter.api.AdapterException: Process start failed due to TransitionException
    Thanks in advance.
    cheers,
    dev

  • Reassignment of a task in BPM process

    How can I implement reassignment of a task to particular user/user's group in BPM process.
    Is any body guide me on that?Thanks in advance.
    Regards,
    Amik

    Sudipto,
    They can also be defined using Terminating Events for the task as well as Exceptions in the object method. For further info follow the link to the Help Documentation.
    http://help.sap.com/saphelp_47x200/helpdata/en/a6/9baca25f2c11d194a40000e82dec10/content.htm
    Cheers,
    Ramki Maley

  • Not able to see task of BPM process in UWL

    Dear all,
    I am not able to see my task in Portal UWL and getting an error in UWL workset saying, an error occured while trying to connect to provider and detail message says - Unexpected error occured: XMLParser: No data allowed here (:main:, row:6, col:2)
    In the Portal Log i can see following error message -
    process()
    [EXCEPTION]
    com.sap.engine.interfaces.webservices.runtime.ProtocolExceptionExt: Authentication failed. For details see log entry logID=0021288C0230293F0000000500006EB3 in security log.
    at com.sap.engine.services.wssec.srt.protocols.ProviderSecurityProtocol.logThrowable(ProviderSecurityProtocol.java:1178)
    at com.sap.engine.services.wssec.srt.protocols.ProviderSecurityProtocol.handleRequest(ProviderSecurityProtocol.java:527)
    at com.sap.engine.services.webservices.espbase.server.runtime.ProtocolProcessor.protocolsHandleRequest0(ProtocolProcessor.java:95)
    at com.sap.engine.services.webservices.espbase.server.runtime.ProtocolProcessor.protocolsHandleRequest(ProtocolProcessor.java:70)
    at com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.preProcess(RuntimeProcessingEnvironment.java:483)
    at com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.process(RuntimeProcessingEnvironment.java:322)
    at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPostWOLogging(ServletDispatcherImpl.java:199)
    at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:65)
    at com.sap.engine.services.webservices.servlet.SoapServlet.doPost(SoapServlet.java:61)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
    I am using Portal 7.2 with SP level 08.
    Thank and Regards,
    M.D.Sahu

    Hi Mithileshwar,
    Start BPM Process Trigger - Read timed out
    Regards,
    V Srinivasan

  • Using Human tasks in a BPM process

    Hi
    I managed to deploy the VacationRequest sample which uses human task in a BPEL process.
    I want to implement the same human task in a BPM process. Are there any tutorials or stepswise guide for the Vacation Request sample using BPM process?
    Also, what are the main differences between a BPEL and a BPM process because most of the things that are done in BPEL can be done in an BPM process as well.
    Thanks

    I was able to implement the same using a BPM Process.
    For those of you, who may require the steps:
    1. Create a webservice based on the VacationRequest.xsd with VacationRequest as request and VacationResponse as CallBack
    2. Create a human task and task flow as described in the VacationRequest.pdf provided along with the sample.
    3. Create a BPMN process, associate the Start Event to the WebService Interface and map the request and response.
    Also associate the End Event to theWebService callback port.
    4. Deploy the process and taskflow.
    But I have a query here? Even in the sample given(using bpel process) how will the requestor know that the leave has been approved/rejected.
    what exactly is sent out as the response to the call back port. And, where can the requestor view the response?
    Regards

  • A BPM process with out any human task

    Hi All,
    I am new bie to BPM. Can I create a BPM process without any human task?
    Like start event, service task (or any other activity) & end event.
    If it is possible, please let me know the proper steps to execute and test this process also.
    Thanks,

    Hi
    Yes, ofcourse you can have a Process without any User Task. Ex: Start Node -> Service Task -> End Node. Start Node can be 2 things say like DB Adapater and File Adapter. Read something from DB from some table and put into the Text File.
    But the thing is, BPM Process is more of Role Oriented. If you already saw, you define something called Swim Lanes and put each User Task in those Lanes and automatically users in that Role only can work on those Task.
    If you do not have any such things like User Task, you don't even need to create a BPM Process. Just create a simple BPEL with your custom Payload.
    Now, the most important question is how do you plan to trigger/start this process whether BPM or BPEL. Do you assign some users to the first Role and do users log into bpm/workspace and click the Link on the left side to start the process. ALSO since there is NO User Task, you will NOT have any Task Details Page and this means you MAY NOT even see the link on the left side in bpm/workspace.
    The only option I could see is have BPEL. This BPEL will have a WSDL automatically generated. And you can use this WSDL to instantiate the task.
    If your intention is to use this process/bpel in some other MAIN Process then it is totally possible.
    Thanks
    Ravi Jegga

Maybe you are looking for

  • Problem with text fields

    Hi ,I'm new to javascript and have following problem I have 4 text fields on my jsp form.. <input type="text" name="text1"> <input type="text" name="text2"> <input type="text" name="text3"> <input type="text" name="text4"> and I want to do this: If t

  • I need a replacement keyboard for a Lenovo 3000 C200 Model# 8922-2FU

    My wife dumped a glass of water on her laptop and I am having a really hard time finding a replacement keyboard. Why do wives love to break the machines? Thanks

  • LimeWire 5.1.2 Safe To Install?

    My son has been pestering me to put LimeWire 5.1.2 on this new iMac which he uses from time to time - when I allow him to Is this software safe to install? I've heard so much about it and I run a very clean system. I just don't want to introduce any

  • Syncing mail between 2 bootup drives

    I have one bootup drive for video apps and another for print graphics apps. both disks are available from the other. Because I spend a good deal of time working from each-sometimes days at a time-I end up with the same incoming mail on both, but I ha

  • Null Date displayed as 01-JAN-70

    When i query the logical stand by for some details,a date column which should ideally be null shows as '01-JAN-70' for a set of rows and as null for other set.Could anyone please let me know why this is so.Is this the oracle default value for Date da