How do we determine if a Human Task instance in BPM Workspace is open?

Hi All,
An interesting one. How do we programatically determine if a BPM Workspace instance is opened for processing? I would like to ensure that a form is opened only by one user at a time, and any attempt to open the form concurrently will result in the form presenting an error message and then closing itself.
Any ideas?
I am posting this on the SOA form as well, as it is the BPM Workspace. Kindly overlook if this is inappropriate.
JDev : 11g.
Thank you.

posting it here will help you for sure
Business Process Management Suite
SOA Suite

Similar Messages

  • How to use External Routing in Human Task

    Hi,
    Could you please help me knowing how to create External Routing in Human Task in SOA Composite.
    Thanks

    When defining the external routing class in the .task, you can define the name value pairs which you want to pass to the program. Here you can pass dynamic values to the class as well by reading the appropiate node from the payload. In your class the name, value would be available in the "Map propertyBag" parameters in Rajiv's example link.
    Document says:
    Map of properties — When an assignment service is specified, a list of properties can also be specified to correlate callbacks with backend services that determine the task assignees.Or if you are too lazy to map many parameters and values, you can always read the whole Task task and then use getDocument and some xml reading to determine the values. This Task is the whole document.
    API:
    http://docs.oracle.com/cd/E17904_01/apirefs.1111/e10660/oracle/bpel/services/workflow/task/model/TaskType.html#getDocument__Document says:
    Task document — The task document that is executed by the workflow. The task document contains the payload and other task information like current state, and so on.Also you need to make sure that you are maintaining the state of the assignment class, doc says:
    The assignment service class cannot be stateful because every time workflow services need to call the assignment service, it creates a new instance.Thus if you are doing multiple serial assignments one after the another and if your server restarts in between, then the approval would start at the first assignee again. Suppose in Rajiv's doc link e.g., if the task is assigned to 'wfaulk' and the server restarts then the task would be assigned back to 'jstein'. In order to prevent this you need to modify the java code and each time the variable changes it's value you need to place it in a dehydration store. Also on each action over the process you need to reinitialize the variable from that dehydration store.
    -Bikash

  • How to create tab pages in Human task Using Wizard

    hi,
    how to create tab pages in Human task Using Wizard.i need to display the personal details and the offical details in the same page with different tabs for each.it is possible to do lika this.if yes,how can we do this.
    Regards

    Stuart,
    Within a SAP Portal Tabs are not used like you want them to
    By default Tabs are used inside an iView and not to "tab" between iViews on a page...
    The most straightforward solution would be creating a custom PageLayout that you can assign to your page.
    I would sugest to implement this custom PageLayout with DIV layers and trigger "tabbing" via JavaScript eventing.
    For more infor on how to create a custom PageLayout take a look at here:
    [http://help.sap.com/saphelp_nw70/helpdata/en/42/efbac120711a71e10000000a422035/frameset.htm|http://help.sap.com/saphelp_nw70/helpdata/en/42/efbac120711a71e10000000a422035/frameset.htm]
    Good Luck,
    Benjamin Houttuin

  • 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

  • How can we modify the Task Priority in BPM workspace???

    How can we modify the Task Priority in BPM workspace??? Is it possible?? If so what is the best and easy way to implement this??

    Hi Chandra,
    First please find the job name in SM37 for FIGL and check the job status to be in "released" status. Select that job and go to job menu and click on change. then it will take you to the job screen where you have "job class". Here you can change the job class to "A" to get to high priority.
    If you are unable to edit the job then create a new job with the same variants by clicking STEP button in the Job screen.
    Try these steps, let me know if are able to do so.
    Regards,
    Ravi Kanth

  • How to fire diffent queries through Human Task

    hi',
    I am designing work-flow for my application where Sales Manager(Human Task) will get one order and it is up to him to approve or reject. I want to fire different queries for when he approve or reject, please guide me how to achieve this.
    thanks
    Yatan

    Usually when the user approves the task workflow API will be invoked and the response will initiate the BPEL process. If you want to fire different queries you may have to use ADF or use some external portal applications and jse java to call the work flow API's and complete the task.
    Steps:
    1. Add the workflow process activity in the BPEL process which initiate the task, this will generate the email notification. In this notification send the portal UI link.
    2. Once user access the link and approve in the back end all the workflow API's in your case you can fire other queries and then call the workfloe API's and finish the waiting the task to be complieted.
    Let me know if you have any questions.
    Thanks
    Ramana.

  • How to change the response of human task if we are using the skip rule

    Hi,
    We have developed the request workflow in OIM11g for this we are using the Beneficiary Manager approval composite to approve the request by his manager.
    We are using the skip rule in the human task component to skip the user if the requester is beneficiary manager.
    After the skip rule is executing the the request is going to failed state because of the response it is sending to the OIM
    The skip rule is working as expected but the response sending to OIM is COMPLETED instead of APPROVE.
    Please let us know the steps to change the response to Approve after the skip rule is executed or how to add the response COMPLETED in OIM.
    Thanks

    You will have to write a conditional block outisde the task where you would check if the skip condition is met and if yes then you will have to hard code the approved conditions into the payload for the task outcome.
    <assign name="SetAutoApproveConditions">
                            <copy>
                                <from expression="string('APPROVE')"/>
                                <to variable="ApprovalTask_1_globalVariable"
                                    part="payload"
                                    query="/task:task/task:systemAttributes/task:outcome"/>
                            </copy>
                            <copy>
                                <from expression="string('COMPLETED')"/>
                                <to variable="ApprovalTask_1_globalVariable"
                                    part="payload"
                                    query="/task:task/task:systemAttributes/task:state"/>
                            </copy>
                        </assign>HTH,
    BB

  • How to Update HUMAN TASK Payload SOA/BPM 11G

    Hi ,
    I need to update the Expiration time based on the escalation level for Human task .
    I trying to update the TaskExpiration time on the Java call back when onAssign activity is triggered.
    Even though the execution is successful the task will not be updated with new expiration time..
    Below is  the code snippet
    public class CallBackClass implements IRoutingSlipCallback , IDynamicTaskEscalationPattern {
        public CallBackClass() {
            super();
        public void onTaskAssigned(Task task, String string, String string1,String string2) {
            System.out.println("routing Slip: inside onTaskAssigned");
            System.out.println("Priority :" + task.getPriority());
            task.setPriority(1);
            System.out.println("TaskID :" + task.getSystemAttributes().getTaskId());
            task.setPriority(1);
            System.out.println("Updated Priority :" + task.getPriority());
            getTaskEscalationUser(task);
            System.out.println("Executed getTaskEscalationUser");   
           WorkflowUtil.getRoutingSlip(task.getSystemAttributes().getTaskId()).getGlobalConfiguration().getExpirationDuration().setDuration("PT3M");
    Please update your suggestion or suggest some API which van help me in fixing this task.
    Thanks in advance !!

    Hi:
    Take a look at this post: http://beatechnologies.wordpress.com/2011/08/24/
    Also here is the Oracle Doc: http://docs.oracle.com/cd/E12839_01/apirefs.1111/e10660/oracle/bpel/services/workflow/query/ITaskQueryService.html
    and:
    http://docs.oracle.com/cd/E17904_01/integration.1111/e10224/bp_worklistcust.htm#BHAHBHID
    Hope this helps.
    best
    rolando

  • How to use " External Routing " in Human Task (BPEL Process)?

    Hi All,
    Can anyone help me to provide any url or suggestion about "External Routing" in Human task?
    Thanks in Advance.
    Sharmistha

    Have you seen this? http://docs.oracle.com/cd/E21764_01/integration.1111/e10224/bp_workflow.htm#SOASE798 & this 11.1.1.5: BPEL External Routing
    Let me know if you need any other information.
    Cheers,
    Bikash

  • How to map Due date from Jdev to show in BPM Workspace

    Hello,
    Requirement:
    Due date of the human tasks(that are set in jdev) should be visible in BPM Workspace .
    I have added due date column in BPM workspace under process tracking and observed that the column is not reflecting the due date.
    I found in a blog that we can map the variables that are required as flex fields to the systemManagedAttributes and then use them in BPM Workspace. 
    In our requirement, we have date as an input variable, for due date if i use "By Duration" and give 2 days then the date due will the "date which we will give as input+2days". So to map that due date to the systemManagedAttributes, which variables do i need to map so as to reflect the due date in workspace.
    Please suggest any other ways of reflecting the due date of human task in BPM workspace.
    Thanks,
    Sravani.

    Hi Sravani,
    I admire your innovative solution using flex fields, but there is a simpler way to show the deadlines in the Workspace's task list.
    You can simply add the "Expires" column in the Workspace for your Inbox.  That way it will automatically show your human task's deadline in the Expires column and you can avoid going the flex field route.
    Dan

  • ORABPEL-30516 when open tasks content in BPM workspace

    I try to open content of tasks in BPM Workspace (http://localhost:7001/bpm/workspace/) and get error:
    ORABPEL-30516
    Token decryption failed.
    Could not extract information from Workflow context token.
    Ensure that the Workflow context is not corrupted and it was generated from one of the nodes in the same cluster.
         at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:205)
         at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:345)
         at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
         at oracle.bpel.services.workflow.query.ejb.TaskQueryService_oz1ipg_EOImpl_1035_WLStub.getWorkflowContext(Unknown Source)
         at oracle.bpel.services.workflow.query.client.TaskQueryServiceRemoteClient.getWorkflowContext(TaskQueryServiceRemoteClient.java:223)
         at sun.reflect.GeneratedMethodAccessor3350.invoke(Unknown Source)
    Caused by: ORABPEL-35011
    Unable to Decrypt data.
    Unable to Decrypt data.
    Check for corrupted encrypted data. Check installation/post-installation steps for errors. Check for errors during SOA server startup.
         at oracle.bpel.services.common.util.EncryptionService.decryptBytes(EncryptionService.java:139)
         at oracle.bpel.services.common.util.EncryptionService.decrypt(EncryptionService.java:111)
         at oracle.bpel.services.workflow.verification.impl.VerificationService.decryptString(VerificationService.java:2588)
         at oracle.bpel.services.workflow.verification.impl.VerificationService.getValuesFromToken(VerificationService.java:2620)
         at oracle.bpel.serv
    On another computer this tasks open well! I tried with diffrent browsers (Explorer, Firefox) and also get error? Have you any ideas about this problem?

    I know this is an old post, but it sounds like you're trying to use multiple factories to connect to BPM. I experienced a similiar issue when I initialized a handle on a factory in a class constructor. Later, in method within that class, I was using a context obtained via a different factory. This same error was thrown. I hope this makes sense.

  • How to format the URI for Human task worklist UI project?

    This information is not easily found, so I am posting it here:
    When you click on the Administration Tab of the Human workflow component in EM, It allows you to enter an URI for the TaskDetail page.
    If you Auto-generate the taskdetail page, the URI form has to be filled out as follows:
    Application Name =worklist
    Host Name=mymachine
    HTTP Port=8001
    HTTPS Port=0
    URI=/workflow/MCRT_UI/faces/adf.task-flow?_id=MCR_T_TaskFlow&_document=WEB-INF/MCR_T_TaskFlow.xml
    (Where the Project name is MCRT_UI and the TaskFlow.xml is named as indicated and is located in the WEB-INF directory.)
    HTH,
    Matt

    Hi,
    Thanks for the post. From your post , my understanding is as below. Kindly correct me if I am wrong.
    When we go for the URL,
    http://hostname:7001/integration/worklistapp
    we will get a predefined page like, we will have 'MyTask', and this will list out all the tasks assigned for that user.
    The above procedure, you have given, will it allow us to override this adf page. so that , as soon as we go to the url, we can see our OWN custom adf page?
    Thanks,
    Sabarisri. N
    Edited by: meenalingam on Dec 20, 2011 4:24 PM

  • How to add parameters to human task implementation in BPM process?

    Hi,
    I tried the BPM process tutorial Tutorial
    and at step "Implementing the User Task" 1. ("Click on the hello data object and drag it into the parameters panel") I encounter a problem.
    I cannot drag anything onto the parameter pane. I can send you a screenshot if that helps. The data object window also does not have the buttons it should have according to the image in the tutorial.
    I am using JDeveloper 11.1.1.6.0 (the tutorial uses 11.1.1.3) I don't know if thats a bug or if I missed something. I followed the tutorial step by step starting from "Creating the Process Model".
    thanks in advance
    Steffen

    Ok I finally figured it out by myself.
    This is a bug that sometimes occurs, several re-installs solved the problem.
    (However in the process also another bug appeared but in the end it installed without any of these two bugs)

  • How to dynamically assign assignee for human task?

    I tried to use xpath expression in task editor. Expression editor suggested me to use task schema and I could not use variables from process.
    I had selected systemMessageAttributes.textAttribute1 and created “Assign” activity to initiate the attribute. This does not work. When task is started assignee is empty and task is automatically completed.
    Does anybody used this feature?

    Hi,
    You can run the soa server in debug mode by adding remote debugging parameters in startWeblogic.sh of soa server and remote debug it to check problems.
    e.g.
    +#For Debug Port+
    +if [ "${SERVER_NAME}" = "soa_server1" ] ; then+
    +JAVA_OPTIONS="${JAVA_OPTIONS} -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=9023,server=y,suspend=n"+
    +export JAVA_OPTIONS+
    +fi+

  • How can i mark as default a user view for bpm workspace 11g

    Hi,
    well i got this issue, in my workspace i made a new view with a flexfield and i would like for that view to be the default one for one particular user
    thanks for watching, i would appreciate any question :)

    There is a document about customizing the inbox available here: http://java.net/downloads/oraclebpmsuite11g/Samples/bpm-CustomizingWorkspace/BPM-CustomizingWS.pdf
    You need to implement getColumnNames and getColumnDisplayName on your implementation of IBPMUICustomizations. If you only want it for a single user you would either need to hard code that user in there or look to an xml file or something to map users to columns.

Maybe you are looking for

  • File found but not opening with Quick VPN

    I can connect to my network from a remote computer using Quick VPN (At least I think I'm connected.  The Quick VPN box says connected at... )  I can look at the share folder and its files on the target computer behind the router (WRV200), but when I

  • Adobe XI trial failure on Mac (disk image couldn't be opened)

    I downloaded the Acrobat Pro Trial and after the download, it got stuck on "Extracting. This might take a while." In addition, a warning box appeared and stated, acrobatpro_11_web_WWMUI.dmg -error -4960 disk image couldn't be opened. I am running Mac

  • Null Pointer exception in Webshop

    Hi, We are facing a problem of null pointer exception in the webshop when opening the product details (only in case of handful of products and not for other products) from the hyperlink of the product in the basket. The product itself appears with sh

  • Bring back colored icons in Lion's side bar!

    Where can I complain to Apple about their gutting of icon identifiablity in Lion? I tried the 3rd party fix (Colorful Icons) and it was buggy. I uninstalled it. Too risky on the system level. Who's the brainiac at Apple who decided that gray standard

  • Apple Credit

    I don't know if anyone else has had this experience but here is mine. By the way, I have tried repeatedly to contact Apple about this with no luck whatsoever. Beware! And, if you are Apple, please contact me, I've tried to contact you and am getting