Assigning USER values in the task of workflow

Hi Experts ,
I am using the USER option in the task to sending workitem to the perticular user which i have given in the user option .
I am doing this in development .
When i will move my workflow to Production then if the user id which i have given in develpment will not be present in production then my workflow will not work there .
And in production also we may not change the user id ,
so is there any way through which we can able maintain the userid values in production .
Note : I want to use the USER option in the task not through the expression option .
thanks
sarmistha

Hi Sarmistha,
Please check this PDF for Adhoc assignment to workflow which determines agents dynamically..
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/5023ddbd-de8d-2a10-d7a2-c9910d1ed6ad
Check this link which also gives you help in assigning agents at runtime using Adhoc step in Workflow
http://****************/Tutorials/Workflow/adhocAgent/Assignment1.htm
Hope this would help you.
Good luck
Narin

Similar Messages

  • How do you assign a value to the APEX field APP_USER

    Application Express 4.0.2.00.07
    Hi
    Is there a special function/procedure to assign a value to the APP_USER field
    or a simple APP_USER := :P1_LOGIN_NAME would do
    Z

    Hello Zac,
    >> or a simple APP_USER := :P1_LOGIN_NAME would do
    The APEX engine is already doing it for you after a successful login – setting the value of APP_USER as the user login name. You can use it as a substitution string or with the bind variable notation (:APP_USER).
    Regards,
    Arie.
    ♦ Please remember to mark appropriate posts as correct/helpful. For the long run, it will benefit us all.
    ♦ Author of Oracle Application Express 3.2 – The Essentials and More

  • Adding one more participant to approve the task in workflows

    Hi All,
    I'm having a requirement of adding the adding one more workflow user for approving the task. How to add one more workflow user in the human and allow him to approve the task which has been already approved by another workflow user, means it is hierarchical approval.
    First the task has been approved by assignee then finally the task has been approved by the approver who has admin rights.
    Regards,
    CH

    Hi,
    I have added the users but i need to approve the same task for twice then it is propagating the data to the other end. Is there any hierarchy that we have to
    define for the user inside human task.
    Everytime I'm approving the request for twice. How to approve the request for only one time.
    Regards,
    CH

  • Can we assign two values to the same parameter? If yes how? For details ple

    Can we assign two values to the same parameter? If yes how? For details please go through the following SAP related program.
    Here I need to print 2 queries using the same parameter "QUERY" the value assigned to this parameter(query) is REPORT_TEST1. I want to assign one more value to this Parameter. Is is possible? This question may sound stupid if it is not possible please kindly reply.
    I want to do this to print two documents(values) with a single command (parameter)
    Anybody please help quickly,
    Now, I have 2 tables from different queries. I have a print (HTML written) option in my WEB Template
    JAVA PROGRAM:
    <param name="QUERY" value="REPORT_TEST1"/>
    function PrintReport(typePaper) {
    document.title ='Report';
    if (typePaper == "0")
    {var CurrentReportName = '&?mp=U&ptot=1&rtot=0&psize=' + escape(typePaper) + '&fsize=' + escape('39') + '&qtitle=' + escape(document.title);};
    if (typePaper == "1")
    {var CurrentReportName = '&?mp=U&ptot=1&rtot=0&psize=' + escape(typePaper) + '&fsize=' + escape('52') + '&qtitle=' + escape(document.title);};
    CurrentReportName += '&ASOFDATE=' + escape(AsOfLabel.innerText);
    var openCMD='<SAP_BW_URL>';
    openCMD += '&DATA_PROVIDER=REPORT_TEST1&TEMPLATE_ID=DPW_PRINT_PAGE&CMD=RELEASE_DATA_PROVIDER';
    openCMD += CurrentReportName;
    openWindow(openCMD,'MainTitleNow',800,600);
    The data provider here is REPORT_TEST1. Now it only prints the corresponding data for the data proviedr 1 i.e., REPORT_TEST1. I have a second table whose data comes from the data provider 2 when i use this HTML to print I want the second table contents from the data provider 2 (REPORT_TEST2)also to be printed simlutaneously.
    Please help.
    THANX A LOT,
    SRINI

    Hi,
    Try assigning two values seperated by a delimiter ( say '|') to the same parameter.
    In the function get the parameter value and seperate the values using the same delimiter.
    <param name="QUERY" value="REPORT_TEST1|REPORT_TEST2"/>
    Regards,
    Uma

  • Can we assign two values to the same parameter? If yes how?

    Can we assign two values to the same parameter? If yes how? For details please go through the following SAP related program.
    Here I need to print 2 queries using the same parameter "QUERY" the value assigned to this parameter(query) is REPORT_TEST1. I want to assign one more value to this Parameter. Is is possible? This question may sound stupid if it is not possible please kindly reply.
    I want to do this to print two documents(values) with a single command (parameter)
    Anybody please help quickly,
    Now, I have 2 tables from different queries. I have a print (HTML written) option in my WEB Template
    JAVA PROGRAM:
    <param name="QUERY" value="REPORT_TEST1"/>
    function PrintReport(typePaper) {
    document.title ='Report';
    if (typePaper == "0")
    {var CurrentReportName = '&?mp=U&ptot=1&rtot=0&psize=' + escape(typePaper) + '&fsize=' + escape('39') + '&qtitle=' + escape(document.title);};
    if (typePaper == "1")
    {var CurrentReportName = '&?mp=U&ptot=1&rtot=0&psize=' + escape(typePaper) + '&fsize=' + escape('52') + '&qtitle=' + escape(document.title);};
    CurrentReportName += '&ASOFDATE=' + escape(AsOfLabel.innerText);
    var openCMD='<SAP_BW_URL>';
    openCMD += '&DATA_PROVIDER=REPORT_TEST1&TEMPLATE_ID=DPW_PRINT_PAGE&CMD=RELEASE_DATA_PROVIDER';
    openCMD += CurrentReportName;
    openWindow(openCMD,'MainTitleNow',800,600);
    The data provider here is REPORT_TEST1. Now it only prints the corresponding data for the data proviedr 1 i.e., REPORT_TEST1. I have a second table whose data comes from the data provider 2 when i use this HTML to print I want the second table contents from the data provider 2 (REPORT_TEST2)also to be printed simlutaneously.
    Please help.
    THANX A LOT,
    SRINI

    Hi,
    Try assigning two values seperated by a delimiter ( say '|') to the same parameter.
    In the function get the parameter value and seperate the values using the same delimiter.
    <param name="QUERY" value="REPORT_TEST1|REPORT_TEST2"/>
    Regards,
    Uma

  • XML for Analysis parser: The 'Domain\User' value of the 'EffectiveUserName' XML for Analysis property is not valid.

    hi 
    i have sharepoint 2013 enterprise over sql server 2012 standard, and i want to create some reports trhought excel services and performance point using EffectiveUserName feature, but right actually my environment is not working, when a configure an excel
    to read a SSAS cube from my local machine the rol is ok, but when i published the excel and try to update from Internet Explorer this error is presenting
    XML for Analysis parser: The Domain\User' value of the 'EffectiveUserName' XML for Analysis property is not valid.
    Anybody can helpme is urgent find out for some solution
    thanks a lot

    Turns out that you need the SP Farm service account to be an admin on the SSAS server as well.  That fixed the problem for us.
    MS: Please update your documentation :)

  • How to assign default values to "Start task process" SPD2013 action

    I am creating a task in SPD 2013 list workflow using the "Start a task process" action. I have the ContentTypeId field set as i need to have some specific fields to be displayed in the task form.
    Is there anyway to assign values to these fields?. My goal here is to fetch some values from the "currentItem" fields and display in the Task form during the approval. So that the Approvar don't need to go and see the actual list item.

    Hi,
    If you would like to display fields about current item in Task form, please click
    these user in Workflow, and
    Start a Task Process dialog pops out. Then click Open editor for body >
    Add or Change Look up, then you could retrieve field data.
    For clearly:
    Regards,
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected] .
    Rebecca Tu
    TechNet Community Support

  • How to assign a value to the viewcriteria attribute from backing bean ?

    Hi,
    I have a readonly VO with the following query
    select attr1,attr2, attr3, attr4
    from sometable
    I have a view criteria in the above VO something like
    attr1=
    and attr2=
    I have dragged and dropped this criteria on a Status.jsff page as query panel with table. So the user can search the records by manually entering the values in the query panel. Also, there is another page Main.jsff where, if the user clicks on a button, it redirects him to Status.jsff page carrying a numeric value from the Main.jsff page. Now I have to assign this numeric value to "attr1" of the view criteria and execute this VO and show the updated results in the Status.jsff page.
    I used the below code :
    ViewObject vo = appModule.findViewObject("VOName");
    ViewCriteria criteria = vo.getViewCriteriaManager().getViewCriteria("CriteriaName");
    criteria.getVariableManager().setVariableValue("attr1", numericValue);
    vo.applyViewCriteria(criteria);
    vo.executeQuery();
    For the above code, i got an error saying that Variable "attr1" not defined in "VOName"
    Then i tried setting simple where clause
    vo.setWhereClause("attr1="+numericValue);
    vo.executeQuery();
    For this code, i got an error saying that SQL error during statement preparation.Statement: SELECT * FROM (select attr1 ,attr2,attr3,attr4,from VOName) QRSLT WHERE (attr1=1234)
    Please let me know the solution to this problem.

    Thank you all for the suggestions.
    The idea of Bind Variable works to query the criteria. But I have a Status.jsff page where User can even manually enter the attr1 value and query the results. When I added a bind variable to my VO, one extra input text field with the Bind variable name got added to the query panel in Status.jsff page. Also the table in the page did not show any results even after performing the executeQuery() on the VO(as per the steps explained in the Andrejus blog link that Navneeth has provided)
    Please suggest

  • Assigning of values to the charecteristics while doing GR

    Dear Gurus
    I have created a charecteristic and assigned it to a class of classtype 23 (batch class).I assigned this class to a material.Now while doing GR of this material through TCODE MB1C and movement type 561 the system is giving the automatic batch number.But it is not giving any options for assigning  the values for the charecteristic that I have kept in the class.How to assign the value while doing GR ?.I am able to assign the value by going to TCODE MSC2N.
    Regards
    Sandip Sarkar

    Hi Sandip,
    One option will be mark all those characteristics as Entry Required in T.code CT04.
    So that you will get a warning msg. during GR if value is not maintain.
    Msg. No is LB045 and msg is,
    The characteristic values for the batch are incomplete.
    If required you can convert that warning msg to Error also.
    You can do it by using T.code OCHS.
    But keep notice that you have to go that Classification tab manually - there is no other option in
    Regards,
    Dhaval

  • Assigning variable values in the virtual key figures Badi

    Hi,
    I'm currently using the virtual chars and key figures RSR_OLAP_BADI to calculate days late as 0NETDUEDATE - sy-datum. This works fine, but the query actually uses variable 0P_KEYDT to determine the key date (set in restricted key figures so not directly).
    I want to use this key date variable value rather than the system date to calculate Days Late in the CALCULATE method of the Badi. In the old user exits I could have retrieved the value from internal table i_t_var_range in the variables user exit ZXRSRU01 and stored it globally.
    Does anyone know how to get a query variable value within the RSR_OLAP_BADI Badi? I've tried using BAPI_REPPROV_GETVARIABLES but don't know how to pick up the session id to make it work. Is there a BADI equivalent of EXIT_SAPLRRS0_001?
    I'm sure one of you out there has the answer!
    Thanks,
    Stuart

    Hi József
    Yes I have, I think using SAP's white paper on virtual characteristics and key figures.
    My only outstanding question would be: is there a replacement BADI for the variables user exit and if not why not, since BADIs are supposed to be the preferred way now?

  • Reg: Access the container element value inside the Task's description tab

    Hi All,
          I need to call one of my container element into the task's description tab as text symbols.
    Please let me know how to do it.
    Regards,
    Selva.

    define an importing element in the task container.
    map this importing element with the element in the workflow container.
    now you can use this task container element in your description text box. (method exxplained in the previous post to this problem)
    rgds,

  • How to assign a value of the bean to a js variable.

    Hi,
    Im getting some values from the DB which is stored in a list , Now the list is sent across to the jsp through the bean.
    I need to get the length of the list
    I tried something like this.
    <script>         
    var size = <% rmaLicenseTransferForm.slfextUiElements.size(); %>
    </script>rmaLicenseTransferForm is the name of the formBean and slfextUiElements is the name of the list.
    I guess this wont work....by the way i using struts framework.....
    Thanks

    Use the JSTL fn:length tag.

  • How to assign date value in the report

    Hi,
    I want to compared between two dates. One date is dynamic and other one is fixed.
    for example Date1 = today's date
    Date2 = 12/31/9999
    How do i fix the date2 in the report.
    Please any one help me
    Thanks & Regards
    Jagannadha Raju

    you can use default values in the properties of the date variable that will allow it to be the data yo uwant it to be
    the 2nd date which is current use sap provided variable current data on it as restrickted value( Not default).
    hope that helps

  • Assign initial values to starting task

    Hi,
    I have defined workflow, which starts when Goods receipt occurs. In my WF container I have an element with type ZMKPF, which stores values about GR. After the completion of GR, a number of agents receive work item with the proposal to post invoice.
    If user clicks to this proposal, task with element ZBUS2081 and "create" method starts. Now I need to populate fields in starting TCODE MIRO with initial values. For example, I need to put DOC_DATE in zbus2081 from zmkpf. Is it possible? Is it right approach or I should look for enhancements not linked with workflow?

    Hi, Рустем!
    I suppose, there are both workflow-specific and MIRO-specific things to do to implement this requirement.
    As I get it, your method CREATE looks something like this now:
    CALL TRANSACTION 'MIRO'.
    To pass defaults you might change it (or create another method) like this:
    (1) get defaults from the workflow
    (2) put defaults into memory or set\get parameters so that MIRO could use the values as defaults
    CALL TRANSACTION 'MIRO'.
    The first part is workflow-specific - you'll have to add some parameters to your BOR method to pass the values. Have a look at method BUS2081.CreateFromData as an example.
    The second part is MIRO-specific, which is beyond this forum. Probably, this can help: Default Values In Miro Transaction. | SCN

  • How to assign a value to the page variable to enable partial page rendering

    This is part of my code:
    <bc4j:rootAppModuleScope name="App1"
    rendered="on@ctrl:page">
    Now, I want to change the value of "on@ctrl:page" to "true" after user click a button so that part of the page will be displayed. But how do I assign the value to "on@ctrl:page". I tried to put the followings in my even handler:
    <bc4j:setPageProperty name="on" value="true">
    <bc4j:parameter name="on" />
    </bc4j:setPageProperty>
    But it doesn't work. Could someone pls tell me how I should do it.
    Thanks a lot!
    Ling

    You should do is:
    in your event handle codes,you add the list:
    public static EventResult eventname(
    BajaContext context,
    Page page,
    PageEvent event) throws Throwable
    EventResult result = new EventResult(page);
    result.setProperty("on","true");//or "false"
    return result;
    then,
    change
    rendered="on@ctrl:page" -> data:rendered="on@ctrl:eventResult"
    also ,you should see the 5th part of 'UIX Developer's Help'

Maybe you are looking for

  • Contract account not found and replicated to ISU

    Hi Experts, Our users created s3 contract account in the Production system. But upon searching for 2 of them they are not able to find these two contract accounts in CRM as well on ISU side.I have also checked the queues and Bdocs if any one of them

  • I cannot access the service I have paid for!

    I cannot convert adobe pdf to excel - error message "error occured while trying to access service"  This goes into spin mode for about 45 minutes and I get the same message every time.  There is not even a number to call for help.  Can you please hel

  • Array data in formula node

    I want to take the Y value (being the amplitute) from the input signal and put it into a formula node. I keep getting the error signal as in the attached VI. Is there a way of seperating the value in labview? Attachments: Formula signal.vi ‏32 KB

  • Error in billing data

    hi experts, i got the folling error like 4507835 - it seems that some customers are missing from the non trade billings, IC0071 and IC0075 (maybe there are more?) - example is the total Q2 non trade billings for MA205 and MA206, we were expecting to

  • PP knowledge and process

    Hello Guru, Can anyone help me explain the functions and how it does work for SAP PP, for more adept knowledge in this module: 1. demand management 2. MRP/MPS/LTP 3. difference of discrete and repetitive manufacturing 4. advantage of SAP PP in specif