How to set Changed_by field with User ID not by Workflow ID, when Status Update from Workflow

Hi Frds,
I am updating the Order Status from Workflow. So the Status update (or Order Changed) is save with Workflow ID. I need to insert UserID instead of workflow ID. Please help me out of this.
Thanks
Imran

Hi Imran
With the very few details available on your process, the workflow design and the "Order", all I can suggest is that:
1) In your workflow definition, go to the step which sends the user decision, in the binding FROM the TASK TO the Workflow, set _ACTUAL_AGENT to a workflow container element , say DECISION_AGENT (of type SWHACTOR)
2) Assuming that the next step in APPROVAL branch is setting of the status, go the task ID of that Step -> make it a dialog step (remove the Background Processing check) -> set it's agent assignment to general task
3) Back in the workflow, set that STATUS SETTING step to Advance With Dialog under the details tab
4) In the control tab of the same step, in the agents section, set agent as EXPRESSION and the value as &DECISION_AGENT&
When a user approves the decision item, his ID will be stored in DECISION_AGENT
The status set will execute immediately (because of "Advance with Dialog")  in the same session of approving as the user who approved is the same running this step now
The status will be set by the ID of the Approver
The above is hypothetical considering
1) You do not have dynamic parallel processing
2) Status setting happens immediately after the approval; as a first step in the approval branch
3) The Decision Task does not has "Confirm End of Processing" checked.
Regards,
Modak

