Setting the role name dynamically

Hi,
I have defined 4 roles in the application. In the workflow navigation, i have created a notification. How can i set the role name property of the Notification message dynamically so that as soon as the control comes to that notification, all the users in that role gets the notification message?
Thank you.

Hello,
Define a attribute which holds the value of one of the four defined roles.Then create some activity (with some defined function) which will select the role and assign to the attribute.
In the notification give the performer value as attribute name.
This will solve your purpose.
Kind Regards,
Kumar.

Similar Messages

  • Role in bpm when the role is dynamic (manager of the user)

    Hi,
    Regarding the bpm I face a case as below:
    I have a bpm which in one of its step a human task would be generated for the Manager of the user that initiate this process.
    Assume that I kept the username of the initiator on one of my variable how can I set the user's manager role?
    as in the bpm I just can set the role and in the mapping of bpm role to LDAP role I can not use the xpath or dynamic thin I can just can select the LDAP user or group.
    Thanks

    Try this:
    Go to the "XXX.task" file of your user screen, you can find it in the structure tree on the left panel inside the "SOA Content" directory of your main project.
    You will see a serie of tabs in the left side of the new window. Go to "Assignment".
    There you will see a default.DefaultPerformer inside a box. Click on it and the on the pencil icon to edit it.
    In the new window you can add the participants using the "by name" or the "by expression" option. If you have the username stored in a variable, you can use it here to dynamically assign the task.
    Hope this helps.
    Let me know if this doesnt work.

  • Set the column name of a table in a list box

    is there any code to set the column name of a table in a list box at oracle devloper 6i?
    pls help.

    I dont want to go for pl/sql . It should work any table.You want Dynamic SQL without using PL/SQL? Tricky. I'm sure there's a possible way using some very complex and convoluted XML functionality of SQL but in reality you are asking for something that isn't natural to SQL queries, especially if you are expecting a dynamic number of columns to be produced for each row of data. SQL expects a table structure, including output formats, to be a defined number of columns with any number of rows, not a defined number of rows with any number of columns.
    Perhaps if you explain why you need this sort of functionality then we may be able to offer a better solution.
    ;)

  • Setting the Roles in SAP

    Hi,
    I am integrating SAP with IDM. I have developed a code to create the user in SAP and at the same time trying to set the roles and timezone to the user. There is no problem in creating the user object. But, Roles and timezones are not set in the user object.
    I need your help in setting up the values in SAP...
    Thanks
    Ilayarajan

    Nikhil,
    As you suggested, I have created an object to set the roles in SAP.
    <Object name='SAP'>
    <Attribute name='activityGroups' value='ROLE1'/>
    <Attribute name='fromDate' value='07/15/2007'/>
    <Attribute name='toDate' value='12/31/9999'/>
    </Object>
    * 'activityGroups' is the resource mapping variable. I am using this code snippet in my provisioning WF. But, the vaue is not setting in the SAP.
    Could you Pls, tell me what changes I have to make to set the Roles in SAP.
    Thanks
    Ilayarajan P

  • How to set the charset encoding dynamically in JSP

    Is there any way to set the charset encoding dynamically in a JSP
    page?
    we are using weblogic 6.1 on HP unix.
    is there some way we can set the charset dynamically in the page directive
    <%@ page contentType="text/html;charset=Shift_JIS" %>
    and in MAET tag
    <meta http-equiv="Content-Type" content="text/html" charset="Shift_JIS">
    Saurabh Agarwal

    Dear Saurabh,
    I guess it is possible. Here is an example I have made some time ago :
    In my html page :
    <form name="form1" METHOD=POST Action=Lang ENCTYPE="application/x-www-form-urlencoded" >
    <p>
    <select name="code" size="1">
    <option value="big5">Chinese</option>
    <option value="ISO-2022-KR">Korean</option>
    <option value="x-euc-jp">Japanese</option>
    <option value="ISO-8859-1">Spanish</option>
    <option value="ISO-8859-5">Russian</option>
    <option value="ISO-8859-7">Greek</option>
    <option value="ISO-8859-6">Arabic</option>
    <option value="ISO-8859-9">French</option>
    <option value="ISO-8559-1">German</option>
    <option value="ISO-8859-4">Swedish</option>
    <option value="ISO-8859-8">Hebrew</option>
    <option value="ISO-8859-9">Turkish</option>
    </select>
    </p>
    <p>
    <textarea name="entree_text"></textarea>
    <input type="submit" name="Submit" value="Submit" >
    </p></form>
    and in my jsp :
    // Must set the content type first
    res.setContentType("text/html");
    code = req.getParameter("code");
    example = req.getParameter("entree_text");
    PrintWriter out = res.getWriter();
    // The Servlet send to the Browser the informations to format the language type
    out.println("<html><head><title>Hello World!</title><meta http-equiv=\"Content-Type\" content=\"text/html; charset="+code+"\"></head>");
    // System recover the general Character encoding
    String reqchar = req.getCharacterEncoding();
    out.println("<body><h1>Hello MultiLingual World!</h1>");
    out.println("You have defined an ISO of : "+code);
    out.println("<BR>This is the code of the page that is displayed in this page<BR>");
    out.println("<BR>");
    out.println("<BR>");
    out.println("Character encoding of the page is : "+reqchar);
    out.println("<BR>This is the character code in the Servlet");
    out.println("<BR>");
    out.println("<BR>");
    out.println("<BR>");
    out.println("You have typed : "+example);
    out.println("<BR>");
    out.println("");
    out.println("</body></html>");
    I think starting from this example it is surely easy to modify dynamically the jsp.
    The other possibility would be to use the Weblogic Commerce and the LOCALIZE function, so that you'll have an automatic redirection to the right jsp-encoding depending on the customer's language.
    Feel free to reply on the forum for any related issue.
    Best regards
    Nohmenn BABAI
    BEA EMEA Technical Support Engineer
    "Saurabh" <[email protected]> a écrit dans le message de news: [email protected]...
    Is there any way to set the charset encoding dynamically in a JSP
    page?
    we are using weblogic 6.1 on HP unix.
    is there some way we can set the charset dynamically in the page directive
    <%@ page contentType="text/html;charset=Shift_JIS" %>
    and in MAET tag
    <meta http-equiv="Content-Type" content="text/html" charset="Shift_JIS">
    Saurabh Agarwal[att1.html]

  • How to pass the table name dynamically in xml parsing

    Hi All,
    I have created one procedure for parsing xml file which is working perfectly.
    FORALL i IN t_tab.first .. t_tab.last
             INSERT INTO Test_AP VALUES t_tab(i);Now I want to put the table name dynamically+. For that I have added one query and modify above code as follow:-
    I have already declare dml_str varchar2(800) in declaration part.
    Query is as follows:-
    select table_name into tab_name from VERSION_DETAILS where SUBVERSION_NO=abc;  -- here abc is variable name which contains values.
    FORALL i IN t_tab.first .. t_tab.last
              dml_str := 'INSERT INTO ' || tab_name || ' values :vals';
              EXECUTE IMMEDIATE dml_str USING t_tab(i);But it's not working. How I will resolve this or through which way I achieved the intended results. Anyone can guide me on this matter.
    Thanks in advance for your help...

    Hi,
    But it's not working.Don't you think it would help to give the error message?
    Put the assignment before FORALL.
    FORALL only accepts one subsequent DML statement (static or dynamic SQL) :
    dml_str := 'INSERT INTO ' || tab_name || ' values :vals';
    FORALL i IN t_tab.first .. t_tab.last          
    EXECUTE IMMEDIATE dml_str USING t_tab(i);

  • How to configure the schema name dynamically based on user input.

    configure the schema name dynamically based on user input.
    For ex:
    We have two schemas:
    Schema1  - base schema having 15 tables.
    Schema2 -  tables which is specific to modules. Having only 10 tables which is also available in Schema1
    Login to application using Schema 1
    Access a particlular module and select the country. Here country selection is identified.
    Based on the country selection, we need to connect the schema respectively.
    If the user selects France --> It should connect Schema1
    If the user selects Germeny --> It should connect schema2.
    Used: Eclipselink

    You may want to have a different persistence unit for each country, then you just need to switch persistence units, and can put the schema in your orm.xml file.
    You may also want to investigate EclipseLink multi-tenant support,
    http://www.eclipse.org/eclipselink/documentation/2.5/jpa/extensions/a_multitenant.htm
    You can the schema in a persistence unit in code using a SessionCustomizer and the tableQualifier.

  • How to get the role name in which query is published ?

    Hi Experts,
       Is there any table where i can get the name of the role in which a particular query is published. I know that if i have a role , i can check in pfcg giving that role name and in menu tab i can see all the queries published under that role. But if i know query but not role how to get the role name . Is there any table or functon modules or programs to get the information.
    Thanks & Regards
    Vamsi Kiran

    Check this table
    AGR_HIER

  • Export Indd to EPS/JPG and set the file name  for EPS/JPG file

    Hi,
       When I export the INDD to JPG/EPS, I want to set the file name with pageNumber  for JPG/EPS files using javascript.
    For Example
    If I set the file name as EPSFile.eps, after exporting the indd(with 2 pages) to eps
    ,files are generating in the following name EPSFile_1.eps, EPSFile_2.eps.
    but I want to set the file name as EPSFile_001.eps and EPSFile_002.eps using javascript.
    anyone knows please reply for this.
    Regards,
    Mubeen

    Hi,
      I tried the following code.
    var JPGe = new File("Applications/PDF/JPG/file.jp");
    app.activeDocument.exportFile(ExportFormat.jpg, );
    when I use this code ,exported jpg file names are
    file.jpg, file1.jpg,file3.jpg.
    but ,I want the output file names as file_001,file_002,file_003,
    Thanks,
    Mubeen

  • Setting the display name in a message

    Hello for the following code:
    String from = "[email protected]";
    Message msg = new MimeMessage(session);
    msg.setFrom(new InternetAddress(from));
    I'd like to set the display name, i.e.
    "A Message From Foo"
    However I did not see a msg.setDisplayName() method... is there any way to do this?
    As a working example, amazon sends an email with a return address of [email protected], but the display name is 'Amazon Payments' which looks a lot nicer for the customer. I'd like to do the same.
    Thanks

    Solution is:
    new InternetAddress(email_address, display_name);

  • Getting the column names dynamically

    hi gurus,
    i have list item populated with many table names from a schema.
    i have grid in oracle forms 10g and i want to fill the grid with the data that should come at least four/more columns.
    i want to fire the list change trigger when each time any one table name is selected/changed.
    how can i get the column names dynamically
    please give me the step by step process
    for filling the grid..

    hi ,
    by getting column names dynamically i am creating a record group
    using this below query
    SELECT COLUMN_NAME, DATA_TYPE FROM USER_TAB_COLUMNS WHERE TABLE_NAME = <table_name>
    but when timestamp datatype is there then it is showing error cannot create group groupname
    but the record group is running successful on varchar2,number,date dayatypes
    if any alternative is there i mean to say without using record group then tell me or where is the problem

  • Want to suppress "Setting the user name and passwwdd"

    Does anyone know how to suppress the
    "Setting the user name and passwwdd login password" line that comes out on stdout
    when using OracleConnectionCacheImpl and
    the thin driver?
    Thanks,
    Chesla

    This is bug 1317673
    null

  • OracleConnectionCacheImpl - "Setting the user name and passwwdd"

    Does anyone know how to disable (or suppress, or redirect) the message...
    "Setting the user name and passwwdd"
    ... when using OracleConnectionCacheImpl?
    null

    This is bug 1317673
    null

  • Setting the id names in a datatable

    is there a way to control the names of the id fields of individual elements in a datatable?
    I need to call a website I have no control over. This website is expecting variable to be in the http request using 'POST'. The variables names are VARCNT0,VARCNT1,....,VARCNTn -VARFLE0,VARFLE1,.....,VARFLEn. where n is variable depending on a previous choice.
    Is there a way to force Java Studio or JSF to set the variable names as such instead of form1:dataTable1 :1:VARCNT, form1:dataTable1 :2:VARCNT, .... ,form1:dataTable1 :n:VARCNT
    Thanks,
    Kevin

    Giri,
    I need to call a url that is outside my server. This url expects the input to be a part of the post request. I want to capture the data that I post to this site in my database. I will show the response in an iframe within my site. The input variables for the site I am calling need to be VARCNT0 ... VARCNTN , VARFLE0...VARFLEN and VARTTL0...VARTTLN. Can this be done or am I going to have to add some sort of filter ? How can I after processing the event pass the post request to a url outside of my website. Does this make sense?
    Kevin

  • How to set the snc name to abap server with IDM?

    HI all:
         I want to set the snc name from IDM , but I didn't konw  which attribute that I would be set.
    I there anyone konw this?
    thanks!

    Hi Shi,
    I'm guessing you don't know which attribute in the MX_PERSON class contains it?
    If this is what you meant, then there isn't a default attribute for that, you can either create one manually or let the synch process create it by enabling "automatic attribute creation" setting for the Identity Store.
    Eric

