How to programmatically add user comment using human task data control

Hi,
We create the task form by using “create Task flow based on Human task”. I need to programmatically create and insert the user comment for the task. I know I need to create and insert a new element to the userCommentIterator that linked to the human task data control. But I could not get it work or find any related detail sample coding. Please help.
Thanks a lot,
Helen

post it in soa suite forum
SOA Suite
or bpel forum
BPEL
to get.. quick reply.

Similar Messages

  • How to programmatically add users to WLS 7

    Is there a way to programmatically add users to Weblogic 7? I'm building up a website
    and want to give my visitors an opportunity to register with the site.
    The code samples I found until now are not working
    cheers,
    michael

    Hi Guys,
    I too am looking for an answer to this very question. I too want
    users to be able to register and also be able to control access
    to the site based on the roles being assigned. So what I would
    like to do is create users and assign them roles so that the
    roles defined within web.xml could be used to control access to
    various parts of the site.
    Regards
    Vijesh
    "Brian Pontarelli" <[email protected]> wrote:
    >
    I had the same exact question. I would like to add users programmatically
    to the
    weblogic server and also programmatically control the authorization and
    authentication policies for these new users. Is this possible in WLS
    7.0?
    Previous interfaces for this type of thing are deprecated (mostly in
    the Realm
    stuff). There do seem to be some MBeans in the weblogic.management.security
    packages, however these are not accessible MBeans because they do not
    extend
    from WeblogicMBean and therefore can not be looked up via the
    weblogic.management.Helper class. Is there another way to get at the
    current
    implementation of these interfaces?
    Ponch
    "Michael" <[email protected]> wrote in message
    news:[email protected]..
    Is there a way to programmatically add users to Weblogic 7? I'm buildingup a
    website
    and want to give my visitors an opportunity to register with the site.
    The code samples I found until now are not working
    cheers,
    michael

  • How to programmatically add rectangle to a pdf file ?

    How to programmatically add rectangle to a pdf file ?
    There is several page pdfs, non-vector, black and white.
    Users are color blind and have disabilities.
    To train them, one adds a rectangle at a certain lower-left point and width,height specified for a page.
    The idea is to give the script the page and coordinates and size of rectangle to be added programmatically. Green rectangles are acceptable as the cones are most sensitive there.
    Also, additional feature to add bookmarks on the left in the order these rectangle data is provided to the script.
    The script could be "hard-wired" by a list of the rectangle coodinates, and page number, pasted inside acrobat and run or entered into acrobat in some way.
    Your script would help many disabled people who are distributed through out the world.
    Feel free to contact me by email if you wish.
    Dying Vets

    P.S.
    This rectangle does not have to be a full annotation rectangle which needs user,date and a lot of info.
    Something minimal like this would suffice
    1 0 0 RG % red for stroke color
    200 300 50 75 re
    As you can see that the native unit of the pdf file is the "point" having 72 in an inch.
    The file dpi would be given. However, one could assume that pixel for the rectangle lower-left and width/height are given.
    From the pixels and dpi, the points could be calculated if desired.

  • How to Implement Add User Functionality in ADF

    Hi,
    I already setup my web app to use ADF security and the sample user's and groups that I have created in jazn-data.xml is already
    functioning as expected.
    I just need to add the functionality on how to programmmaically add user in my weblogic internal LDAP realm
    and assign them to the currently configured user groups.
    This would be available to Admin Level user.
    Anybody has good site or link on how to accomplish this in my ADF Web Application?
    Thanks
    JDEV 11G PS3

    Hi Arun,
    Jdev Version 11.1.1.6.0
    I have one table already created in a hosted db.It has some columns namely Component,Manager,%CodeCoverage,TotalLines,Covered Lines.One manager has 5-6 components under him.
    What I want is to have a table having manager name and if I click on manager,it should show components under him with all the details mentioned above.
    I wanted to achieve it through tree table but don't know how to proceed

  • How do you add a Comment when editing document in Word for ipad?

    How do you add a Comment when editing a document in Word for ipad. I've subscribed to Office, so have full editing functions. Can Track changes etc in Review, but can't see how to add a marginal Comment.

    Comments, like they are in Numbers for OS X, are not really supported in iOS. Normally, they rely on a mouse-over to read them. Since there is no mouse on the iPad, it stands to reason they are not there.
    I believe Eric Ross's comments is more geared towards used said Numbers docs on iWork.com.

  • What are user parameters? and how can i add user parameter

    Hi Experts,
    what are user parameters? and how can i add user parameter and how can i add a user parameter
    HR_DISP_INFTY_NUM with value X?

    user parameters are used give reference grps and counntry grouping use SU3 tcode as amite said

  • Add user comments AXF TaskList

    Is there a way to add user comments to the AXF TaskList webtool? Currently the comments are sitting on the TaskViewer within the webtool. However this requires users to actually view a task on the Task List in order to access the Task Viewer which contain the comments at the bottom of the page. Is there a way to integrate the comments into a column that would be paired with the comments corresponding Task Number. I know in 11G this can be done easily. My company however is using 10G. I am trying to do this without modifying the BPEL Processes, I want to try and do it by modifying the JSP and Java files that make up the Task List.

    If you want to comment on Yosemite, go to the App Store and select the Yosemite link which is likely still in the Top Free list.
    You can then leave feedback there that everyone can read.

  • How to programmatically add af:setPropertyListener to CommandImageLink

    Hi All,
    My Requirement: programmatically add af:setPropertyListener to CommandButton
    I referred this post how to programmatically add af:setPropertyListener to CommandButton and followed the following code.
    Code:
    // create a value expression
    ValueExpression vx =
    elFactory.createValueExpression(elContext, "#{pageFlowScope.clockNo}",
    String.class);
    // set a default value if desired
    vx.setValue(elContext, clockNo);
    SetPropertyListener spl =
    new SetPropertyListener(ActionEvent.class.getName());
    spl.setFrom(clockNo);
    spl.setValueExpression("to", vx);
    // add the listener to the button
    newOpButton.addActionListener(spl);
    My Code:
    <af:commandImageLink id="editInsuraceDetLink"
    icon="/resources/images/Edit.jpg"
    iconPosition="trailing"
    rendered="#{not row.deleted}"
    action="addEndorsement"
    useWindow="true"
    inlineStyle="vertical-align:bottom;"
    partialSubmit="true"
    shortDesc="Edit"
    *actionListener="#{pageFlowScope.GetEndorsementTypeListener.execute}"*
    returnListener="#{GetEndorsementDetailsListener.execute}"
    windowEmbedStyle="window"
    windowModalityType="applicationModal"
    windowHeight="650" windowWidth="740">
    </af:commandImageLink>
    Action Listener - .GetEndorsementTypeListener.execute code:
    RichCommandImageLink a_button = (RichCommandImageLink) a_component.findComponent("editInsuraceDetLink");
    FacesContext fctx = FacesContext.getCurrentInstance();
    Application application = fctx.getApplication();
    ELContext elContext = fctx.getELContext();
    ExpressionFactory elFactory = application.getExpressionFactory();
    ValueExpression vx = elFactory.createValueExpression(elContext, "#{pageFlowScope.controlFlowName}", String.class);
    // set a default value if desired
    //vx.setValue(elContext, clockNo);
    SetPropertyListener spl = new SetPropertyListener(ActionEvent.class.getName());
    spl.setFrom(a_target.getEndorsementFor().toString());
    spl.setValueExpression("to", vx);
    System.out.println("From= "+spl.getFrom());
    System.out.println("To= "+spl.getValueExpression("to"));
    // add the listener to the button
    a_button.addActionListener(spl);
    I got the following output.
    From= Nominee / Appointee
    To= ValueExpression[#{pageFlowScope.controlFlowName}]
    Now my Problem is: the pageFlowScope variable ControlFlowName is not set.
    And also I got a *link*: https://blogs.oracle.com/vijaymohan/entry/usage_of_setpropertylistener_and_setactionlistener
    Whats wrong with my code. Is my problem related with above *link*.
    Please suggest me how to add SetPropertyListener programmatically.
    -Thanks
    Mohanraj

    Frank,
    This works:
            // create a value expression
            ValueExpression vx =
                elFactory.createValueExpression(elContext, "#{pageFlowScope.clockNo}",
                                                String.class);
            // set a default value if desired
            vx.setValue(elContext, clockNo);
            SetPropertyListener spl =
                new SetPropertyListener(ActionEvent.class.getName());
            spl.setFrom(clockNo);
            spl.setValueExpression("to", vx);
            // add the listener to the button
            newOpButton.addActionListener(spl);But, I am thinking you would have known about it before I posted it. I don't really know how it works, but it does.
    Can you help me reconcile between this, and what you said. Because what you said makes sense too.

  • How to make different users to use different Plan_Tables?

    How to make different users to use different Plan_Tables?
    I want each user use his own's Plan_Table. How to achieve this goal?

    qkc wrote:
    How to make different users to use different Plan_Tables?
    I want each user use his own's Plan_Table. How to achieve this goal?Which version of Oracle - if you're on 10g or later you are already (effectively) doing this.
    If not, then copy the 10g strategy back to your version; in outline:
    <ul>
    drop all existing plan tables
    create a table (but call it plan_table$) in the SYS schema (you may prefer to use SYSTEM) as a global temporary table on commit preserve rows
    create a public synonym plan_table for plan_table$
    grant select insert update delete on plan_table to public
    </ul>
    Look in $ORACLE_HOME/rdbms/admin/catplan.sql in a 10g version of Oracle to check how it's done.
    Each user gets a private (temporary) table in their temporary tablespace whenever they use the plan_table
    Their private data disappears when there session ends.
    Regards
    Jonathan Lewis
    http://jonathanlewis.wordpress.com
    http://www.jlcomp.demon.co.uk
    To post code, statspack/AWR report, execution plans or trace files, start and end the section with the tag {noformat}{noformat} (lowercase, curly brackets, no spaces) so that the text appears in fixed format.
    There is a +"Preview"+ tab at the top of the text entry panel. Use this to check what your message will look like before you post the message. If it looks a complete mess you're unlikely to get a response. (Click on the +"Plain text"+ tab if you want to edit the text to tidy it up.)
    "Science is more than a body of knowledge; it is a way of thinking"
    Carl Sagan                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to Check authorizations (user profiles) using eCATT?

    Hi All,
    Please tell me how to Check authorizations (user profiles) using eCATT?
    Thanks in advance.
    Regards
    Kalyani

    Hello ,
    Create a script for SU02 transaction in the SAPGUI mode, in the script move to the profiles tab and GETGUI the first profile and loop to all the profiles assigned to the user until you find your required profile.
    Other way is to identify the table where the profiles are stored and then create script using GETTAB , pass the user name and retreive all the profiles assigned to tht particular user, loop through profiles untill you find your required profile.
    Thanks & Best regards,
    Ajay

  • How do you add a comment box

    how do you add a comment box in iweb?

    There are 3rd party comment sites that can be added to an iWeb site for visitors to add comments: Disqus, Intensedebate and Echo are just 3 that are available.
    Guestbooks are another way for visitors to make comments primarily for your viewing but you can embed the comment page in a website like in this demo page: Guestbook.
    This is an example of the Disqus comments from Roddy's iWeb for Musicians site: Disqus Comment in a Scrolling iFrame
    OT

  • How to create the user on Internet Application Server(IAS) control console

    Hi All,
    My Client is asking me for How to create the user on Internet Application Server(IAS) control console 10.1.2( 10g release 2).
    If anyone have the document for How to Create the User on Internet Application Server (IAS) console 10g release 2 , then please send me the document and help me out from this Concern.
    Regards,
    Yadav@intelli.
    Edited by: 851080 on Apr 8, 2011 6:31 PM

    Are you using OID? Can you provide more details about your iAS environment?

  • 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

  • Dynamic list of user(s) in Human task activity.

    Hello Friends,
    Warm Greetings!!!
    Here is my query:-
    Can we have dynamic list of user(s) in human task for the same role. Request will flow to executive but based on some parameter it needs to go to different executives and this would be checked at run time.
    Please provide some clue or pointers for the same.
    PK

    ===========
    Assign tasks dynamically
    You can assign users, groups, and application roles dynamically using XPath expressions. These expressions enable you to dynamically determine the task participants at runtime. For example, you may have a business requirement to create a dynamic list of task approvers specified in a payload variable. The XPath expression can resolve to zero or more XML nodes. Each node value can be either of the following:
    Ref- http://docs.oracle.com/cd/E14571_01/integration.1111/e10224/bp_introhwf.htm
    ==============
    Either You can put a Xpath expression on Owner (open Human task from composite and see the General tab ) or you can have rule based assignment for users .
    Also in Xpath - Identity related functions can be found under - Identity Service Functions (from Functions drop down)
    Regards
    Rupesh Somani

  • How do I add a reminder for a future date in my reminders with the os 7

    How do I add a reminder for a furure date in my reminder?  I can't find a calendar anywhere in reminder so that I can select a date and then type my reminder.

    To do it manually, tap a blank line in the reminder app, enter a title, then tap the 'I' beside it to edit the entry with a date and time. Or, set up a reminder with Siri.

Maybe you are looking for

  • How does my family stream (not download) content using family sharing

    Hi, Our family previously used Home Sharing with an iTunes account on an iMac. We could pick up our family iPad and stream a movie from the iTunes shared library. How do I now do this with Family Sharing in ios8? - I can still stream like before as m

  • How I do to open a website created with iWeb in other computer

    Hi, My web site was created with iWeb last year in other computer, a dead MacBook. I have a copy of my web files created with iWeb, and moved to my new computer, iMac. Now I want to edit my web using iWeb, but I can´t find the way to open the files t

  • Has anyone had problems with receiving their ADVANCED BRAIN TRAINER CD rebate?

    I have called the number listed on the rebate form and cannot connect.  Their website also is not working.  I mailed the rebate on June 13. Post relates to: Palm TX This question was solved. View Solution.

  • Entries in custom table

    Hi, I have created a custom table zmm which has the fields matnr, werks and art. Is it possible to populate these fields from qmat table. Can I link this table to pick up the entries from qmat. The tables dont have a similar structure. thanks and reg

  • Cisco Prime ..unable to add switches

    Hi When i try to add a switch i get the following.... Add Device Failed! Device already exists in the current domain My SSH parameters should be ok they worj=k AND its not in the unknown devices group...ant ideas ? Steve