Similar Messages

  • How  to set some fields of a table, not fields form ..

    Hi,
    I have a form based on a table with a few fields and others fields on the same table whose don't appear in the form.
    I want to set the others fields of this table and i use the following code (ex) :
    p_session.set_value(
    p_block_name => 'DEFAULT',
    p_attribute_name => '_REMARQUSER',
    p_value => PORTAL.WWCTX_API.GET_USER );
    I had put this code in the advanced plsql section but it DOES NOT WORK.
    after form :
    Erreur interne (WWC-00006)
    Une erreur inattendue s'est produite : ORA-06502: PL/SQL : erreur numérique ou erreur sur une valeur (WWV-16016)
    Une erreur inattendue s'est produite : ORA-06502: PL/SQL : erreur numérique ou erreur sur une valeur (WWV-16016)
    (WWV-00000)
    ORA-01007: la variable n'est pas dans la liste SELECT (WWV-11230)
    Le chemin de la préférence n'existe pas : ORACLE.WEBVIEW.PARAMETERS.3137_LRCWEB_REMARQUES_571188203 (WWC-51000)
    before processing :
    Erreur interne (WWC-00006)
    Une erreur inattendue s'est produite : ORA-06502: PL/SQL : erreur numérique ou erreur sur une valeur (WWV-16016)
    (WWV-00000)
    after processing :
    Erreur interne (WWC-00006)
    Une erreur inattendue s'est produite : ORA-06502: PL/SQL : erreur numérique ou erreur sur une valeur (WWV-16016)
    (WWV-00000)
    I would appreciate any help on the problem.
    Thanks, Pat

    Did you try modifying the package body?
    I tried this code in my package body and it worked fine

  • Set metadata field with current user

    I would like to have a Response that would set a field with the current logged in user. (This would be triggered by a Subscription)
    I am using a Response Action of "Set Asset Metadata".
    I have tried entering:
    [Name]
    [USER_NAME]
    [Username]
    and so on but the field just puts in the text not the user. Is it not possible to copy from one metadata field to another in a Response Action?

    Variable insertions only work for fields that are part of the Asset, Production, or Job that is triggering the Subscription. The only one of those that would reference a user is a Job Subscription. Jobs have a field called \[Owner] that lists the user that caused the job to happen. Of course, this is only viable for actions that cause a job to occur, such as downloads, exports, analysis, archive, or recovery.
    Unfortunately, Set Asset MD will not be of any use in a Job Subscription since there is no asset to set metadata upon when you are subscribing to a job. Long story short, you will not be able to do what you are describing automatically.

  • How to set up SAPconnect with email server

    Hi,
    Does any one know <b>how to set up SAPconnect with email server</b>
    We are using workflow and when it fails it we are sending the notification mail to the user on his company mail id, i.e. [email protected]
    This is working in the current production system. We are doing the new development which will replace the current production system. The existing Basis team does not know how it was setup in production system and how to set it up in the new system.
    When we send any mail notification from workflow we can see the mail in SCOT transaction but it is not received at the specified mail address.
    Can any one provide the configuration steps or any document for this.
    Thanks in advance..
    Pratik

    Hi Pratik,
    Check the following link:-
    /people/thomas.jung3/blog/2004/09/08/sending-e-mail-from-abap--version-610-and-higher--bcs-interface
    http://help.sap.com/saphelp_nw04/helpdata/en/2b/d925bf4b8a11d1894c0000e8323c4f/frameset.htm
    these link will help u to config SMTP.
    And one more thing u have to do..
    Go to SE11 n open Table sxnodes in change mode.
    And change F_ESMTP field to false i.e. BLANK for the Field NODE = SMTP.
    Hope this will work For U.
    Regards
    Sachin Dhingra

  • I have set form fields as User required and yet the form still prints/save when empty.

    I have set form fields as User required and yet the form still prints/save when empty. I also have an email button on the form but that works correctly by not allowing the user to email the form with the required fields empty.
    What script do I need to additionally restrict both printing and saving if the required fields are empty?
     You would think that just setting that option would restrict those functions the same as it does for the email button. 
    Please be specific with your response if you are gracious enough to offer one. I have been searching the forum all morning for the answer to this and I really didn't understand any of the solutions offered to others enough to use those in my own form.
    The required fields are:
    Social (social security number)
    Name
    Headquarters
    Residence
    The next question I have is if there is a way to make individual signature fields mandatory if they are digital signatures?
     In other words, I don't want the individual to be able to email the form to the next person if he/she hasn't applied their digital signature.

    Saving can always be done, even when mandatory fields are empty.  This is by design.  And that is correct.  Suppose you have a big form and 2 people need to fill it out.  How can you fill out a first part and then send it to the second person without saving.
    Same for printing.  Same for your signature fields.
    What I would do, is to put a "watermark" on the form that you show on preSave and prePrint if the form is incomplete.  Just a static text on your form.  Then the user will see that they need to do more.  Also, on preSave and prePrint, you can show a warning popup to tell the user about the missing fields.  You can then still cancel their action if the user decides not to save/print anyway.

  • How to set key fields in a Database view

    Hi guru's
    iam balaji,plz guide me with how to set key fields in a view.......that field is a non key field in the base table....
    thanks in advance,
    Balaji.S

    take a look at this:
    Diagnosis
        In the view, not all of the mandatory fields were included as key
        fields. The key of the view therefore is not unique.
    System Response
        All the fields are regarded as key fields in order to guarantee that th
        key lengths are unique.
    Procedure
        For views with a large number of fields, this could have a negative
        effect on the performance for the language construction described below
        In this case, all the mandatory key fields should be included in the
        view.
    regards

  • How to set the field SKB1-FDLEV as requestred-entry in G/L Master data?

    Hi All,
    Could anyone tell me how to set the field SKB1-FDLEV as requestred-entry in G/L Master data?
    Thanks
    Gandalf

    hi
    Go to OB26
    select Your criteria ( create, change or display)
    double click on it
    again double click on Bank/financial details
    there you will find the Planning level make it require entry
    save
    with regards
    ramanuja chary

  • How to create a field with  1200 chars length

    Hi,
    Will anybody let me know how to create a field with length 1200 in a table.
    Regards,
    Madhavi

    Hi Madhvi,
    Other thing what you can do is
    1. First create a Table type.
         Goto SE11-> Dataelements ->Table type
         There on the next screen select Predefine radio button & there provide data type & size.
    2. Create a structure having a field typa of Table type created before. say that field is quant.
    Now in your program refer that structure to create an internal table & work area.
    Now if u append ur text to the field quant.
    try creating line type of size more that 255 if it works then fine other wise reduce it.
    Note:: This will be a deep structure.
    so first append value to the field quant,  the at the end of first record append valu to ur internal table.
    thanks
    Satyam

  • Tabular form - how to set a field to a constant?

    I'm using a tabular form to update a table - and this works. Then I remembered that I need to also update the field that keeps track of who made the change.
    Setting this field via the SELECT (e.g. Select 'userX' as editor from ...) for the tabular form fails due to a db concurrency error (MRU 20001) upon submission.
    Attempting to override the current value in [Column Attributes] of the field in the [Elements Attibute] setting - [value="userX"] simply adds this as the second value argument of the input element (of the html source).
    Suggestions?

    Similiar scenario - I have a flag in this table set false that a user can set true when they feel they have satisfactorily reviewed the record.
    Since it's in a tabular form it can be changed along w/ other records, but they may not feel the review is complete (so they effectively want the flag to remain false).
    I'd like to be able to read records in but set/default the value to reviewed (as a convenience) but due to the problems noted above, this doesn't seem possible.

  • How to map Idoc fields with external file

    Hi All,
    How to map Idoc fields with external file.
    I want to check the settings where Idoc fields are mapped with external file.
    Thanks in advance.
    Regards,
    Govind.

    If you have configured a fileport where on trigger of IDOC you are creating the file, you can look at the message type documentation and get the offset values for each field in each segment

  • How to create Lookup field in user form in OIM 11g - Urgent

    Hi Experts,
    How to create Lookup field in User Form - OIM 11g.
    Pls. provide your support on priority.
    Regards
    Karan

    Thanks all for your suggestion.
    Our requirement, is we need to have a user defined field similar to how its there in "Organisation".
    For example we need to create an user defined field like "Service Holding" which holds different services say like Service 1, Service 2, Service 3 etc.
    Under each service there are multiple roles....
    Eg:
    Service 1 - Role 1, Role 2, Role 3
    Service 2 - Role 4, Role 5
    Service 3 - Role 6, Role 7, Role 8
    Is there a way to store multi-valued attribute in OIM UDF? If so, pls. guide us
    If its not possible we would need to create a Lookup field (something similar to Organization or Manager). User clicks on the button (lens button), which should invoke an API wherein he can select specific Roles and save in User. Eg. like Service 1 - Role 1#Service 2 # Role 5 and store in the backend database.
    Is this possible. Pls. guide.
    Regards,
    Karan

  • How to set Character field's Format Mask?

    dear all,
    how to set Character field's Format Mask?
    i searched the forum and found the following, where can i use this code and how to change and set its format mask.
    SRW.SET_FORMAT_MASK('mask');
    Thanks
    Muhammad Nadeem

    Nadeem,
    If you have database 10g, look into function REGEXP_REPLACE. Otherwise you can also try this (you might already know).
    SELECT SUBSTR('CHHOCMIPO07020001', 1,2)||'-'||SUBSTR('CHHOCMIPO07020001' ,3,2)||'-'||
    SUBSTR('CHHOCMIPO07020001' , 5,2)||'-'||SUBSTR('CHHOCMIPO07020001' , 7,3)||'-'||
    SUBSTR('CHHOCMIPO07020001' , 10,2)||'-'||SUBSTR('CHHOCMIPO07020001' , 12,2)||'-'||
    SUBSTR('CHHOCMIPO07020001' , 14,4)
    FROM dual
    CH-HO-CM-IPO-07-02-0001
    If you have to use this at many places, create a function, pass the raw value, manipulate the string and return.
    FS

  • How to set the field non-editable in the classical report..

    Hi..
              How to set the field non-editable in the classical report..

    Hi experts,
    For the component 'ICCMP_EMP_SRCH' there is a view 'BUPAEMPSEARCH' , which has 2 context nodes 'CUSTOMER' AND 'SEARCHEMPLOYEE' , i need to add the field 'NICKNAME' which is part of the 'CUSTOMER' context node on the search screen. Currrently all the fields on the screen screen are from the 'SEARCHEMPLOYEE' context node. when i did the configuration , the 'NICKNAME' field is greyed out . I have already generated the Getter ,Setter , GET_I, GET_M methods for the 'NICKNAME' field and the context node and controller class and context class are all active .
    on debugging the GET_I method, i see that rv_disabled = 'TRUE' and the current = collection_wrapper->get_current( ) is returning empty value .
    for this rv_disabled to be set false , the code below is not triggered since there is no value in current.
    IF current->is_property_readonly(
    'NICKNAME' ) = abap_false. "#EC NOTEXT
    rv_disabled = 'FALSE'.
    ENDIF.
    when i check for other search fields of context node 'SEARCHEMPLOYEE' , all the fields are set to rv_disabled = 'FALSE'.
    can anyone suggest how to approch this. iam i missing any binding between context nodes or any activations ?
    The field properties are set as Input field and the display checkbox is not checked.

  • HT3546 So i recently bought an Apple AirPort Extreme BaseStation (the mushroom shaped one) and was wondering if someone could tell me where and how to find a power cord and how to set it up with my Macintosh (2011 edition with 1.7.5) Thankyou! :)

    So i recently bought an Apple AirPort Extreme BaseStation (the mushroom shaped one) and was wondering if someone could tell me where and how to find a power cord and how to set it up with my Macintosh (2011 edition with 1.7.5) Thankyou!

    Welcome!
    Last question first, as we need to know what operating system that the Mac is using.
    If you are not sure, click the Apple icon in the upper left corner of the screen, then click About This Mac, and post back with the OS X Version number that you see there.
    Two possible solutions on the power cord
    ORIGINAL OEM APPLE AIRPORT EXTREME BASE STATION POWER SUPPLY AC ADAPTER A1202 if you want a white power supply and white power cord to match up with the Apple device
    AC adapter for Apple AirPort A1034 Extreme B... if you don't care what color the supply and cord might be
    If you don't already have a Setup Guide.....look here:
    AirPort Extreme Base Station Setup Guide v4.2 (Manual)

  • How to set this filters with 'or' relationship

    Hi Pros,
          I have a query as follows, rows and columns are all in structures.
                                                       regular_employees
                 active_employees
                 lay_off_employees
         I want to set up filter as ' employ_status = 0 or employ_subgroup =2' for this query, please tell me how to set this filters with 'or' relationship.

    Hi Yifei,
    Create a formula and enter this (let's name this FORMULA_KF):
    ((EMPLOY_STATUS = 0) OR (EMPLOY_SUBGROUP = 2)) * enter value IF_TRUE + enter value IF_FALSE
    Then create the condition to HIDE the rows having those values to be filtered (if this is your purpose)..
    Like,
    FORMULA_KF <> 1
    Is this what you want mate?
    Regards,
    Loed

Maybe you are looking for

  • Equium A60 - CD Burning - WMP has encountered a problem

    When trying to burn cd the message "Windows media player has encountered a problem etc" appears I have tried about 15 brands of blank discs. Some will work ok for a while then suddenly they are no good. I have just tried using a second external dvd/c

  • HELP: S10-3 Audio Problem - Dolby Headphone

    I have recently purchased a Lenovo S10-3 laptop. One of the features that I noticed is virtual headphone surround sound by Dolby. The problem that I have is that when I enable it, the volume becomes unbalanced. The left headphone speaker plays twice

  • COLD BACKUP DATABASE CLONING with +ASM

    Hi, I need some help to clone the database using Cold backup with +ASM. Can somebody help me on this Here is the steps we did on Source Database. 1. Copied all the $ORACLE_HOME from Source to TARGET. 2. Created pfile from spfile. 3. Created backup co

  • Out put type for delivery challan

    Dear all We are Developing Forms for Delivery Challan, GR receipts , GR Tag and GR Issue Please reply me what message type is needed for each transactions and how it is attached to specifice movement type. Regards, Vimlesh Shah

  • Oraview.vrf(0):File_NOT_FOUND

    I am installing oracle 8.0.5 on RH 6.1. I have installed the software without create database. After that I tried to create database through ./orainst, but I got message "oraview.vrf(0):FILE_NOT_FOUND while verifying oaview ( No such file or director