Set  variable with property userName of the user

I'm working with 11g
I have a initiator human task with the "author" variable ( and the corrisponding form have a string box "Author")
I must define the default value with the userName ( the name of the user that start a process instance )
I posted a script task before the initiator human task, but I do not know what value to assign.
Can I recover this value from the realm? how?
Thanks
Elena

I resolve in this mode
I have used script box before human task box and I have set the variable in ora:getCreator().
Elena

Similar Messages

  • How to set the item property to restrict the user to not to copy from above

    Hi Guru's,
    I have a requirement like, There were two items on the form name email Id, Confirm email Id.
    I have to ristrict the user to not to copy from email Id item.. make him/her to enter the value into confirm email id item field manually.
    How to set the item property to restrict the user to not to copy from above item and paste it in this item.
    Please help.
    Thanks!!

    Just an opinion here, but that is about the dumbest requirement I have ever seen.
    I am always annoyed by web sites that ask me to enter my email twice. I ALWAYS copy the email address from the original entry and paste it into the second one.
    People enter their email addresses so often, it takes a real klutz to not get it right. And what makes you think that if they enter it twice, that they won't enter it wrong both times anyway???

  • Take a workflow variable and copy it to the user's clipboard

    I'm looking for the means to have a workflow take a variable and copy it to the user's clipboard. Is this possible?
    Cheers,
    Mark
    SharePoint 2013 Online
    Learning SharePoint

    Hi Mark,
    From your description, you have used workflow to copy the URL into a column.
    Then I recommend to use JSLINK to add a button to the list view and copy the URL from the column to the clipboard when clicking the button.
    Here is the code for the js file and please use it in Internet Explorer(the code only works in IE):
    (function () {
    var overrideCtx = {};
    overrideCtx.Templates = {};
    overrideCtx.Templates.Fields = {
    'URLColumn': { 'View' : CopyButton }//change the column to the internal name of the column which you copy the URL to.
    SPClientTemplates.TemplateManager.RegisterTemplateOverrides(overrideCtx);
    function CopyButton(ctx){
    var value =ctx.CurrentItem["URLColumn"]
    var html="";
    if(value!="")
    {var html= "<div><span id='copytext'>"+value+"</span><button type='button' onclick='copy();'>Copy</button></div>";
    return html;
    function copy(ctx){
    if (window.clipboardData && clipboardData.setData)
    var s=document.getElementById("copytext").innerText;
    clipboardData.setData("Text", s);
    After writing the js file, you need to upload the file to SharePoint and then refer to it in the list view web part.
    http://www.learningsharepoint.com/2012/08/03/sharepoint-2013-using-js-link-to-add-javascript-to-listviewdataview-webpart/
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • My iphone is blocked and I am being told to pluig it in to itunes but the itunes it was set up with is not recognizing the device - can anyone help?

    My iphone is blocked and I am being told to plug it in to itunes but the itunes it was set up with is not recognizing the device - can anyone help? 

    I also live in the United States so redownloading shouldn't be a problem.

  • TS4002 I have opened iCloud from setting on my iPhone, it accepts the user and pwd  but then freezes at the terms & conditions page

    I have opened iCloud from setting on my iPhone, it accepts the user and pwd  but then freezes at the terms & conditions page

    Try deleting the account, then signing back in.

  • To set a default role according to the user.

    Hi,
    I would like to set different default roles according to users. For example, we have the following prerequisites:
    1) 3 roles: roleA | roleB | roleC (in this order).
    2) 3 differents users: user1, user2, user3.
    So, if I log-in with the user1, the default role should be the roleA; if I log-in with the user2, the default role should be the roleB; and so on.
    But I don't want to change the order of the roles using "sort priority" property.
    How can I do this?
    Thanks,
    Samantha.

    Hello Samantha,
    Does each of the users need to have each of the roles? If not you could just not assign the other roles except the one you want to display as default role (a assume you mean the role that is displayed first after logon).
    If each of your users need every role, I am afraid your requirement is not realizable unless you use the sort priority property. Why don't you want to use it in the first place?
    On possible yet circuitous way to meet your requirements would be the following:
    Create another role for each of your user(-group)s. Say in your case Role 1, Role 2 and Role 3 which are not defined as entry points.
    Assign roleA, roleB and roleC to Role 1 where roleA has the lowest sort priority; and assign user1 to role 1.
    Assign roleA, roleB, roleC to Role 2 where roleB has the lowest sort priority; and assign user 2 to Role 2
    and so on.
    Of course you need to use sort priority for that and I think thats hard to maintain. (probably not even what you are looking for)
    Maybe you can get a litle more concrete what you are trying to achieve.
    best regards
    Stefan

  • Set a default LDAP domain if the user does not specify one during logon

    We are using LDAP authentication. We have setup the repository to have 3 LDAP servers, with the following domain identifiers: PUBLIC, AGENT, CORPORATE. We would like to default the domain to PUBLIC for external users, so they do not need to provide a domain. AGENT and CORPORATE users would still specifiy the domain. Is there a way to do this? I've tried setting the USER variable in an init block using the following sql.
    Init block 1 - populates the USER session variable to prepend with PUBLIC if not specified
    select (CASE WHEN substr(':USER',1,instr(':USER','/')-1) is NULL then 'PUBLIC/'||':USER'
    ELSE ':USER'
    END)
    from dual
    Init block 2 - LDAP authentication - populates the EMAIL and UID session variables
    mail = EMAIL
    uid = UID
    Because I've defined the USER variable in the previous init block, I can't return the uid into the USER variable. This caused it to think that authentication was successful, and it allows you to login with valid LDAP users, but it will take any password you provide.
    ideas?

    Yes, I have done that. I have removed all other init blocks, and now have just the two. Init block 1 - set the value of the USER_TEMP variable, and init block 2 - the authentication init block. The authentication init block is marked as required for authentication, and the other init block must precede it. It is still allowing a user to login successfully under PUBLIC, when they are not a public user. If I explicitly login as PUBLIC/<user> it fails, as I would expect. But when I login as <user> it is successful. Which is not correct. I've checked in Answers that the variable USER_TEMP is being set to PUBLIC/<user>. So, I'm still confused as to why the LDAP init block is allowing it to go through.
    Edited by: user10603068 on Jun 9, 2010 7:26 AM

  • How do I get the value of a resource property stored in the user object?

    I need a way to get to the myflag property on the resources in an object
    I have been trying to get to it by first getting the user object...
    but how can I get to the properties them self?
    If the following is the user object and I need to refer to the different myflag properties in a form?
    What I want to do is to make the system NOT change password on accounts where the myflag is set to true
    Anyone that could point me right here?
    I use the following code to get the userObj in the form...
          <Field name='userObj'>
            <Derivation>
              <invoke name='getObject'>
                <ref>:display.session</ref>
                <s>User</s>
                <ref>resourceAccounts.id</ref>
              </invoke>
            </Derivation>
            <Disable>
              <isnull>
                <ref>resourceAccounts.id</ref>
              </isnull>
            </Disable>
          </Field>And the resulting userObj looks like this
    <!--  MemberObjectGroups="#ID#Top" hasCapabilities="true" id="#ID#BAF7-:882E9B73531:87D587F7-:726EA99B2E0A89CD" name="43725"-->
    <User id='#ID#BAF7-:882E9B73531:87D587F7-:726EA99B2E0A89CD' name='43725' creator='Nnnnn' createDate='1328101309098' lastModifier='Nnnnn' lastModDate='1352128262380' lastMod='71' repoMod='1352128262383' primaryObjectClass='User' password='xxx' lastPasswordUpdate='1352128195038'>
      <Services>
        <ObjectRef type='Resource' id='#ID#DC98A0E2B99AE627:1A6684F:10F96310B9F:-7FE1' name='Xolid'/>
      </Services>
      <PasswordExpiration>2012-11-04T15:09:55.038Z</PasswordExpiration>
      <ResourceInfoList>
        <ResourceInfo accountId='cn=S43725,ou=Xolid Users,ou=User Accounts,dc=adxx,dc=xxx,dc=net' accountGUID='&lt;GUID=3c020b6e1c253d45808fc47889201c4a&gt;' tempId='dc98a0e2b99ae627:-3984a159:139b34ea14f:-4c10' created='true' lastPasswordUpdate='1352128262115'>
          <ObjectRef type='Resource' id='#ID#DC98A0E2B99AE627:1A6684F:10F96310B9F:-7FE1' name='Xolid'/>
          <ResourcePropertyValues>
            <Map>
              <MapEntry key='myflag' value='false'/>
            </Map>
          </ResourcePropertyValues>
        </ResourceInfo>
        <ResourceInfo accountId='cn=S43725A,ou=Administrative Users,ou=User Accounts,dc=adxx,dc=xxx,dc=net' accountGUID='&lt;GUID=fc4ca613bf40b644948cf216e1ec50bd&gt;' tempId='dc98a0e2b99ae627:-4ce08fd6:13a5c68dd38:4fc4' created='true' lastPasswordUpdate='1352128262285'>
          <ObjectRef type='Resource' id='#ID#DC98A0E2B99AE627:1A6684F:10F96310B9F:-7FE1' name='Xolid'/>
          <ResourcePropertyValues>
            <Map>
              <MapEntry key='myflag' value='true'/>
            </Map>
          </ResourcePropertyValues>
        </ResourceInfo>
      </ResourceInfoList>
      <Attribute name='closest_manager' type='string' value='77774'/>
      <Attribute name='firstname' type='string' value='Test'/>
      <Attribute name='fullname' type='string' value='Testersson, Test'/>
      <Attribute name='xr_attr_flag' type='string' value='N -------- MA20120201 MB20120201 MC20120201 MD20120201 ME20120201 MF20120201 MG20120201 MH20120201 MI20120201 MJ20120201 MK20120201'/>
      <Attribute name='xr_date_flag' type='string' value='N 20120914 MS20120201 MT20120914'/>
      <Attribute name='lastname' type='string' value='Testersson'/>
      <Attribute name='local_id' type='string' value='S43725'/>
      <Attribute name='position_end_date' type='string' value='2012-08-10 01:08:18.0'/>
      <AdminRoles>
        <ObjectRef type='AdminRole' id='#ID#DC98A0E2B99AE627:1A6684F:10F96310B9F:-7FF7' name='XXX - Manager'/>
      </AdminRoles>
      <MemberObjectGroups>
        <ObjectRef type='ObjectGroup' id='#ID#Top' name='Top'/>
      </MemberObjectGroups>
      <Properties>
        <Property name='AD_HomeDir_Xolid_S43725' value='\\XXX5014A\UserFolders$\S43725'/>
        <Property name='AD_ProfileDir_Xolid_S43725' value='\\XXX5014A\UserProfiles$\S43725'/>
        <Property name='idm_lastLoginLocale' value='sv'/>
        <Property name='myflag' value='false'/>
      </Properties>
    </User>

    Thanks Praveen.
    I was missing the default namespace of "http://sapportals.com/xmlns/cm" - I thought I could just pass an empty string for the namespace, but it looks like I must always specifiy, even if it is default.
    Tom

  • I have created a newsletter in indesign cs4 how can I set zooms for each article for the user

    I have created a e-newsletter in Indesign. I have successfuly saved it as a SWF then as a PDF from acrobat.
    The problem is that when the user zooms in the resolution is not good.
    How can I let the user zoom in to read each article. Would I create buttons with zoom settings for each article. If this is the case do I do it in Indesign or Flash and can I still save it as a PDF file and it will keep the interactivity?
    I would greatly appreciate any help with this issue. It is driving me mad trying to get the information I need.
    Thank you

    Hi Bob
    Dont know what you mean by deleting my signature in the forum. Sorry its my
    first time using a forum.
    So just to confirm if I want a user to zoom in on an article I can't do it
    in Indesign or Flash.
    cheers
    PAMELA
                                                                                    BobLevine                                                    
                 <[email protected]                                            
                 >                                                          To
                                           pamela hettrick                    
                 17/08/2010 14:09          <[email protected]>  
                                                                            cc                                                                               
    Please respond to                                     Subject
                 clearspace-143433         I have created a        
                 1873-767197-2-305         newsletter in indesign cs4 how can 
                 [email protected].         I set zooms for each article for   
                     adobe.com             the user                                                                               
    You don't. There are third party solutions available for that. Sorry but I
    don't have any links handy right now.
    And please delete your signature...it's making a mess of the forum display
    of your posts.
    Bob

  • Suggestion on using the variable index used in prompting the user

    import java.util.*;
    public class CaseOne {
    // main(): application entry point
    public static void main(String[] args) {
    //define necessary data structures (Step 1)
    int count = 5; // number of elements to average
    double value; // handle input
    double total = 0.0; // the running total initialized to 0
    int index =1; // the index of the number read,
    used in prompting the user//
    // index prompt - adds the index value to prompt and increments index
    Scanner stdin = new Scanner(System.in); //input stream
    // process inputs to determine input total (Step 2)
    System.out.print("Enter an integer number: ");
    value = stdin.nextInt();
    total += value;
    System.out.print("Enter an integer number: ");
    value = stdin.nextInt();
    total += value;
    System.out.print("Enter an integer number: ");
    value = stdin.nextInt();
    total += value;
    System.out.print("Enter an integer number: ");
    value = stdin.nextInt();
    total += value;
    System.out.print("Enter an integer number: ");
    value = stdin.nextInt();
    total += value;
    // compute average (Step 3)
    double average = total / count; // the target computation
    // display average (Step 4)
    System.out.println("The input average is " + average);
    } // end method main
    } // end class CaseOne

    I have a new stick so I'll give the OP a prod with it.
    If you want to do the same thing numerous times, what should you use instead of repeating your code over and over again?

  • Macro help on selectin crieteria with time dimension to the user

    Hi Experts,
    I have some Macro requirement in my input schedule.
    We are preparing Head Count Planning report and the time dimension is selected for next five years and category is Budget.
    Now user wants to select only on year wise and then the report needs to be refreshed with the selected year (Example selected budget year is 2015).
    I have heard that it can be achieved through Macro. Can some one please provide a piece of Macro sample so that I can make the changes according to my requirement.
    Please see the below report format (Time Dimension details).

    Hi Satish,
    What macro are you talking about?
    If it's symmetric report then you use context to select YYYY.TOTAL and expand to base members.
    If it's asymmetric report then use: Static report in BPC NW 10
    "Now user wants to select only on year wise and then the report needs to be refreshed with the selected year (Example selected budget year is 2015)."
    If you want to have report for 5 years and the user select first year with context - then Static report in BPC NW 10
    You have to generate TIME members by Excel formula:
    Example:
    in A10 you have formula =EPMContextMember("ConnName";"TIME"), resulting in 2015.01
    Then in column axis you can use LEFT($A$10,4)&".02", LEFT($A$10,4)&".03" etc. for the first year
    LEFT($A$10,4)+1&".02",... for the second year
    Vadim

  • Send Email for manager of the user with Login and Password the user.

    Hello everyone,
    I need to send an email to the manager of the user with login and password when it is created in AD.
    I already have a mail server configured in the IT Resource. It has some component of the IDM that solve this issue?
    Anyone you help me with the next steps?
    Thank you.

    Thank you for your attention.
    It did not work, I did another test to send email notifying you when the User change password.
    The following error message appears in oim_server1-diagnostic.log:
    [2011-08-08T19:21:30.865-03:00] [oim_server1] [NOTIFICATION] [] [oracle.iam.passwordmgmt.impl] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: 88a924181f586e03:-25ab9c82:131aa884464:-8000-0000000000008862,0] [APP: oim#11.1.1.3.0] Resetting password
    [2011-08-08T19:21:30.936-03:00] [oim_server1] [NOTIFICATION] [IAM-0080013] [oracle.iam.platform.kernel.impl] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: 88a924181f586e03:-25ab9c82:131aa884464:-8000-0000000000008862,0] [APP: oim#11.1.1.3.0] Kernel executing default validation with process id, event id, entity and operation 59,612.0.User.RESET_PASSWORD
    [2011-08-08T19:21:31.155-03:00] [oim_server1] [NOTIFICATION] [IAM-3050013] [oracle.iam.identity.usermgmt.impl] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: 88a924181f586e03:-25ab9c82:131aa884464:-8000-0000000000008862,0] [APP: oim#11.1.1.3.0] Searching for users with the specified criteria.
    [2011-08-08T19:21:32.018-03:00] [oim_server1] [WARNING] [] [oracle.iam.passwordmgmt.impl] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: 88a924181f586e03:-25ab9c82:131aa884464:-8000-0000000000008862,0] [APP: oim#11.1.1.3.0] Sending Reset Password Notification is not successful
    [2011-08-08T19:21:32.639-03:00] [oim_server1] [NOTIFICATION] [IAM-0080046] [oracle.iam.platform.kernel.impl] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: 88a924181f586e03:-25ab9c82:131aa884464:-8000-0000000000008862,0] [APP: oim#11.1.1.3.0] Completed orchestration with action result - oracle.iam.platform.kernel.vo.EventResult@4fe0d018
    [2011-08-08T19:21:32.642-03:00] [oim_server1] [NOTIFICATION] [IAM-0080011] [oracle.iam.platform.kernel.impl] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: oiminternal] [ecid: 88a924181f586e03:-25ab9c82:131aa884464:-8000-0000000000008862,0] [APP: oim#11.1.1.3.0] Orchestration process with id 59,612 started running in a new thread.
    Edited by: Piza on 08/08/2011 15:24
    Edited by: Piza on 08/08/2011 15:26

  • HELP needed: Changing the username of the User profile for folders

    HI all,
    Would really appreciate if someone can help me figure out how to change the name of my username on the folder. Attached is the image to show what i mean. This is bugging me out!!
    http://t.co/LAo4ZKS

    http://support.apple.com/kb/ht1428
    Note the note at the top of the page though. An alternative is to create a new account and copy your preferences across.

  • Set variables with data of varying lengths?

    I am sending data collected from a CVP application back to ICM in the array variable user.microapp.FromExtVXML(0).  Now I want to parse the data and put it into ECC Variables.  I can do all this but one issue:  how do I handle data that can have varying lengths?   For example, the first piece of data is an account number which can either be 7 or 10 digits.  Each piece of data is separated by a comma, so if I could extract using that as a separator, it would be ideal.
    Here's an example to show you what the data looks like from the ECC:
    1234567,1,G,Smith,Mary
    =Account # (can be 7-10 digits), Authentication Flag (always 1 digit), Tier (always 1 digit), Last Name (varied length), First Name (varied length)
    Appreciate your help on this.
    Walter

    The way I usually do these complicated parsing operations is to simply use Call Tracer to send a dummy call through a test script. Have a SET node that sets up a test string into PV1 - say "Account=1234567,Flag=1,Tier=G,Last=Smith,First=Mary" (stay under 40) then feed it into a SET node that sets another PV using a formula, then have an IF node that tests the value of the PV against the expected result. No need to make a real call. Then keep fiddling with the formula in the SET node until you get it to sing and dance.
    Once you understand how the if(), find(), after() etc functions all work and your SET node is working, you can easily turn it into a custom function and then try the custom function again with Call Tracer.
    This is way faster than actually making calls through CVP. Many script writers try to develop the whole enchilada rather than taking the easy way out with Call Tracer.
    Regards,
    Geoff

  • AE5.2:Automatic ESS User Set up and email notification to the User

    Forum,
    In AE, stageless ESS user set up creates the ESS user and sends an email to new user like below...
    This is to inform you that your request REQUESTNUMBER provisioning has been done. Your account has been created. Please find the information below.
    User ID:
    Password:
    SAPSystem:
    Is it possible to change the wording in the email? Has anyone tried it? I am aware that it is a system generated Email, but is it configurable?
    Thanks for any insight.
    Edited by: Bhanu Reddy on May 22, 2008 1:26 AM

    Just an FYI - the free Yahoo accounts do NOT use POP mail...If you want this type of access, you have to pay for the upgraded version of Yahoo Mail...
    WyreNut
    I am a Volunteer here, not employed by HP.
    You too can become an HP Expert! Details HERE!
    If my post has helped you, click the Kudos Thumbs up!
    If it solved your issue, Click the "Accept as Solution" button so others can benefit from the question you asked!

Maybe you are looking for