Error updating a Human Task in BPEL

Hi,
I have a requirement where in i need bpeladmin to update a task assigned to some group.
While doing so ,as task is assigned to group i first acquire the task and then perform update on the task
While performing updation i am getting following
Invalid action on workflow task.
Action UPDATE on task a7a61c38dd54a6cb:d9506a8:121a07d45ee:-7aa7 is not valid because of .
Contact oracle support if error is not fixable.
at oracle.bpel.services.workflow.task.impl.TaskService.performPreActionValidation(TaskService.java:3416)
at oracle.bpel.services.workflow.task.impl.TaskService.performPreActionValidation(TaskService.java:3440)
at oracle.bpel.services.workflow.task.impl.TaskService.addComment(TaskService.java:617)
at oracle.bpel.services.workflow.task.impl.TaskService.addComment(TaskService.java:639)
at oracle.bpel.services.workflow.task.ejb.TaskServiceBean.addComment(TaskServiceBean.java:167)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:396)
at com.evermind.server.ThreadState.runAs(ThreadState.java:622)
at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.TxRequiresNewInterceptor.invoke(TxRequiresNewInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
at TaskServiceBean_RemoteProxy_68d4144.addComment(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
Caused by: ORABPEL-30036
Invalid action on workflow task.
Action UPDATE on task a7a61c38dd54a6cb:d9506a8:121a07d45ee:-7aa7 is not valid because of The task has been acquired by some other user..
Contact oracle support if error is not fixable.
at oracle.bpel.services.workflow.task.impl.TaskService.performPreActionValidation(TaskService.java:3408)
... 32 more
exception is ORABPEL-30036
Invalid action on workflow task.
Action UPDATE on task a7a61c38dd54a6cb:d9506a8:121a07d45ee:-7aa7 is not valid because of .
Contact oracle support if error is not fixable.
When i check wftask table in database , acquiredby column it shows entry as bpeladmin
Following is the code snippet that i am using to perform the task
Task objTask=wfSvcClient.getTaskService().acquireTask(wfCtx,"a7a61c38dd54a6cb:d9506a8:121a07d45ee:-7aa7");
     objTask=wfSvcClient.getTaskService().addComment(wfCtx, "a7a61c38dd54a6cb:d9506a8:121a07d45ee:-7aa7", "abc123");
     List assigneeGroupLst=objTask.getSystemAttributes().getAssigneeGroups();
     String assigneeGroup=null;
     if(null!=assigneeGroupLst && assigneeGroupLst.size()>0){
          assigneeGroup=((IdentityType)assigneeGroupLst.get(0)).getId();
     SystemMessageAttributesType sysAttr=objTask.getSystemMessageAttributes();
     sysAttr.setProtectedTextAttribute1(assigneeGroup);
     wfSvcClient.getTaskService().updateTask(wfCtx, objTask);
The context created is for user BPELAdmin user.
Do i need to give any rights to bpeladmin? Or is there some other way of doing it.
Any help appreciated !!!
Regards,
Bhavik

Hi Anirudh,
Thanks for quick reply.
I have a requirement where based on certain condition i need to update the task and reassign it.
There is a batch that runs and performs the task. While doing so i dont have any info as to whom
the task is assigned.
So i am using bpeladmin to perform the task.
If task is assigned to user and i try to update the task using bpeladmin then am able to do so.
But if the task is assigned to Group i am getting the error. If task is assigned to user, i am able to
acquire the task but not able to update the task.
While updation it shows the task has been acquired by some other user.
Is there any other way by which i can implement the same ?
Regards,
Bhavik

Similar Messages

  • Error while updating the Human task

    When I try to update my Human task the following error is occuring in JDeveloper and I can't save my changes, any help will be appreciable. thank you.
    Uncaught exception
    java.lang.NullPointerException
    o.bpel.services.workflow.verification.impl.TaskContentAccess.getAccess(TaskContentAccess.java:127)
    o.tip.tools.ide.workflow.util.AccessRulesUtil.getDefaultActionAccessData(AccessRulesUtil.java:265)
    o.tip.tools.ide.workflow.util.AccessRulesUtil.getChangedActionAccessData(AccessRulesUtil.java:174)
    o.tip.tools.ide.workflow.editor.tab.TaskActionAccessConfigurationPanel.getData(TaskActionAccessConfigurationPanel.java:272)
    o.tip.tools.ide.workflow.editor.tab.TaskAccessConfigurationPanel.getActionData(TaskAccessConfigurationPanel.java:103)
    o.tip.tools.ide.workflow.editor.tab.AdvancedOptionsPanel.getData(AdvancedOptionsPanel.java:215)
    o.tip.tools.ide.workflow.editor.tab.AdvancedOptionsEditor$LocalPropertyChangeListener.propertyChange(AdvancedOptionsEditor.java:141)
    j.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339)
    j.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:276)
    j.a.Component.firePropertyChange(Component.java:8128)
    o.tip.tools.ide.workflow.editor.tab.AssigneesEditor.propertyChange(AssigneesEditor.java:186)
    j.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339)
    j.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:276)
    j.a.Component.firePropertyChange(Component.java:8128)
    o.tip.tools.ide.workflow.editor.v2.StageEditor.firePropertyChange(StageEditor.java:1488)
    o.tip.tools.ide.workflow.editor.v2.StageEditor.propertyChange(StageEditor.java:1081)
    j.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339)
    j.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:276)
    j.a.Component.firePropertyChange(Component.java:8128)
    o.tip.tools.ide.workflow.editor.v2.ParticipantEditor.editParticipant(ParticipantEditor.java:1304)
    o.tip.tools.ide.workflow.editor.v2.ParticipantEditor$LocalMouseAdapter.mouseClicked(ParticipantEditor.java:1004)
    j.a.Component.processMouseEvent(Component.java:6266)
    jx.s.JComponent.processMouseEvent(JComponent.java:3267)
    j.a.Component.processEvent(Component.java:6028)
    j.a.Container.processEvent(Container.java:2041)
    j.a.Component.dispatchEventImpl(Component.java:4630)
    j.a.Container.dispatchEventImpl(Container.java:2099)
    j.a.Component.dispatchEvent(Component.java:4460)
    j.a.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
    j.a.LightweightDispatcher.processMouseEvent(Container.java:4247)
    j.a.LightweightDispatcher.dispatchEvent(Container.java:4168)
    j.a.Container.dispatchEventImpl(Container.java:2085)
    j.a.Window.dispatchEventImpl(Window.java:2478)
    j.a.Component.dispatchEvent(Component.java:4460)
    j.a.EventQueue.dispatchEvent(EventQueue.java:599)
    j.a.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    j.a.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
    j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    j.a.EventDispatchThread.run(EventDispatchThread.java:122)
    Edited by: user9351838 on 15-Feb-2012 18:45

    Seems you Human Task has run into not finding the input configurations you have made for the same.
    Please check the .task files generated. and delete it from Composite and trying recreating the Human Task.
    Reg,
    MaShek

  • Error while updating the Human task in JDeveloper. Can not save the changes

    When I try to update my Human task the following error is occuring in JDeveloper and I can't save my changes, any help will be appreciable. thank you.
    Uncaught exception
    java.lang.NullPointerException
    o.bpel.services.workflow.verification.impl.TaskContentAccess.getAccess(TaskContentAccess.java:127)
    o.tip.tools.ide.workflow.util.AccessRulesUtil.getDefaultActionAccessData(AccessRulesUtil.java:265)
    o.tip.tools.ide.workflow.util.AccessRulesUtil.getChangedActionAccessData(AccessRulesUtil.java:174)
    o.tip.tools.ide.workflow.editor.tab.TaskActionAccessConfigurationPanel.getData(TaskActionAccessConfigurationPanel.java:272)
    o.tip.tools.ide.workflow.editor.tab.TaskAccessConfigurationPanel.getActionData(TaskAccessConfigurationPanel.java:103)
    o.tip.tools.ide.workflow.editor.tab.AdvancedOptionsPanel.getData(AdvancedOptionsPanel.java:215)
    o.tip.tools.ide.workflow.editor.tab.AdvancedOptionsEditor$LocalPropertyChangeListener.propertyChange(AdvancedOptionsEditor.java:141)
    j.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339)
    j.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:276)
    j.a.Component.firePropertyChange(Component.java:8128)
    o.tip.tools.ide.workflow.editor.tab.AssigneesEditor.propertyChange(AssigneesEditor.java:186)
    j.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339)
    j.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:276)
    j.a.Component.firePropertyChange(Component.java:8128)
    o.tip.tools.ide.workflow.editor.v2.StageEditor.firePropertyChange(StageEditor.java:1488)
    o.tip.tools.ide.workflow.editor.v2.StageEditor.propertyChange(StageEditor.java:1081)
    j.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339)
    j.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:276)
    j.a.Component.firePropertyChange(Component.java:8128)
    o.tip.tools.ide.workflow.editor.v2.ParticipantEditor.editParticipant(ParticipantEditor.java:1304)
    o.tip.tools.ide.workflow.editor.v2.ParticipantEditor$LocalMouseAdapter.mouseClicked(ParticipantEditor.java:1004)
    j.a.Component.processMouseEvent(Component.java:6266)
    jx.s.JComponent.processMouseEvent(JComponent.java:3267)
    j.a.Component.processEvent(Component.java:6028)
    j.a.Container.processEvent(Container.java:2041)
    j.a.Component.dispatchEventImpl(Component.java:4630)
    j.a.Container.dispatchEventImpl(Container.java:2099)
    j.a.Component.dispatchEvent(Component.java:4460)
    j.a.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
    j.a.LightweightDispatcher.processMouseEvent(Container.java:4247)
    j.a.LightweightDispatcher.dispatchEvent(Container.java:4168)
    j.a.Container.dispatchEventImpl(Container.java:2085)
    j.a.Window.dispatchEventImpl(Window.java:2478)
    j.a.Component.dispatchEvent(Component.java:4460)
    j.a.EventQueue.dispatchEvent(EventQueue.java:599)
    j.a.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    j.a.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
    j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    j.a.EventDispatchThread.run(EventDispatchThread.java:122)

    Resolved ..
    It was an issue with permissions .
    Thanks

  • Is it possible to update the human task payload without using worklist API but only using advance routing rule.

    Hi,
    I have one human tasks in BPEL process in which i am using different stages and with using advance routing rules i am routing my task payload to one stage to another.My payload has Task Status and Branch,after approving the human task from first stage I want to send modified value of the Task Status to the next stage without using worklist API or manual updation but only using the advance routing rules,is it possible ??? If anyone have any idea about this than please enlight me with your valuable solutions and  advices...
    Thanx
    Regards
    Ajral

    Hi SamGoe,
    According to your description, my understanding is that you want to update the PoerPoint slide from SharePoint 2010 slide library automatically.
    It seems to be not necessary to use Macros. SharePoint provides an OOB way to notify you to check for update to the slide library slides when you open the presentation. PowerPoint does this because you selected the option
    Tell me when this slide changes when you copied the slides from the library.
    More information, please refer to the link below:
    http://office.microsoft.com/en-us/powerpoint-help/sharepoint-slide-libraries-ii-use-slides-in-the-library-RZ010254089.aspx?section=6
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • Send email through human task in bpel

    hi everybody,
    I am badly stuck in sending email through human task using bpel.
    I have used reminder facility and enabled send email in .task file.but no email
    is sent so anyone please help me out and please provide me with full detailed solution what I have to do like change any xml file setting etc.
    Also I was trying to send email using email activity by changing the ns_emails.xml in .........bpel/systems/services/config & in .......integration/esb/config but I was not succeeded. So please provide me with complete solution like what parameters to pass in smtp server,port no,protocols etc and which file to change in which directory. my work is pending just because of this.
    I would be very grateful to you.
    thanks in advance.
    mansoor.

    Hi mansoor,
    <EmailAccounts xmlns="http://xmlns.oracle.com/ias/pcbpel/NotificationService"
    EmailMimeCharset=""
    NotificationMode="EMAIL">
         <EmailAccount>
              <Name>Default</Name>
              <GeneralSettings>
                   <FromName>BPEL POC</FromName>
                   <FromAddress></FromAddress>
              </GeneralSettings>
              <OutgoingServerSettings>
                   <SMTPHost>mail.oracle.com</SMTPHost>
                   <SMTPPort>25</SMTPPort>
              </OutgoingServerSettings>
              <IncomingServerSettings>
                   <Server>mail.oracle.com</Server>
                   <Port>993</Port>
                   <Protocol>IMAP</Protocol>
                   <UserName>xxxxxx</UserName>
                   <Password ns0:encrypted="false" xmlns:ns0="http://xmlns.oracle.com/ias/pcbpel/NotificationService"></Password>
                   <UseSSL>false</UseSSL>
                   <Folder>Inbox</Folder>
                   <PollingFrequency>1</PollingFrequency>
                   <PostReadOperation>
                   <MarkAsRead/>
                   </PostReadOperation>
              </IncomingServerSettings>
         </EmailAccount>

  • Any Document related  to implementation of Human tasks in BPEL

    Hi Friends,
    I am new to BPEL and looking for a reference document to implement the Human Tasks in BPEL.
    My Email ID: [email protected]
    regards
    Sai

    You will find lots of document in the
    <OC4J_HOME>\OracleAS_1\bpel\samples\demos\
    folder.
    There is a good tutorial name VacationRequest which you can refer for getting a knowledge of Human workflow.

  • Error while deploying Human Task

    Hi All,
    I am getting the following error while deploying a simple Human Task
    Error while deploying the form on server "Tom-latitude" Error message :
    java.lang.SecurityException
         at oracle.ide.IdeCore$7.checkExit(IdeCore.java:177)
         at java.lang.Runtime.exit(Runtime.java:88)
         at java.lang.System.exit(System.java:868)
         at oracle.oc4j.admin.deploy.cmdline.Oc4jAdminCmdline.executeCommand(Oc4jAdminCmdline.java:141)
         at com.collaxa.cube.ant.taskdefs.DeployForm.deployIAS(DeployForm.java:785)
         at com.collaxa.cube.ant.taskdefs.DeployForm.deployForm(DeployForm.java:578)
         at com.collaxa.cube.ant.taskdefs.DeployForm.deployForms(DeployForm.java:849)
         at com.collaxa.cube.ant.taskdefs.DeployForm.execute(DeployForm.java:875)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
         at org.apache.tools.ant.Task.perform(Task.java:364)
         at org.apache.tools.ant.Target.execute(Target.java:341)
         at org.apache.tools.ant.Target.performTasks(Target.java:369)
         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
         at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
         at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
         at oracle.jdevimpl.ant.runner.AntLauncher.launch(AntLauncher.java:321)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at oracle.jdevimpl.ant.runner.InProcessAntStarter.runAnt(InProcessAntStarter.java:295)
         at oracle.jdevimpl.ant.runner.InProcessAntStarter.mav$runAnt(InProcessAntStarter.java:43)
         at oracle.jdevimpl.ant.runner.InProcessAntStarter$1.run(InProcessAntStarter.java:71)
    Thanks
    Tom....

    For deploying a bpel with human task, you need a bpel engine. oc4j_soa instance has the BPEL engine. Thats why.

  • Fault/Error Handling in Human Task

    Hi,
    We are using Oracle BPM 11.1.1.3.
    1. I create "synchronous" BPM process containing Human Task. Is synchronous process containing Human Task correct? When I invoke this process through EM console, it hangs, i.e. I can not interact with EM console any more. I think the reason is, Human Task activity when executed expects human interaction. I am correct?
    2. I create "asynchronous" BPM process containing Human Task. I invoke it and it runs properly. I login to workspace and work on task.
    My main question is: "Asynchronous" process executes Human Task and waits for Human Interaction. My process is invoked by Java. How will calling Java code know if execution was successful? If any fault/error occurs how can I notify? How will I notify calling Java code if human task encountered any error?
    Please let me know if my question is not clear.
    Many Thanks.

    Hi Anirudh,
    Thanks for quick reply.
    I have a requirement where based on certain condition i need to update the task and reassign it.
    There is a batch that runs and performs the task. While doing so i dont have any info as to whom
    the task is assigned.
    So i am using bpeladmin to perform the task.
    If task is assigned to user and i try to update the task using bpeladmin then am able to do so.
    But if the task is assigned to Group i am getting the error. If task is assigned to user, i am able to
    acquire the task but not able to update the task.
    While updation it shows the task has been acquired by some other user.
    Is there any other way by which i can implement the same ?
    Regards,
    Bhavik

  • How to map payload from Human Task to BPEL

    Hi,
    I have created a human task form for which I send two parameters from the BPEL process.
    The user is able to update the fields containing the sent parameters and then click 'APPROVE' or 'REJECT'. However, I need the values of the updated fields to be returned and not the 'APPROVE' or 'REJECT strings.
    Can anybody help me with this?
    Alex

    Hi Alex,
    If you checked the Editable via worklistapp box then you dont need to update the values.
    These values automatically update the values of these parameters in human task if you properly mapped the values.
    Regards,
    Priyanka

  • Add a Human Task in BPEL but it shows as an Auto Task in BPA

    Hi, all,
    I create a BPMN flow in BPA and mapping to BPEL. And I add a Human Task in jDeveloper, and saved back to BPA server. But the problem is the updated BPMN flow shows that I added a Auto Task in BPA. Could you help me on that? Thanks in advance.
    Best Regards,
    Bill

    Hi Bill,
    Prefatory a quick intro on the basic idea of the BPA concept and a few personal recommendations. In general all changes on the control flow should be initiated top-down from the business process, which means your requirement becomes relevant only in certain cases. If the refinement of the BPEL process is going beyond the technical implementation, then the BPMN diagram itself needs to be corrected. That being said, in certain cases it may be sensible to make use of the improvement proposal feature (e.g. the IT developer recognizes the need of an additional service invocation, so that the control flow of the business process has to be refined).
    Referring to your issue these changes are displayed as Automated Activities (abstract) in the superior business process (in BPA). For this reason some activities require a different approach when it comes to accepting or rejecting by the business users. The description below provides an overview about how-to add activities in BPEL subsequently (as improvement proposals) and how they will be represented in the superior business process after synchronization (personal recommendations).
    Control flow
    Email, Fax, Pager, Pager, SMS, Voice+
    BPEL process (JDeveloper)+
    Encapsulate within a separate Abstract activity - choose a name, which helps to identify that this should be a Notification activity (define naming conventions in the conventions handbook).
    Business process (BP Architect)+
    By default represented as Automated Activity (abstract).
    Open the improvement proposal model and select the new activity. Go to Format/Representation and select 'Notification' in the Symbol-dropdown list - the object appearance changes.
    Important: double-click the new activity and specify all the required parameters. Share the blueprint with IT.
    Note: The attributes of the abstract Automated Activity still appear in the attributes view.
    Invoke+
    BPEL process (JDeveloper)+
    Encapsulate within Abstract activities.
    Business process (BP Architect)+
    If encapsulated within an existing scope in BPEL - not visible in the superior process.
    If encapsulated within an Abstract activity in BPEL - represented as Automated Activity (abstract).
    Human Task+
    BPEL process (JDeveloper)+
    Encapsulate with an a separate Abstract activity - choose a name, which helps to identify that this should be a Human Task activity (define naming conventions in the conventions handbook). Ignore the Switch activity that will be added below the Human Task.
    Business process (BP Architect)+
    By default represented as Automated Activity (abstract).
    Open the improvement proposal model and select the new activity. Go to Format/Representation and select 'Human Task' in the Symbol-dropdown list - the object appearance changes.
    Important: double-click the new activity and specify all the required parameters. Share the blueprint with IT.
    Note: The attributes of the abstract Automated Activity still appear in the attributes view.
    Receive, Reply+
    BPEL process (JDeveloper)+
    Encapsulate within Abstract activities.
    Business process (BP Architect)+
    If encapsulated within an existing scope in BPEL - not visible in the superior process.
    If encapsulated within an Abstract activity in BPEL - represented as Automated Activity (abstract).
    Decide+
    BPEL process (JDeveloper)+
    Add a new Abstract scope - choose a name, which helps to identify that this should be a Business Rule activity (define naming conventions in the conventions handbook). Place an Empty activity inside the scope.
    Business process (BP Architect)+
    By default represented as Automated Activity (abstract).
    Open the improvement proposal model and select the new activity. Go to Format/Representation and select 'Business rule function' in the Symbol-dropdown list - the object appearance does change.
    Important: double-click the new activity and specify all the required parameters. Share the blueprint with IT.
    Note: The attributes of the abstract Automated Activity still appear in the attributes view.
    Flow, Switch, Pick+
    BPEL process (JDeveloper)+
    Only new branches within existing activities can be added subsequently. Each branch should contain at least one Abstract activity.
    Business process (BP Architect)+
    New activities should be defined in the superior business process.
    Displayed as gateways (AND, XOR &lt;event-based&gt;, XOR &lt;data-type&gt;, OR) - the definition of these activities should be initiated in the business process.
    While+
    BPEL process (JDeveloper)+
    Only within existing scopes. Loops should be defined in the superior business process.
    Business process (BP Architect)+
    If not encapsulated within a scope in BPEL - will be represented as Automated Activity (abstract).
    If encapsulated within an existing scope in BPEL - not visible in the superior process after synchronization.
    If encapsulated within an Abstract in BPEL - will be represented as Automated Activity (abstract).
    Implementation
    Assign, Transform, Throw+
    BPEL process (JDeveloper)+
    Only within existing scopes.
    Business process (BP Architect)+
    Not visible.
    Wait, Terminate+
    BPEL process (JDeveloper)+
    Not recommended to add them subsequently - should be defined in the superior business process via Intermediate events (BPMN).
    Business process (BP Architect)+
    Displayed as intermediate event - the definition of these activities should be initiated in the business process.
    Kind regards,
    Danilo

  • Error in Dynamic Human Task Assignment

    Hi,
    I am trying to assign task dynamically using Xpath but i keep getting error when i deploy & run the BPEL process.
    I tried using orcl:create-nodeset-from-delimited-string(') but it returns the error
    "Error while processing xpath expression, the reason is message can't be null.
    Please verify the xpath query."
    I tried using Qname as 'task:assignee' as well as '/task:task/task:systemAttributes/task:assigneeUsers/task:id' but it returns the same error!
    I would really appreciate if someone can tell me how can I assign user dynamically!

    The trick is that the user id to which you will assign the task should be present somewhere within your payload. When editing the task file, the dynamic user xpath expression you enter should be pointing to this element which contains the user id. That's all indeed.
    By the way, "message can't be null" error may occur if you are not setting the payload instance correctly. You specify the message or element types for the payload while editing the task file, however you should specify real object instances for the payload elements in the dialog box which opens when you double click the human task activity in the BPEL diagram.
    Hope this helps..
    Serkan

  • BPM 11g deployment error when include Human Task

    During deployment, when I include a Human Task in my BPM 11g project, the deployment fails.  The error message in JDeveloper is:
    Weblogic Server Exception: weblogic.application.ModuleException:
    Caused by: weblogic.common.ResourceException: weblogic.common.ResourceException: Could not create pool connection. The DBMS driver exception was: [unixODBC][Driver Manager]Data source name not found, and no default driver specified
    If I don't include the Human Task application in deployment, it's fine.  I used the Auto Create feature to generate the ADF project/form.  I've deleted and recreated the Human Task, but that hasn't helped.
    What can cause this error?  I've googled for days, but have not found anything similar.

    Kunwar - Thank you very much for your reply.  I checked in EM under Applications, and there is no application with the name of my Human Task application that is part of my BPM project.  To be sure, I just rebooted the server and checked again, but it is not there, and the reboot did not solve the problem.
    I'm not sure if this is related to the problem, but here is some other information.  A few days ago when I tried to redeploy just the BPM project (keeping save revision, and checking "Overwrite any existing composites"), I received a null pointer exception error.  Since then, I must Undeploy the BPM Application using EM to then redeploy it using JDeveloper.  Here is the error I was getting:
    [08:03:59 AM] Sending archive - sca_PERAC91A_rev1.0.jar
    [08:04:07 AM] Received HTTP response from the server, response code=500
    [08:04:07 AM] Error deploying archive sca_PERAC91A_rev1.0.jar to partition "default" on server AdminServer [http://soabpm-vm:7001]
    [08:04:07 AM] HTTP error code returned [500]
    [08:04:07 AM] Error message from server:
    There was an error deploying the composite on AdminServer: Error occurred during deployment of component: PERAC91A to service engine: implementation.bpmn, for composite: PERAC91A: java.lang.NullPointerException.
    [08:04:07 AM] Check server log for more details.
    [08:04:07 AM] Error deploying archive sca_PERAC91A_rev1.0.jar to partition "default" on server AdminServer [http://soabpm-vm:7001]
    [08:04:07 AM] ####  Deployment incomplete.  ####
    [08:04:07 AM] Error deploying archive file:/D:/Data/consulting/AllStar/PERAC/Dev/JDeveloper/PERAC91A/PERAC91A/deploy/sca_PERAC91A_rev1.0.jar
    (oracle.tip.tools.ide.fabric.deploy.common.SOARemoteDeployer)

  • Problem in Human Task in BPEL

    I have a BPEL process with eight human task.Ater the last human task in the switch block i have added one assign activity and one mail activity in the "APPROVED" case. I have deployed the process and ran it. The flow got stuck in the last human task receive call back step and not proceeding to next switch, but i have already approved the task from worklist.
    I have added oned one BAM sensor in that receive step and the sensor was set on "completion". BAM has received the data that ""receive completed".so it seems like that the receive actiivity gets completed but not showing in the BPEL visual flow also not proceeding further.
    After that I removed the assign activity and mail activity and tested it once..it worked fine..
    It looks strange to me....

    There's probably a problem within your assign activity. Check the domain log as Eric suggested. You can find it @:
    $ORACLE_HOME/bpel/domains/<your_domain>/logs/domain.log
    HTH,
    Bas

  • Human Task in BPEL

    Hi,
    I have a question on Human Task component in BPEL. How do we configure the identity store for users . I mean i did exported some users onto my local machine following the link in the documentation. But how to work on the Human Task at the client side ? How to add the users ? Please help me in this regard.
    Thanks,
    N

    There's probably a problem within your assign activity. Check the domain log as Eric suggested. You can find it @:
    $ORACLE_HOME/bpel/domains/<your_domain>/logs/domain.log
    HTH,
    Bas

  • Human Tasks in BPEL

    I have a workflow that needs to include a human review point for quality control purposes.
    I have added a "Human Task" at that point, and that seems to partially work. I can see the tasks in BPM and I can Approve the task. What's not working is that after the approval, the next step in the BPEL flow isn't getting applied.
    Perhaps related is that I can see the human task was executed from within the SOA Console. However, I don't see the BPEL instance that it was associated with. I only seem to be able to see instances that have completed.
    So, I'd appreciate any help you can provide on what I might be doing wrong or how to best diagnose what's going on.

    dmvers,
    Probably best for you to try the BPEL forum (or if you're using the 11g TP), the SOA Suite 11g TP forum.
    Best,
    john

Maybe you are looking for

  • JDBC Receiver error

    Hi All, I have a scenario where XI has to pick the file from ftp and update the stagging databse through JDBC. XI is picking the file, but not getting failed while sending the data to JDBC. Unable to execute statement for table or stored procedure. '

  • Analytics dashboard question

    I'm a Captivate user and I wanted to get a better understanding of the Analytics Dashboard so I've downloaded the Presenter 9 trial. I've enabled analytics as well as reporting for a SCORM 2004 environment, published a file with multiple questions, a

  • System error when calling a servlet

    Hi All I have a servlet deployed in sap j2ee engine. The servlet actually reads a SOAP message , extracts a file attached with the SOAP message and forwards the file to a RFC. Now from a java class I am attaching a file with the SOAP message and call

  • Operations should start on same time.

    Hi All, We have one scenario of Pen manufacturing. We manufacture Cap, Refill , Refill barrel and finally doing assemble for pen. In routing how sequence should be there, as we are mfg cap, refill and barrel  at a time same time. Regards, Sandy

  • Unable to execute OEM thin client

    When clicked the icon of OEM on the browser, it popped up a File download window to save or open the "oemapp_cgi" from the webserver. What changes are required in the http server (Apache) configuration file to execute the cgi files? My environment is