Maybe you are looking for

  • Unable to send or receive mail through wifi

    Hi all I am on my schools wifi network and I an unable to send or receive any mails through this network. I am able to browse the net on this network but this mail app is giving some problems. These mails work absolutely fine on edge or my home wifi

  • Can not copy any file or empty the trash

    Hello, I'm using a Macbook (white) with OSX 10.6.4 and am having an extremely annoying problem which has three symptoms: 1. I *can not empty the trash* (safely or not) at all. 2. I *can not copy any file*, anywhere. 3. I *can not move anything to the

  • Standard report to see open delivery quantity

    Hi, Is there any standard report to check the open delivery qty?I mean,if I am having a sales order of 100 qty and I have issued 25 materials then the remaining 75 qts report needs to be viewed.Is there any standard report showing-- SO No   Delivered

  • Can't get ACS5.1 to join AD 2003

    I have an acs 5.1 eval VM appliance that I am testing and I can not get it to join the domain. I have been running two ACS4.1 windows servers for years. The popup error that the ACS gives is when you press the "Test Connection" button is: Error while

  • The requirement to view online Oracle Form?

    Hello there, I am trying to view an online Oracle Form from an Oracle Form Server. As I know that, IE browsers with JVM support should be able to open the form and view it. But I am not so sure which version of the IE browser is able to do that. What