Using systemMessageAttributes in BPEL Human Task

Hi All,
How can I use systemMessageAttributes: task:textAttribuite1 in human task.
After creating a HT in BPEL, I am setting its outcome - rejecting or approving the task- using worklist Java API.
Along with that I want to set the textAttribuite1 through API and then use these attributes inside the corresponding BPEL process after the task is completed?
I tried using
taskimpl.getSystemAttributes();
SystemMessageAttributesType sysMessAttType = taskimpl.getSystemMessageAttributes();
sysMessAttType .setTextAttribute1("check");
After retrieving the task using taskId, however I am unable to set these attributes.
Please let me know!
thanks,
CD2006

There are two check boxes that have to be checked to get this feature working. One is under the first advanced tab of the human task wizard icon (green thingamajig). The second is in the human task editor itself again under the advanced area. Check them both.
I found that when the first one was check it expanded the bpel code in the human task process to show the new messages. They didn't actually get invoked until I added the second checkbox.
To date I still only see the onUpdate and onCompletion messages get invoked (there are four possible).
hth.

Similar Messages

  • BPEL Human task Tutorial 10.1.3.5 SOA

    Hi,
    I have been tasked with setting up an example of BPEL human task workflow working on SOA application server 10.1.3.5.
    Does anyone have any examples of this? I would prefer something that is stand-alone and not dependent on other creations or deployments. I found one for 11g however I need to have it used on SOA app server, not WebLogic. I wouldn't mind following this guide below, but I am unable to find out how to use JDev11g to deploy on SOA 10g app server.
    http://download.oracle.com/docs/cd/E12839_01/integration.1111/e10275/intro.htm
    Thank you for any help / support.
    Mike

    Hi,
    Thanks for that. In here is what I found on the web also, OrderBooking which is a large application. The 11g example just streamlines the process with just the BPEL "human task" example which is what I was tasked to do.
    Thanks though

  • 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

  • Using Physical Databse In Human Task Of A BPEL Process

    Hello Fnds,
    I am Bhanu Teja,While creating a Human Task,we get a dialog box,"Identity lookup dialog",I want to get list of users from Database.....I want to know is this is possible,if so can anyone guide me how to do it.I am using 10.1.3.1 version of SOA suite...
    Regards,
    Bhanu Teja
    Edited by: user10998866 on Apr 11, 2009 12:43 AM

    Hi Bhanu Teja,
    i am also working on the same. But I want the users in the dailog come from the OID. Do you know where the users come from the OID Server. I want to know what the filter it applies to show the users in the dailog box.
    Its a bit urgent for me. could you please reply soon.
    Waiting for your reply.
    Thank you,
    Siva.

  • Missing Task Outcomes in ADF Project for BPEL Human Task

    Hi
    I am using SOA Suite 11g (11.1.1.5) and have created a Human Task in my composite application and then auto-generated the appropriate task form using the wizard which has been successful and created the ADF project.
    My task has 3 outcomes the responses of which are then mapped out in the BPEL process.
    When the human task is raised it puts a notification in the BPM worklist as expected however the 'Actions' list on the notification is blank? I was expecting there to be 3 values in the Actions list one for each of my outcomes.
    I have tried re-building the ADF project from scratch from the task flow but still no joy.
    I have not changed the ADF project over its default.
    My next step is to look into the binding on the Actions picklist but I thought this was standard functionality and that the wizard handled this at the point of form generation.
    Any assistance greatly appreciated.

    Hi
    I am using SOA Suite 11g (11.1.1.5) and have created a Human Task in my composite application and then auto-generated the appropriate task form using the wizard which has been successful and created the ADF project.
    My task has 3 outcomes the responses of which are then mapped out in the BPEL process.
    When the human task is raised it puts a notification in the BPM worklist as expected however the 'Actions' list on the notification is blank? I was expecting there to be 3 values in the Actions list one for each of my outcomes.
    I have tried re-building the ADF project from scratch from the task flow but still no joy.
    I have not changed the ADF project over its default.
    My next step is to look into the binding on the Actions picklist but I thought this was standard functionality and that the wizard handled this at the point of form generation.
    Any assistance greatly appreciated.

  • Problem in BPEL Human task

    I am developing the BPEL process in jdeveloper11g. I used Human task for serial approvers.
    When I test the service I was able to see the Recive and Callback of human task.
    I want to Invoke partner link (used for DB adapter) whenever first approval approves the task . So that I can update the status of current approval as approved ( second approval status should be Pending), after approving from second approver only the second approver status should be updated as approved.
    but the procedure of updating status i.e.. Invoking partner link is executed after approved by all approvals.
    Please let me what I am missing.
    Thanks in advance.
    Sandeep.

    I am using Invoke activity to retrive data from data adapter . After that I am using While activity to iterate from the retrived data. And in While activity I placed Assign activity along with Invoke Activity to update retrived data.
    but here insted of iterating from each record it goes infinite loop.
    I have given "true () " as expression for While activity.
    please let me where I am missing. Please its very urgent.
    Thank you.

  • 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

  • Bpel human task custom jsp not run

    hi i am use bpel 10.1.3.1 and oas 10.1.3 made a simple bpel process with a human task but the custom jsp generated not run from the url , and i recieve that message
    "Servlet error: An exception occurred. The current application deployment descriptors do not allow for including it in this response"

    The issue was with the way I was passing parameters. I was passing the the task namespace in update mode which is not required.

  • Can I build an user Interface using a proccess with Human Task?

    Hi,
    I'm building an application, web application, with a several screens. The application just will be used for entering some data and depending on the data entered, some bpel process will be launched.
    I'm thinking about implementing a MVC using a BPEL Process with Human Task. I mean: I'll make everything with bpel process (*including the application*). I would make a bpel process with some human task. This process would be like a Spring Webflow file or similar. Each screen wouldl be a human task but with synchronus nature. Will it be possible? Will it be so complicated? Is it usual?
    Other way would be making a web application to enter data and then launch a proccess that will record the information in the database. That would be the normal way.
    Thank you so much.

    Hello,
    There's a more powerfull solution you may use.
    You can create a View. Some Views can be updatable (it means that it's possible to update
    the Table from the View) and, you can add constraints (Primay Key) on a View.
    For instance:
    CREATE OR REPLACE VIEW {color:red}User2.view_name{color}
    ({color:red}col1{color}, {color:red}col2{color}
    UNIQUE RELY DISABLE NOVALIDATE,
    CONSTRAINT {color:red}pk_view{color}
    PRIMARY KEY {color:red}col1{color}) RELY DISABLE NOVALIDATE
    ) AS
    SELECT {color:red}col1{color},{color:red}col2{color} FROM {color:red}User1.Table1{color};This example is from the link bellow:
    [http://www.psoug.org/reference/views.html]
    Hope it can help.
    Best regards,
    Jean-Valentin

  • Invalid XML Document in BPEL Human Task - TaskService

    Hi Experts
    I am getting the following run time error in BPEL console in my bpel process which has got a human task.
    ==================================================================
    Invalid xml document.*
    According to the xml schemas, the xml document is invalid. The reason is: Error::cvc-datatype-valid.1.2.1: '' is not a valid value for 'dateTime'.*
    Error::cvc-type.3.1.3: The value '' of element 'expirationDate' is not valid.*
    Please make sure that the xml document is valid against your schemas.*
    ==================================================================
    BPEL console is validating all incoming and outgoing XML document against the relevant schema since the configuration property, validateXML has
    set to strict in the BPE console domain, which it has to be.
    This complain is regarding the element expirationDate in the response message of the human task, which cannot be explicitly set in the bpel process.
    Please help me to resolve this issue.
    Thanks
    Jamith

    Hi
    This has been escalated to Oracle and has been identified as a bug.
    Anyway, can you please explain bit more about you workaround?
    Thanks
    Jamith

  • Configuring Callbacks in BPEL Human Task

    Hi,
    I'm trying to configure a callback on OnTaskAssigned ,OnTaskUpdated in human workflow.
    I defined my custom java class implementing IRoutingSlipCallBack Interface (I also tried with ITaskServiceCallBack) in the .task file and also enabled callback in BPEL activity.
    I tried modifying some attributes (like title and comments) of the task to see if my callbacks are really being called. however i see no changes made by me are reflected.
    Am I missing some steps here ?
    Thanks in advance
    Pradeep

    There are two check boxes that have to be checked to get this feature working. One is under the first advanced tab of the human task wizard icon (green thingamajig). The second is in the human task editor itself again under the advanced area. Check them both.
    I found that when the first one was check it expanded the bpel code in the human task process to show the new messages. They didn't actually get invoked until I added the second checkbox.
    To date I still only see the onUpdate and onCompletion messages get invoked (there are four possible).
    hth.

  • How to configure "permitted actions" on bpel human task

    Hi,
    I trying to call suspendTask at human task from bpel. I get this message
    "Permitted actions are: [VIEW_SUB_TASKS, VIEW_PROCESS_HISTORY, RESUME, VIEW_TASK, WITHDRAW, VIEW_TASK_HISTORY]"
    Where i configure this "permitted actions" ?
    Thanks
    Victor Jabur.

    Go to the composite editor -> open the human taskflow component --> Access Tab ---> Actions ---> Give the access to the Approver
    Ajay

  • How BPEL human task becomes to state 'Withdrawn'

    All,
    what causes human task to go to 'Withdrawn' state. The reason i know is deleting associated bpel process.
    Are there any other events which causes this ?
    Regards,
    Praveen

    Go to the composite editor -> open the human taskflow component --> Access Tab ---> Actions ---> Give the access to the Approver
    Ajay

  • BPEL Human Task: how to remove task details section from notification email

    This is concerning the human task component of SOA Suite 11g. Upon task assignment, the assignee receives an email notification with an administrator configured text. Below this text the task details are automatically added. How can this be removed? Marking the notification as 'secure' also removes the administrator configured text. But that I'd like to keep. Only the automatically added task details section needs to go. Any hints?

    This configuration is available in the following navigation. Workflow Administrator Web Applications > Oracle Applications Manager > Workflow Manager > Service Components > Workflow Notification Mailer > Edit > Advanced > Message Generation section > Templates. You can refer to the "Oracle Workflow Administrator's Guide" > "Modifying Your Message Templates" for more information.
    Please note that this applies to ALL the outbound notifications, not specific for Purchasing notifications.

  • "request more info" "Submit info" in bpel human tasks functionality

    Hi all
    i have a 5 steps approval process. We want the task to return to first approver from any of these steps. For example if the 3rd approver sends it back, the 1st approver will have the task again and when he/she approves it will go on with 2nd approver in the next step (not the 3rd one)(1-->2-->3-->1-->2-->3-->4...). So i thought that "request info" will fit this requirement but it returns to the 3rd one after info is submitted by 1st one(i checked reapproval needed).
    So do you know if it is a bug or expected behaviour? And what else can you suggest to provide a solution?
    Thks

    any solution or idea?

Maybe you are looking for