How to get the user logged at worklist (Adf Form - Human Task)

Hi,
I have an Adf Form Based on Human Task and and need to get the user logged at Worklist Application.
Anyone know to make this ?
Thanks.
Victor Jabur

Hi, thanks for your reply, but i discover a better way to make this:
public String getLoggedUserWorklist(){
String user = "";
try{
Map parameters=AdfFacesContext.getCurrentInstance().getPageFlowScope();
IWorkflowServiceClient wfSvcClient = WorkflowService.getWorkflowServiceClient();
ITaskQueryService queryService = wfSvcClient.getTaskQueryService();
String contextId = (String)parameters.get("bpmWorklistContext");
IWorkflowContext context = queryService.getWorkflowContext(contextId);
user = context.getUser();
}catch(Exception e){
user = "";
return user;
}

Similar Messages

  • How to get the user log from the entried planning data ???

    Dear All,
    Could you help me to give the suggestion regarding that please .. ?? :).
    I have requirement to get the last user who in charge in modifying the planning data.
    Or in the other words, i'm gonna get the log from the entried planning data.
    e.g.
    1. Phase 1 - My Friend:
    Create the planning data :
    Country           Sales
    INA                 $1000
    2. Phase 2 - I update it and create new record.
    Country           Sales
    INA                 $1500          < modified >
    USA                $400           < new >
    Could i get the log from those records ??
    The log can be contain:
    the created user       &   modified user ??
    I just read the article regarding status and tracking system in BPS, but could i cover that requirement ??
    (Because i got that the status and tracking system for creating a workflow for planning).
    Or ..
    Is there other way that can fulfill this requirement  ???
    Really need your guidance all.
    Regards,
    Niel.

    Dear Mayank,
    Tks a lot for your responses.
    I've tried it but in BPS version..
    I saw in the document there is GUID (unique ID), could you explain me what the objective is ???
    I work out to plan to store the user created, date created, and planning level information in the log data.
    What do you think ..
    Is it better to display them in the BEx Report / another manual planning layout ???
    What did you display the log data in your case ??
    Still need your guidance ..
    Really - really thanks.
    Niel.

  • How to get the user view

    Hi,
    Can anyone say how to get the user view of a user logged in through admin interface.
    I have tried to get the roles of logged in user as below:
    <ref>waveset.roles</ref>
    it did not work..
    Please suggest

    who said you cant create view for logged in user, try the following machi
    <Action id='0' name='User View' application='com.waveset.session.WorkflowServices'>
    <Argument name='op' value='getView'/>
    <Argument name='authorized' value='true'/>
    <Argument name='type' value='User'/>
    <Argument name='id' value='$(WF_CASE_OWNER)'/>
    <Return from='view' to='userview/>
    </Action>
    Rgds,
    Purush

  • How to get the current logged in username from windows and put it into an AS var

    Hello,
    I was hopeing someone would know how to get the current logged in username from windows and put it into a var, so I can create a dynamic text box to display it.
    Thanks in advance
    Michael

    Just for everyone’s info, this is the script I have used to get the logged in windows username into flash ---- not and air app.
    In the html page that publishes with the .swf file under the <head> section:-
    <script language="JavaScript" type="text/javascript">
    function findUserName() {
         var wshell=new ActiveXObject ("wscript.shell");
         var username=wshell.ExpandEnvironmentStrings("%username%");
         return username;
    </script>
    The ActionScript:-
    import flash.external.ExternalInterface;
    var username:String = ExternalInterface.call ("findUserName");
    trace (username); // a quick test to see it in output

  • How to get the user piveliges in Solaris

    Dear All,
    In solaris how to get the user priveliges,
    Example:lsuser -f "user name"
    In AIX the above command will show the user priveliges,that user having su access or not like that,I want to know in Solaris,i gone through "ppriv" it not giving the valid information.
    Kindly tell me how to get the user priveliges.
    Regrads,
    Venkatachalam.M

    -K- (!),
    I followed your suggestions and it works well now. Do you know why I prefer to see the UI in english ? Because the help and everything else (documentation) is in english making very difficult to find in the french UI what is referred to in the english on-line help.
    Merci de votre aide !
    Christian

  • How to get the User ID's details in SRM Workflow EBP system

    Hi Team
    How to get the User ID's details in SRM Workflow EBP system. Example like i have User ID "BTEMPEST" but i want his full name . so please suggst me how to get the full name of user id where it is maintained.
    Thanks.
    Puneet.

    Thank you very much muthu.
    For your information FM "RSPLPPM_GET_USERDETAILS" is working fine.
    Thanks for quick response.
    Thanks
    Puneet.

  • How to get the user entered data?

    Hi all,
    I have created an HTMLB DynPage component.
    In That i have created my input screen with textboxes using response.write method.
    i have added one onConfirm event on which the data whould validate.
    so onConfirm method im trying to get the data with request.getParameter method which returns null...
    how to do...how to get the user entered data to do my validations...can anyone plz advice.
    Thanks,
    Viswes

    Hi
    inputfield or textbox component entered directly using response.write(...) are not htmlb , but html.
    to create portal input field (ie HTMLB), you should do something like
    this in the doProcessBeforeOutput member function
    InputField field1 = new InputField("Id1");
    field1.setSize(8); // 8 characters
    this.getForm().addComponent(field1);
    and in doProcessAfterInput member function
    InputField field1 =
    (InputField) this.getComponentByName("Id1");
    you can then manipulate the content of the field.
    Hope this help,
    Guillaume

  • How to get the user active stauts in jspdynpro

    How to get the user active status in jspdynpro.
    I want check weather a user is active or not (Collaboration Launch Pad functionality)
    in jspdynpage.
    Thank's in advance,
    Mr.Chowdary

    Hi Eddy,
    Here the scenario is to get the data of a field from the user defined table to pass the extracted values as a input to the XL reporter, which will be selected while generating the report.
    It would be great if you provide any solution for this problem.
    Thanks.

  • How to get the users list that can Add/Remove or modify Vendors in Oracle?

    How to get the users list that can Add/Remove or modify Vendors in Oracle?
    I need to generate a report like name and responsibility. Thanks

    That query gives the Supplier information.
    But what i would be needing is to find out the USERS in oracle who can Add/Modify or Remove Vendors.
    I assume it should be based on the Responsibility.

  • Confition type FRC1- how to get the change log,

    Hi,
    When  the condition type FRC1 automatically gets deleted (deletion flag),. and we are not able to see the change log for the same.
    how the Conditions are deleted. Or if at all any one has deleted, how to get the change log,

    Check in
    m/06
    go to utilities
    change log
    If not found  consult BASIS consultant

  • How to get the obiee dashboard secuirity in adf to assign the roles in adf for users

    how to get the obiee dashboard secuirity in adf to assign the roles in adf for users

    thanks Benjamin...
    my present requirement is pull Role to Dashboard mapping from OBIEE Catalog
    in my project we are going to restrict the users and assigning the roles from adf.
    Pls Help me..

  • WebGUI: How to get the users IP-address

    Hello.
    I have to develop a simple web-application, that will enable users to reset their forgotten passwords or to unlock themselves, if they are locked because of too many failed login-attempts.
    As you can imagine, this application must not require a login. For security reasons any action has to be logged.
    The username can not be used for logging-purposes, as the application is executed using a default-user defined in transaction SICF. That's why the IP-address of the user's pc has to be written into the log-table.
    My problem is, that i do not know how to get it. I have read many articles on help.sap.com, searched in the sap notes, used Google and tried to find usefull functions in our SAP-system, but after two days it still does not work and i do'nt know, what else to try.
    At the moment i am able to read the name of the client-pc with my test-coding.
      DATA:    lv_webgui TYPE xfeld.
      STATICS: lv_computer_name TYPE string,
               lv_username TYPE string.
      CLASS: cl_gui_frontend_services DEFINITION LOAD.
      lv_webgui = cl_gui_frontend_services=>www_active.
      IF lv_webgui EQ gc_true.
        " Begin of experimental coding #1
        CALL METHOD cl_gui_frontend_services=>get_computer_name
          CHANGING
            computer_name = lv_computer_name.
        " End of experimental coding #1
        " Begin of experimental coding #2
        CALL FUNCTION 'ITS_ENV_GET_VARIABLE'
          EXPORTING
            variable = 'COMPUTERNAME'
          CHANGING
            value = lv_computer_name.
        " End of experimental coding #2
        MESSAGE s000(38) WITH lv_computer_name.
      ENDIF.
    The problem is, that the Internet Explorer 7 (version: 7.0.5730.13CO) shows a warning before the scripts, generated by the ITS, are executed on the client. If the user clicks "abort", the scripts are not executed and the name of the client-pc will not be returned to the server (experimental coding #1 returns the value 'localhost', experimental coding #2 returns an empty string).
    That's why the experimental coding is quite useless, because the user is able to avoid it's execution.
    In theory i could use experimental coding #2 and stop the execution of the program if an empty string is returned but some users in our company have administrator-privileges and so they can change environment-variables at will. So i am afraid, that this procedure is not an option.
    I am quite sure, that there must be a way to read the IP-address directly from the ITS without using the functions in my experimental coding, but i have no clue how this could be done.
    Any suggestions would be highly appreciated.
    As i do'nt know how to determine the version of our ITS, i have to leave this information out for the moment. If anyone needs this information it would be very kind, if he or she could tell me how to get the required information.
    EDIT: As we are using SAP ECC 6.0 and Services are maintained via transaction SICF, it should be ITS 6.40.
    Regards
    Jörg Neumann
    Edited by: Jörg Neumann on Oct 16, 2009 1:27 PM

    Hello Wolfgang.
    Thanks for your reply.
    I can imagine, that the application as described above seems to be very insecure, but the description is not complete - i left some parts out, as they were not relevant for my problem.
    1.) The application can only be reached from our intranet.
    2.) Unlocking / Resetting password can be done three times per day, which limits the number of attemps for cracking a password to a total of 20 per day.
    3.) The owner of the account will receive an email if the acount was changed by the application. So if somebody tries to crack the password, the owner of the account will get a total
    20 3 mails per day - which should make him/her at least a litte suspicious. 
    I know, that the logged data is quite worthless, as computername and username are read using clientside-scripting and there could be a proxy between the client and the server, but this is exaclty, what i have to develop.
    I will keep the logging-problem in mind and talk about it in the next meeting, though i am quite sure, that it wo'nt change anything.
    Regards Jörg Neumann
    Edited by: Jörg Neumann on Oct 19, 2009 4:57 PM

  • Getting the user logged in to be outputted into PLD Page Footer

    Good Day,
    As the subject declares, I need to be able to out the User Name of the person who is generating/logged in the report on the page footer section of the pld.
    I tried to follow the thread here
    |https://forums.sdn.sap.com/click.jspa?searchID=23110696&messageID=6827875]
    But I am still confused how to perform it, since I am a total newbie w/ no training for PLD.
    *Currently using SBO 2007A PL42
    Thanks,
    Sean Yu

    Hi Sean,
    That thread is taking about the UDF and FMS.  If you need get the user name on the PLD, that is necessary first step.  You have to create an UDF first and then assign that FMS query.  After this step, you will be able to put this new field on your PLD.
    Thanks,
    Gordon

  • How to collect the user logging info?

    Hi All,
    We want to collect all the users' logging information,such as all users' logon frequency,when logon and when logoff etc. Anyone knows how to get it?
    Thanks In Advance

    Hello,
    another intersting info you can get is, transaction that where used by the user in a specific period time.
    to get this information,  please use transaction ST03.
    Enter this transaction in EXPERT MODE, then choose the WORKLOAD-TOTAL.
    choose a month, week or pecific day,and on the open menu below, choose your report(transaction profile or user profile)
    for example-double click on a user will show all the transaction that where used by the chosen user on the specific period.
    Regards,
    Brauner Haim

  • How to get the job logs from sm35 by using the queue id and session name?

    hi all,
    can any one please let me know how to read the job log from sm35 by using the session name and queue id. i have the job name and job count but is it possible to download the job log by using the queue id and session name.
    FYI..
    i want to read this job log and i want to send it to an email id.
    -> i am using the job_open and submitting the zreport via job name and job count and then i am using the function module  job_close.
    but this is not working in my scenario i have the queue id and session name by using this two i want to get the job log is there any function module available or code please provide me some inputs.
    thanks in advance,
    koushik

    Hi Bharath,
    If you want to download it to the local file then you can follow the instructions in the below link.
    How to download Batch Input Session Log?
    Regards,
    Sachin

Maybe you are looking for

  • Video won't stream. Need help

    I have a flash video, that will play when localy stored on my hard drive, and it will play as a progressive download (delivered via HTTP), but it will not play if I set it up to stream (delivered via RTMP). Any thoughts on why this is happening or ho

  • Azure File Storage - Creating a directory at the root level using REST

    I have a Xamarin / iOS project, and looking to use Azure File Share as a back-end. With that in mind, I'm playing around with the REST API and have generally got things working with (a) Blobs and (b) Account-level access to Files. Specifically, I can

  • Inactive (or broken) reset button on my Ze

    Hello! I recently tried using the recovery tool on my zen V to diagnose any issues. The player had been charging on the computer for some time but was not being recognized by the computer itself (not unusual). So when I tried to use the recovery tool

  • How can I copy part of a larger PDF file and create a smaller one?

    How can I copy part of a larger PDF file and create a smaller one?

  • Price should pick from PO not from Contract while doing GR

    Hi All, Quantity Contract is created as 1000 with net price Rs 1/- PO is created against Quantity Contract say 100 quantity with net Price as Rs 15/-. PO value is Rs1500/- GR and Invoice is done against PO. Here, GR is happen agains Contract Price as