Sharepoint 2013 obtain alternative value for outcome local variable

  When a user either rejects or accepts a task that they have been assigned
to in the 'start a process action task, the outcome local variable value is either 0 or 1.    Right now I am updating a custom list with the value obtained from the local variable called 'outcome'. Is there a way to obtain the outcome value
as 'rejected' or 'accepted' instead of 0 or 1? If so can you tell me how to change the outcome values?

Hi wendy,
For your issue, you can add a condition in your workflow as below:
Then you can update a custom list with 'rejected' or 'accepted' based on the value obtained from the local variable called 'outcome'.
Another way, you can create a custom Task Outcome with the value you want to use:
http://sivarajan.me/post/SharePoint-2013-Designer-Workflow-Creating-a-Custom-Task-Outcome-Part-3
Thanks,
Eric
Forum Support
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]
Eric Tao
TechNet Community Support

Similar Messages

  • How to assign bean value to a local variable in JSP using struts.

    Hi everybody!
    I've a problem that puzzled me on how to assign a bean value to a local variable like String in JSP using struts.
    we can have someting like this to display the value
    <bean:write name="detailService" property="status" />or
    <bean:define id="theStatus" name="detailService" property="status"/>
         This is country: <%=theStatus%>but an error occured when I tried like this:
    String currentStatus = "<bean:define id="theStatus" name="detailService" property="status"/>";
    or
    String currentStatus = "<bean:write name="detailService" property="status" />";Is there a way to do this?.....
    Any help pretty much appreciated

    Java != JSP.
    The <bean:define> and <bean:write> tags are custom tags meant to appear in the HTML section of a JSP file, as opposed to the scriptlet section. They actually get turned into java code as part of the translation process.
    The <bean:write> tag naturally just writes out what you tell it to.
    The <bean:define> tag defines a local variable, and gives it a value.
    this should do it.
    <bean:define id="theStatus" name="detailService" property="status" type="java.lang.String"/>
    <%
      String currentStatus = theStatus;
    %>With the advent of JSTL, you shouldn't really need to use scriptlet code anymore. Personally I am for 0% scriptlet code in any jsp I write.

  • How to save a new value for Set command variable

    I am using SET [variable = [String]] to update Set variable. It works fine. But when I restart MSDOS Prompt, I get old value for variable.
    How to save a new value for SET command variable?
    I am using Windows XP.

    And this has to do with java how?

  • Can we set a default value for the container variable in BPM?

    Can we set a default value for the container variable.?
    Suppose if i have a loop step and i have given a container variable i=5 as end condition.What value will it take during its first execution?Can we set the value for container before a recieve step?

    Hi
    Define Container Variable of Type integer and Category Simple Type .Use Condtion in Loop.
    In Container Operation Step Assign value and Use Expression to
    Increase or Decrease Valus according to your operation.
    look Pattern 4 in this blog to understand Container Operation
    /people/sharathchandra.girmaji/blog/2008/09/11/bpm-with-patterns-explained-part-1

  • SharePoint 2013 allows downloaded even for users with "view only" permissions

    I have a new on premises SharePoint 2013 server and assigned a single user "view only" rights to a document library. In the "permission levels" window, this permission is described as "Can view pages, list items,
    and documents. Document types with server-side file handlers can be viewed in the browser but not downloaded."
    Once I gave the user that permission, I noticed he was able to view documents in the library but the "but not downloaded" part does not seem to be working. The user can still download documents to his local desktop and SharePoint does not prevent
    it. The "download a copy" option appears and the user can use it.
    My goal is to make all documents in this library such that users can only view them in the browser and not download a local copy. How I do that?
    Thanks for your help.

    Not entirely positive :-) 
    However, you have no server-side handlers in place today without WAC installed, so that portion of the View Only permission wouldn't be applicable.
    Note that WAC must be installed on its own server and if your SharePoint server is extranet or public facing, it needs to have a valid, public SSL certificate. Also, WAC should always be run over SSL regardless if it is public facing or not as the token
    sent between the SharePoint server and WAC is the same as having a username and password for the user making the request.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • SharePoint 2013 SQL Server Edition for BI Features - must be on SharePoint SQL Server?

    I need to install SQL Server 2012 for a new SharePoint 2013 installation.
    Let's say I want to use the BI features of SharePoint 2013 like PowerView.
    I already have a separate SQL Server running SQL Server 2012 BI Edition that is used as the database server for our data warehouse and some apps.  But this SQL Server will not be used to house the SharePoint 2013 databases.
    Do I need to install SQL Server 2013 BI Edition on the SharePoint 2013 SQL Server (where the SharePoint 2013 databases will be housed) or can I used SQL Server 2013 Standard Edition on that server and utilize the BI Edition on the data warehouse server to
    use the BI features of SharePoint?

    Yes, BI or Enterprise must be installed on the SharePoint server in order to integrate SSRS. PowerPivot can be on a separate server with just a download (http://www.microsoft.com/en-us/download/details.aspx?id=35577) for certain components residing on
    the SharePoint server. This will give you PowerView, as well.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Person or Group colum in the SharePoint list retrieves empty value for Mobile phone property

    Person or Group colum in the SharePoint list retrieves empty Mobile phone for some users although thoses users have Mobile Phone values in the User Proifles. This happens only for some users. For some users  it shows Mobile phone for
    some days and after some days it dess not show Mobile Phone though Mobile Phone entries are in the User Profiles for those users.
    Appreciate any help to fix this.
    Thanks in Advance!
    Narayana Reddy
    Narayana Reddy G

    Hi Narayana,
    According to your description, my understanding is that the person or group column retrieved an empty value for Mobile phone in SharePoint 2010.
    Please go to the hidden User Information List using
    http://<SiteCollectionUrl>/_catalogs/users/detail.aspx , check the value of Mobile phone.
    Please go to CA->Monitoring->Review job definitions, scroll to User Profile to SharePoint Full Synchronization
    and
    User Profile to SharePoint Quick Synchronization, make sure they work well.
    In addition, please take a look at :
    http://donalconlon.wordpress.com/2012/03/02/sharepoint-user-information-list-is-not-being-updated/
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • How to Enable Anonymous access to a SharePoint 2013 site e.g for specific site,list etc..

    Hi All,
          I'm working on an extranet and i would like users to be able to fill a form on the site.
    Since i'm going to use sharepoint 2013 how can i configure sharepoint to use both anonymous access and windows authentication at the same time.
    I know for sure it can be done but what can be allowed for anonymous access e.g specific list site etc..
    I would need to make some area available as anonymous e.g a whole site as  i would like to brand it a little to host the form.Any tips of who has configured similar would be appreciated

    Hi Patrick,
    Thanks for posting your query, Kindly follow the below mentioned steps to enable Anonymous access to a SharePoint 2013 site.
    In Central Administration, under Application Management., click Manage web applications.
    Select the web application you want to enable anonymous access for.
    In the Security group on the ribbon, click Authentication Providers.
    In the Authentication Providers dialog box, under Zone, click Default.
    On the Edit Authentication page, select the Enable anonymous access check box.
    Click Save.
    Close the Authentication Providers dialog box.
    Also, browse the below mentioned URLs for more details
    http://blog.cloudshare.com/2012/10/15/how-to-enable-anonymous-access-to-a-sharepoint-2013-site/
    http://www.sharepoint-journey.com/how-to-enable-anonymous-access-in-sharepoint-2013.html
    I hope this is helpful to you, mark it as Helpful.
    If this works, Please mark it as Answered.
    Regards,
    Dharmendra Singh (MCPD-EA | MCTS)
    Blog : http://sharepoint-community.net/profile/DharmendraSingh

  • What SharePoint 2013 doesn't support for Excel

    Hi,
    it seems that SharePoint 2013 continues to don't support the same Excel features as SharePoint 2010. Fe, macro, data validation, cell editing, etc.
    This is a bad notice for who use SharePoint as delivery platform for BI needs.
    Now, I'd like to know what SharePoint 2013 has improved to support Excel and what new releases will support?
    Thanks

    I think these articles may help:
    http://technet.microsoft.com/en-us/library/ee424405(v=office.15).aspx
    http://technet.microsoft.com/en-us/library/jj219751(v=office.15).aspx
    Andy Wessendorf SharePoint Developer II | Rackspace [email protected]

  • Enable Sharepoint 2013 SkyDrive Pro Synch for some site

    Good day,
    How do you enable SkyDrive pro for some libraries, i have only found the switch that enables for all or for none. Can this be configured via Powershell ? and how thanks

    Hi Franciske,
    According to your description, my understanding is that you want to sync multiple SharePoint 2013 libraries with SkyDrive Pro.
    For enabling SkyDrive Pro for some SharePoint libraries, you can click ‘SYNC’ at the top of SharePoint web site, then you can select which library is synchronized to SkyDrive Pro. Or you can use SkyDrive Pro directly by right-clicking it and selecting ‘Sync
    a new library’, then type the URL of the library that you want to sync.
    You only sync one library to SkyDrive Pro at once time. So , for synchronizing multiple libraries, you need to sync multiple times.
    More information, please refer to the links:
    http://www.pallareviews.com/1113/sharepoint-2013-office-15-skydrive-sync-now-capabilities/
    http://support.sherweb.com/Faqs/Show/how-to-sync-your-sharepoint-2010-document-libraries-with-skydrive-pro
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • Sharepoint 2013 master page branding for public site

    We have created one SharePoint 2013 public site in office 365.
    We create a custom master page for entire site.when i am login with particular user then its fine.but for anonymous user publishing page design and content not properly view.
    please provide me proper solution for publishing page layout that works with anonymous user.

    You should be able to configure this within the library settings of the master page library as below.
    Steven Andrews
    SharePoint Business Analyst: LiveNation Entertainment
    Blog: baron72.wordpress.com
    Twitter: Follow @backpackerd00d
    My Wiki Articles:
    CodePlex Corner Series
    Please remember to mark your question as "answered" if this solves (or helps) your problem.

  • How to specify a unique integer for each local variable defined in TestStand?

    I have a .net application that reads all TestStand local variables, but for the .net application each local variable should have a unique integer number. Iterating through the locals and storing the index is not a good solution, because if a local variable is moved or deleted, the index will change.
    Does anyone know how to do this in TestStand or having an idea how to this in my .net application?
    Thanks.

    Thanks Doug for your reply. Using a GUID is not an option because this ID is too long. I will try to explain why I need this ID for. I have a lot of C# code that generates code to deal with a lot of instruments. For example to configure a device, user defined variables can be used to specify some settings or to store results. These variables are not stored in the generated code with a name but with an integer number. Now I want to try to be use all our existing device driver code with the TestStand sequencer. So, I need a translation between the name of a TestStand local variable and an integer number. After constructing the interface to my code I want to read all the variables from TestStand and now I need the integer ID to do the mapping to my variables. I know that I can use use your proposition 2 by encoding the unique ID into the name of the variable and parse the name of the variable to get it back, but this is not an automated way. This will be rather difficult if there are several hundreds of variables. For this reason I am looking for an alternative way. Looking forward for your response. Best regards   

  • To obtain the value of a session variable in a JAVA class

    Hello again.
    I have a JSP page, in witch I kept a session variable with a value, and later (in the same JSP page) I use a JAVA class to obtain the value stored in this session variable (I make this to verify that this works well and that this is possible)
    When I run the file, I obtain the following error:
    excepci�n
    org.apache.jasper.JasperException
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:372)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    causa ra�z
    java.lang.NullPointerException
         ConfigAnlsEspect.Config.<init>(Config.java:18)
         org.apache.jsp.admin.PaleoPlot.configAnEsp_jsp._jspService(configAnEsp_jsp.java:103)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)And my code is:
    ------------->The JSP file:<-----------------
    session.setAttribute("VarSession", "empty");
    <%@ page import="ConfigAnlsEspect.Config"%>
    <%
    Config ObjConfigAE = new Config();
    String valorDev = ObjConfigAE.getValueSession();
    out.println("<br>Returned= -->"+valorDev+"<--<br>");
    %>
    ------------->The JAVA class:<-----------------
    package ConfigAnlsEspect;
    import java.io.*;
    import java.net.*;
    import java.util.*;
    import java.text.*;
    import javax.servlet.http.HttpSession;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class Config extends HttpServlet{
         HttpSession session = null;
         String valor = null;
         public Config (){
              valor = (String)session.getAttribute("VarSession");
         public String getValueSession(){     
              return valor;
    }Why I obtain java.lang.NullPointerException ??
    Thanks very much

    I have solved the problem, doing (in the java class):
    package ConfigAnlsEspect;
    import java.io.*;
    import java.net.*;
    import java.util.*;
    import java.text.*;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import javax.servlet.http.HttpSession;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class Config extends HttpServlet{
         HttpSession session;
         String valor = null;
         public Config (HttpSession session){
              this.session = session;
              valor = (String)this.session.getAttribute("VarSession");
         public String getValueSession(){     
              return valor;
    }is it rigth ??

  • Value for user-exit variable  is invalid

    Hi Gurus,
    My Value for a Fiscal Year Prd returns a invalid value for the 12th month of each year( for Example 12/2004, returns the error "Value 200313 for User-exit variable is invalid.
    This is the code that is being used.
    *Rolling 12 months for entered month
    when 'ZCALM12'.
          clear: v_mth, v_yr.
          REFRESH E_T_RANGE.
          CLEAR L_S_RANGE.
          LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE
                   WHERE VNAM = 'ZCALMON'.
            exit.
          endloop.
          v_yr = LOC_VAR_RANGE-LOW+0(4) - 1.
          v_mth = LOC_VAR_RANGE-LOW+4(2) + 1.
          L_S_RANGE-SIGN = 'I'.
          L_S_RANGE-OPT = 'BT'.
          concatenate v_yr v_mth into L_S_RANGE-LOW.
          L_S_RANGE-HIGH = LOC_VAR_RANGE-LOW.
          APPEND L_S_RANGE TO E_T_RANGE.
    Thanks in Advance.

    Hi Ravi,
    when 'ZCALM12'.
    clear: v_mth, v_yr.
    REFRESH E_T_RANGE.
    CLEAR L_S_RANGE.
    LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE
    WHERE VNAM = 'ZCALMON'.
    exit.
    endloop.
    <b>-->> Here, you are not checking any thing.</b> <i>On which logic you are reducing year by one and increasing month by 1..?</i>
    v_yr = LOC_VAR_RANGE-LOW+0(4) - 1.
    v_mth = LOC_VAR_RANGE-LOW+4(2) + 1.
    -->><i>IF month is 200512 you will get output from above code is :</i> please check.
    v_yr = 2005 - 1 = 2004
    v_mth = 12 +1 = 13.
    L_S_RANGE-SIGN = 'I'.
    L_S_RANGE-OPT = 'BT'.
    concatenate v_yr v_mth into L_S_RANGE-LOW.
    L_S_RANGE-HIGH = LOC_VAR_RANGE-LOW.
    APPEND L_S_RANGE TO E_T_RANGE.
    Try to debug the code by keeping break point after When. and execute the report, you will be debugging mode.
    Hope it Helps
    Srini

  • Cannot determine a value for an exit variable in the Formula fn w/p empty

    Hi All,
    We have an exit variable Z_EX_AR_VAR, the would read a hierarchy node input variable (Z_HN_AREA), which is furthur based on a hierarchy input variable (Z_HR_AREA), and wouuld return the first leaf of it.
    We have implemented a input ready query based on this exit variable and it is getting the first node and is input ready and saves the data to the database.
    It works well in the query when we have filtered the characteristic with the hier and hier node and the exit variables.
    We need to use the same value to be used in the Fox function.
    As per the requirement, the Fox function has to process the zero (empty) records.
    So, we have customized formula function to process emptry records.
    And in the function of type formula function that processes empty records, we have used the following statement.
    DATA AR type ZAREA.
    AR = VARI ( Z_HN_AREA, HIENM=Z_HR_AREA, 1).
    We are getting the following error message:
    Cannot determine a value for the variable Z_HN_AREA.
    Planning function ended with errors.
    What is that we are doing wrong here. Is it with the 'Process Empty Records' function that cannot read the variable.
    How come this variable is working in the query and it is not working in the FOX.
    We have done the variable to variable binding in the WAD also. Still the same problem.
    Any ideas? Thanks in advance.
    Best Regards,
    - Shashi
    Thanks in '

    Hi All,
    Michael Wolf from SAP confirmed that we cannot use VARiable read functions in the customized Formula function that processes the zero (empty records) as he spoke to SAP AG about the issue.
    Hence we have made a work around by creating a valid record using a dummy key figure in the Custom Formula function that processes empty records so that in the next step, the regular Formula function would get executed, where we could access the variable values by using VARV, VARI functions.
    Thanks,
    - Shashi

Maybe you are looking for

  • Uploading data in infotype 0024

    Hi all, I want to upload datain infotype 0024 - qualifications tab. Now the issue here is that this infotype contains a table control in which the data is not getting stored in infotype 0024 but some place else instead. Please suggest how to tackel t

  • Iphone already synced with another itunes library?!?

    Hi Guys, I hope somebody can help me.. I reacently needed to format my computer. And after the format my I was unable to backup or sync my ihone to itunes. itunes tells me that my iphone is already synced to another itunes library, and to sync i need

  • SYSDATE format

    Hi, I have to insert SYSDATE in a table (field type - Date) in format 'yyyy-mm-dd hh12:mi:ss AM'. I have tried "select to_date(sysdate, 'yyyy-mm-dd hh12:mi:ss AM') from dual " and the result was incorrect - 0008.01.09 whereas the result for "select s

  • Quotation - Evaluating Technical in SAP

    Experts, Can anyone share how to do the evaluation of technical specification for  quotations from different vendors in SAP, how can be done in SAP? Please suggest me your advice and views regarding in this Thanks in Advance Saravanan

  • The microphone stop working

    the microphone stop working