Filtering on lookup columns: wrong behavior with indexed columns!

Hi.
I already posted related problems. As one of my customers get other problems, I come back with my philosophical threads...
So: got a first parent list; a child list referencing parent list using 'X' lookup column.
If I got X indexed: filtering the child list on a value may give me several identical lines if child element has versions...
Other problem: I am not able to filter a view if the field is performed on a lookup linked to a calculated column (no result).
Has someone a solution for these 2 topics?

Hi,
Would you mind providing more details about your first question? I’m not quite clear about how to reproduce the issue in my environment.
For the second question, we can reproduce this issue in a similar way.
It seems that lookup on calculated column will cause some unknown issue and there are no workarounds at this moment.
If there is a real need to filter the Lookup column, maybe we can find other workarounds instead of using Lookup column refer to the Calculated column according to the specific
business requirement.
What’s more, if you have several questions to ask, I suggest you post them into every single
thread to make others easier to focus on one question in one thread.
Best regards
Patrick Liang
TechNet Community Support

Similar Messages

  • List Views displaying error - when using Lookup column for filtering ( which are indexed )

    I'm trying to filter a large list that has more items than the list view threshold. The list has a lookup column that is indexed. If I  try to filter by other columns, the view works fine as long as it returns fewer than 5,000 items. However, if
    I try to filter by the lookup column, I get the error about not being able to display the items because the list is too large.
    The views are returning items which are less than threshold value , but still I am seeing the same issue.I Created some pages and added this filtered views to the pages it is showing below error
    This view cannot be displayed because it exceeds the list view threshold ....
    IF I navigate the view in the list it's returning zero records with out any error page . But no records. 
    Is there a known issue with filtering large lists by lookup column? Any other troubleshooting suggestions? Everything I'm doing here is through the web interface.

    Thank you for your reply. Yeah it’s default limit. But when I created view based on some filter condition on lookup column it’s not working.
    For example:
    Created a View based on Lookup column DEPT using filter condition Dept = HR , returned 1400 items
    Created another View based on Lookup column DEPT using filter condition Dept=Admin , returned 3600 items
    Adding this list view webparts to the page also working fine , displaying the results .
    After adding one item to this list , both the views are not displaying any results. Now the count is 5001.(it exceeded the list view threshold)
    The page where the list view web parts are added throwing the below error.
    This view cannot be displayed because it exceeds the list view threshold (5000 items) enforced by the administrator.
    To view items, try selecting another view or creating a new view. If you do not have sufficient permissions to create views for this list, ask your administrator to modify
    the view so that it conforms to the list view threshold.
    Learn about
    creating views for large lists.
    I am experiencing this problem only with lookup columns, Choice and site columns are working fine in this same situation .
    Thanks,

  • How do I strip special characters in SSRS for Lookup columns with Multiple Selections?

    Hello all,
    Please let me know if I am posting in the wrong location.
    I am building reports against my SharePoint List (actually a library).  1 of the columns I want to display in the report is a Lookup column that allows Multiple lookups.  Problem is that the SharePoint Web Service call GetListItems returns the values with the item id and ";#" combination.  For example:
    122;#Apple;#112;#Carrot
    but I need the following format:
    Apple, Carrot
    Following this great article posting - http://www.sharepointu.com/dwise/archive/2007/11/28/connecting-sql-reporting-services-to-a-sharepoint-list-redux.aspx
    I was able to drop the first part using the following code
    function GetNameFromSP(pFullID as string) as string
      dim strRet as string
      dim iPos as integer
      if pFullID = nothing then return ""
      if pFullID = "" then return ""
      iPos = Instr(pFullID, ";")
      if iPos < 1 then return pFullID
      return Mid(pFullID, iPos +2)
    end function
    But it does not replace the subsquent id references.
    Anyone done this before that can provide me tips?
    Thanks!
    Jeff Kozloff
    Project Manager, Solutions Team
    Bamboo Solutions
    http://www.bamboosolutions.com

    All,
    Here is the updated code that resolves my issue (a coworker of mine provided the following code):
    Function TrimMultiLookup(ByVal s As String) As String
            Dim combStr As String
            Dim array As String()
            Dim c As Integer
            combStr = String.Empty
            array = Split(s, ";#")
            Console.WriteLine(array.Length)
            For c = 1 To array.Length - 1 Step 2
                combStr += array(c) + ", "
            Next
            Return Left(combStr, combStr.Length - 2)
        End Function
    Jeff Kozloff
    Project Manager, Solutions Team
    Bamboo Solutions
    http://www.bamboosolutions.com

  • Site lookup columns that contain a list with lookup columns help needed

    Here is the theoretical scenario,
    I have a list called Shirts. The list contains name,color, and size columns.
    I have a list called Pants This list contains name, color and size columns as well.
    These two lists are contained at the root level of the site. I created site lookup columns for these two lists and used the name, color and size columns as additional fields on both lookup columns. Lets call these lkupPants and lkupShirts.
    On a sub site I have a list called people. It contains name,date,lkupPants and lkupShirts columns.
    The list looks something like this is dataview:
    Name Date lkupPantsName lkupPantsColor lkupPantsSize lkupShirtName lkupShirtColor lkupShirtSize
    This is the behavior I expected. The additional columns selected in the site lookup columns appear in the list.
    I now create another site lookup column this one is based on the list called people at this subsite level. When creating the site lookup column, the data from lkupPants and lkupShirts are not available.
    How can one create a lookup column that contains list data and any lookup columns contained in the list as additional fields.
    If anyone can see where I am going with this, can they provide another means to accomplish what I am trying to do?
    fr0stsp1re

    create additional columns in people list.  look up values are available in the workflow so populate the additional columns with the values you need.  this will allow you to create another look up column based on this list and all the fields needed.
     just a thought.
    kashif

  • Issue with site template that contains a document library with a lookup column to another list

    I have a document library called Proposals with a lookup column in the same site called Document Categories (multiple values allowed).  It points to a list called document categories.  I have several sample documents in the Proposal Library that
    contain valid document categories.  When I save the site as a template and instantiate it, everything is fine.  However, when I remove the sample documents from the Proposal library and rebuild the site template, I can't get the  template to
    create another site.  I get an error Unable To Open Lookup List.
    I don't understand why I can instantiate a site from the template when there's sample data, but not when the document library containing the lookup column is empty.
    Does SharePoint 2010 site template support lookup columns?
    Why would it make a difference if the library is empty?
    Thanks

    Hi,
    According to your description, my understanding is that the error occurred when you created a site from the template with no files in the document library.
    I tested the same scenario per your post, and I can create a site from the template with no files in the document library with no errors.
    To solve this issue, I recommend to verify the things below:
    Did you save the site as a template with Include Content checked? If yes, I recommend to test if it works when saving the site as a template with Include Content unchecked.
    Test the same scenario with a new site to narrow the issue scope.
    I also recommend to check the event log and ULS log to see if anything unexpected occurred.
    To check event log, click the Start button and type “Event Viewer” in the Search box.
    For SharePoint 2010, by default, ULS log is at C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\LOGS.
    You can check the ULS log by the methods here:
    http://blogs.msdn.com/b/opal/archive/2009/12/22/uls-viewer-for-sharepoint-2010-troubleshooting.aspx
    http://msdn.microsoft.com/en-us/library/gg193966(v=office.14).aspx
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • How to query the sharepoint list with using lookup column

    hi,
    I have requrement like below
     List A
    Title                         Postionid(Lookup)       PositionDescription
    [email protected]             1                              
    xxxx
    [email protected]             1                               
    xxx
    [email protected]           1                                
    xxx
    [email protected]                    2                               
    sss
    [email protected]             2                               
    www
    List B
    Title                         fistname  lastname age fathername
    [email protected]         x             x             10      y
    [email protected]         p            p               12      p
    [email protected]               q           q                12    
    y
     here in List A positionid is lookup column i have creating one visual web part i am querying the List A using  query string as Positionid in that web part .finally what i want is i need date from list B on basis of corresponding position id here
    List A Title and List B title are same i need each candidate info how can i do it
    Srinivas

    Hello,
    Still you have not told that whether Position id is there in listB or not. Anyway if Poistion id is not there in list B then you have to use Title column of listA to gete data from ListB. Look at sample code below. It will first get data from ListA,
    and use StringBuilder class to create dynamic CAML query because one Position id is having multiple values in listA.
    query.Query = "<Where><Eq><FieldRef Name='Postionid' /><Value Type='Lookup'>1</Value></Eq></Where>";
    SPListItemCollection items = list.GetItems(query);
    if(items.Count > 0)
    foreach(SPListItem item in items)
    string strTitle = Convert.Tostring(item["Title"]);
    //since listA is having multiple values for Postionid so you have to build a dynamic query here to get data from listB
    //Refer link to build dynamic query
    SPQuery listB = new SPQuery ();
    query.Query = stringbuilder;
    SPListItemCollection ListBitems = listB.GetItems(query);
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/2dfe5fd6-e556-4132-a35c-e9f240360307/issue-with-caml-query?forum=sharepointdevelopmentlegacy
    http://sharepoint.stackexchange.com/questions/69690/foreach-loop-inside-caml-query
    Above links will help you to create dynamic query (in your case you need to use multiple <OR> operator in listB.
    Hope it could help
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • Move sharepoint 2010 list to 2013 with lookup columns

    Hi all,
    Iam planning to move my sharepoint 2010 list to 2013.I done this using save site as template.But the look up columns are showing empty data.Can u please let me know the best solution to do this.
    Regards,
    Praveen

    The reason the lookup column doesn’t work anymore in your SharePoint 2013 list is because Save
    Site as Template, preserve all the list settings. Therefore, the lookup column still points to the original list which
    was located on your SharePoint 2010 list. The lookup column stores GUID of the web, list, and the field to which it points
    and GUID are unique IDs that identifies a list/library/site/feature in a farm.
    Using SharePoint Manager you can find the LookupList, LookupWebId and LookupField of
    your old SharePoint 2010 lookup column and compare it with your new 2013 lookup column. You will see the difference.
    There are two approach to get your values in lookup again.
    1(a). Create a new list and update the lookup values.
    1(b). Delete the lookup column and create a new lookup column and point it to the new list created in the above point.
    2. Update the SchemaXml property
    of the lookup column through SharePoint Manager.
    I will provide you with a good reference on how to use SharePoint Manager while managing your lookup columns. http://blog.johnsworkshop.net/moving-lists-with-lookup-columns-inside-your-site-collection/
    Please remember to click 'Mark as Answer' and Vote as Helpful if the reply answers your query.

  • Save site as template with lookup columns

    Hi,
    I created site template from my subsite where I use custom list with lookup columns and parent child list relationship, but If i create new subsite with the custom site template I get more errors:
    System.IO.FileNotFoundException: <nativehr>0x80070002</nativehr><nativestack></nativestack>, StackTrace:   
     at Microsoft.SharePoint.SPWeb.GetList(String strUrl)    
     at Microsoft.SharePoint.SPListInstanceElement.EnsureListExists(SPWeb web, Boolean bCreateFromSTP, Boolean bUserFeature)    
    Failed to instantiate list 'C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\Template\Features\HierarchyTasksList\hierarchy'
    Application error when access /_layouts/15/newsbweb.aspx, Error=<nativehr>0x8107058a</nativehr><nativestack></nativestack>Unable to perform the operation. Please try again.  
     at Microsoft.SharePoint.Library.SPRequestInternalClass.ApplyWebTemplate(String bstrUrl, String bstrWebTemplateContent, Int32 fWebTemplateContentFromSubweb, Int32 fDeleteGlobalListsWithWebTemplateContent, Int32 fIgnoreMissingFeatures, String& bstrWebTemplate,
    Int32& plWebTemplateId)    
     at Microsoft.SharePoint.Library.SPRequest.ApplyWebTemplate(String bstrUrl, String bstrWebTemplateContent, Int32 fWebTemplateContentFromSubweb, Int32 fDeleteGlobalListsWithWebTemplateContent, Int32 fIgnoreMissingFeatures, String& bstrWebTemplate, Int32&
    plWebTemplateId)
    Unknown SPRequest error occurred. More information: 0x80070002
    Can anyone help me, how can I create subsite what I can use more times?
    Thanks,
    Mykie

    Hi Tailorworld
    please try the power shell script because you are facing problumn with default content type feature
    Run the SharePoint 2010 Management Shell as Administrator.  
    Run the following command to disable the default content type feature:
    Disable-SPFeature –Identity ctypes –url http://SiteCollection
    Then enable the content type feature:
    Enable-SPFeature –Identity ctypes –url http://SiteCollection
    If you look at your content types, they should now all be there.  Try saving the subsite as a template again, it should succeed.
    --------OR----
    You can try Check the link
    http://sharepoint.stackexchange.com/questions/32076/unhandled-exception-when-saving-a-site-as-a-template
    https://support.office.com/en-ie/article/Save-a-SharePoint-site-as-a-template-5a4eb024-d1fa-4681-a4ac-e6bd1e3209ba
    Please mark the Answer and Vote me if you think that it will help you to resolved your issue

  • How to take list backup with lookup columns data in sharepoint 2010

    Hi friends,
    I have one issue on "Copy the list in one sitecollection to another sitecollection"
    I have one list like "ABC" and with lookup column "Status" this column is looked to anthor list columns
    My task is i want to Copy the same list with lookup columns with Data(lookup columns Data) in one site and restored in another site.
    Error  is Lookup columns Data is not coming.
    How to Copied list with lookup columns data to restored in another list?
    Badri

    i think there is no such method to move the list with lookup column. 
    couple of things which cause the failure, Number Source list may be not available on the target site collection, Column IDs / List IDs different from Site collection a to B.
    I would try to use the backup of site collection and restore it, i am not sure whether it will work not.
    i think copy the data from the lookup clomn in the excel, then move the list to different site collection with blank data then copy the data from excel to new list.
    check this one for another idea:
    http://blog.johnsworkshop.net/moving-lists-with-lookup-columns-inside-your-site-collection/
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • Sort Order of Lookup Column

    I have a list with look-up columns. 
    In particular, 'Market' is a look-up column, pulling the 'Title' column from a document library.
    The issue I have is that the 'Market' look-up column contents are not listed in alphabetical order when selecting the menu to sort/filter, however, they are in alphabetical order
    in the library they are being pulled from.... 
    What controls the sort behavior of look-up column contents?
    UPDATE: I have discovered that, by grouping the View by any column, the error disappears. Although this might be a work-around and provide context to an eventual solution, this is not a solution. 
    UPDATE 2: The key seems to be multi-value columns OR System Column (TYPE), require grouping to display sort order correctly. 
    Filtering by the type column (Type = xls ~ 7 items) does
    NOT resolve the issue 
    Filtering by the type column (Type = xls ~ 7 items)
    AND Grouping by
    single-value lookup column (Year = 2012 ~4 items) does resolve the issue.
    Filtering by a single-value lookup column  (Year = 2012 ~ 1001 items) does resolve the issue 
    Filtering by a multi-value lookup column (Sector = Residential ~ 418 items) does
    NOT resolve the issue
    Filtering by a multi-value lookup column (Sector = Residential ~ 418 items)
    AND Grouping by
    single-value lookup column (Year = 2010 ~96 items) does resolve the issue.
    - Rick

    Here is a way that worked for me.  I had a lookup column from a list to a document library.  When I opened the form up it sorted by title.  I created a new Data Connection in Infopath editing the list.  When I created the Data connection
    it gave me options which fields in the data connection and the ability to sort based on a field.  I then just pointed my drop down list to point to the new data connection.  This worked on ipad as well as IE9.  No code required and my google
    searching did not find this simple solution so putting here.

  • Query on a table with indexed date field

    I have a table with a date column which is indexed. If I run a query like "select column1 where date_field='20-JAN-04' for example it is fast and uses index.
    If I run select column1 where date < '20-JAN-04' it is slow and doesnt use the index. I logged a TAR and Oracle told me that this is to be expected as not using the index in this case is the most effiecient way of doing the query.
    Now my concept of an index is like the index of Yellow Pages(telephone directory) for example. In this example if I look for a name that is say "Halfords" or below, I can see all entries for Halfords and all the way to ZZZ in one block.
    I just cant see , in a common sense way why Oracle wont use the index in this type of query.
    George

    Using the concept of a telephone directory is wrong. In a telephone directory you have all information order by the name. However in your table (if it is not an IOT) you don't have all information/rows ordered by your date_field. Rather think at the document "Oracle9i Database Concepts" and it's index.
    Let's say you want to find all indexed words larger then "ISO SQL standard" (ok that doesn't make sense but it is just an example). So would it be faster to read the whole document or to lookup each word in the index and then read the entire page (Oracle block) to find the word.
    It's not allways easy to know in advance if the query will be faster over the index or a full table scan. what you need to do is to well analyze (dbms_stats) the table and it's index, in most cases Oracle chooses the right way. You may also use the hint /*+ index(table_name index_name) */ and will see if it would be faster over the index or not.
    A good document about that subject is:
    http://www.ioug.org/tech/IOUGinDefense.pdf
    HTH
    Maurice

  • Lookup column only return 201 items from external list

    I have a BCS external list which contains about 700 items. I already set the BCS Throttle limit to 50000 items (default) and 1000000 (max). I can view all 700 items in the external list.
    I created a regular lookup column in a custom list to lookup the external list. When I click the drop-down, it only returns the first 201 items with a red message "Warning: Too many results have
    been returned. This result set may be incomplete or truncated.". I need all items available for selection so set up a filer will not work for me.
    I just wonder if there is any work around for the issue. Many thanks.

    This is unfortunately the default behavior with external content type. The limit is set at 201.  You can however avoid this by setting appropriate filters to limit the number of results to less than 200. The user can use wildcards in their filter to
    more fine tune the results returned.
    Read more on how to set filters on external content type here:
    http://blogs.msdn.com/b/bcs/archive/2010/05/05/why-it-s-important-to-define-filters-for-a-good-picking-experience.aspx
    Thanks, Ransher Singh, MCP, MCTS | Click Vote As Helpful if you think that post is helpful in responding your question click Mark As Answer, if you think that this is your answer for your question.

  • REST API - Can't expand Title of lookup columns "System.ArgumentException : Value does not fall within the expected range"

    I have a list that has more than 12 columns of type lookup with more than 5000 items and I am using a date field as an indexed column so I can restrict the results to meet the list view threshold.  I am also using $select to restrict the columns to
    meet the lookup column threshold.
    If I run the query below it all works as expected:
    _api/web/Lists/MyList/items/?$Filter=Created gt '2015-03-10T05:00:00.000Z' and Created lt '2015-03-17T18:25:00.712Z'&$select=Lookup1/Id&$expand=Lookup1
    If I run this query it does not work:
    _api/web/Lists/MyList/items/?$Filter=Created gt '2015-03-10T05:00:00.000Z' and Created lt '2015-03-17T18:25:00.712Z'&$select=Lookup1/Title&$expand=Lookup1
    Error:
    <m:error xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">
    <m:code>-2147024809, System.ArgumentException</m:code>
    <m:message xml:lang="en-US">Value does not fall within the expected range.</m:message>
    </m:error>
    The lookup column "Lookup1" is using Title as the column's information and this should be working.  What is interesting is that changing the lookup threshold has no effect on this but raising the list item view limit does make it work.  The
    date range is selecting less than 5000 items.  So what am I missing here? I just want the Title for the lookup column and my query has about 10 items in it.

    Looking through the logs the error is thrown due to the following error messages:
    03/19/2015 08:26:12.12 w3wp.exe (0x6D34)
    0x7F38 SharePoint Foundation
    Fields 84h8
    High Field with internal name 'LookupFieldName_x005f_Title' already exists in the field cache
    3446f49c-f2d2-d0a2-89f4-59dee19b2f45
    03/19/2015 08:26:12.12 w3wp.exe (0x6D34)
    0x7F38 SharePoint Foundation
    Fields ki9p
    High Unable to add join related fields to the Query.[Error 0x80070057]
    3446f49c-f2d2-d0a2-89f4-59dee19b2f45
    03/19/2015 08:26:12.12 w3wp.exe (0x6D34)
    0x7F38 SharePoint Foundation
    General xxpm
    High Unable to execute query: Error 0x80070057
    3446f49c-f2d2-d0a2-89f4-59dee19b2f45
    03/19/2015 08:26:12.12 w3wp.exe (0x6D34)
    0x7F38 SharePoint Foundation
    General 8e2s
    Medium Unknown SPRequest error occurred. More information: 0x80070057
    3446f49c-f2d2-d0a2-89f4-59dee19b2f45
    03/19/2015 08:26:12.12 w3wp.exe (0x6D34)
    0x7F38 SharePoint Foundation
    General aix9j
    High SPRequest.GetListItemDataWithCallback2: UserPrincipalName=<removed>, AppPrincipalName= ,pSqlClient=<null> ,bstrUrl=siteUrl ,bstrListName=<removed> ,bstrViewName=<null> ,bstrViewXml=<View
    Scope="RecursiveAll"><Query><Where><Eq><FieldRef Name="ID" /><Value Type="Counter">5481</Value></Eq></Where></Query><ViewFields><FieldRef Name="LookupFieldName"
    LookupId="TRUE" /><FieldRef Name="LookupFieldName_x005f_Title" /></ViewFields><ProjectedFields><Field Name="LookupFieldName_x005f_Title" Type="Looku ,fSafeArrayFlags=SAFEARRAYFLAG_DATES_IN_UTC
    3446f49c-f2d2-d0a2-89f4-59dee19b2f45
    The very first message states that it is unable to add join related fields, what could be the possible cause of this?  As you can see rather than specifying a date range which I know contains less than 5000 items, even filtering based on ID gives the
    same result.

  • Site Lookup Column As Managed Property

    Please let me know if my logic here is incorrect or suggest better alternative. This is hosted on Office 365.
    1. I have a Site Lookup column (EventLookup) that is linked to a list on my Root Site --> Lists/Events
    2. I have a subsite with a list that references a (EventLookup) site column --> Lists/MyEvents
    3. User creates an item in Lists/MyEvents and selects one of the Events from the Lookup Column
    4. I crawl the site and in my crawled properties i can see ows_EventLookUp and ows_EventLookupUp:ID
    5. I create a managed property KeyEventID and add ows_EventLookupUp:ID to it.
    6. I add a CSWP and set KeyEventID:1 to return any item that has EventLookUp:ID is equal to 1.
    Above never works, i cant search bring back any results based on that LookUp column.
    Basically my managed property from a site lookup column doesn't work in Content Search Web Part. It is not filterable and doesn't return a value if i use search api to return it either. 
    help appreciated. 

    Hi Sudip,
    Thanks for the response.
    I did not get the answer to the first part.
    Let me describe the scenario again:
    Scenario-1: I have a site column and using the site column in the list. I am getting the crawled property and it is getting mapped to the managed property. 
    Result: I am good. Crawled property of site column is mapped to managed property.
    Scenario-2:I have a list and I created a column (Go to List setting and created a column as Single line of text called "Foo").
    Result: Here I don't see the crawled property getting created and mapped to Managed property.
    Action taken to see the crawled property as given below:
    1. Index reset
    2. Full Crawl
    Still for the Scenario-2: I don't see the crawled property.
    Can I expect the crawled property to be available for created list column "Foo"? 

  • SharePoint 2013 Workflow Lookup Column Error

    When I try to use the value from a lookup column (e.g. display the selected value in the body of a email) in a SharePoint 2013 workflow I receive the following error. It works fine if I use the SharePoint 2010 workflow platform, but I always receive a error
    with 2013.
    First Error:
    Retrying last request. Next attempt scheduled in less than one minute. Details of last request: HTTP NotFound to http://portal.test.com/sites/Test/_vti_bin/client.svc/web/lists/getbyid(guid'00000000-0000-0000-0000-000000000000')/Items(10)?%24select=ID%2CLookupId%2CLookup%2FTitle&%24expand=Lookup
    Correlation Id: 3fb1bac9-f4b6-bbf1-a664-b3748668ea3c Instance Id: e7b4064d-029d-4a8b-9a75-7939f10e8817
    <script type="text/javascript">// <![CDATA[ var errorMessage = "Something went wrong. To try again, reload the page and then resume
    the workflow."; var dlg = null; function RetryWorkflow4(instanceName) { showDialog(); var ctx = SP.ClientContext.get_current(); var wfManager = SP.WorkflowServices.WorkflowServicesManager.newObject(ctx, ctx.get_web()); var instanceService = wfManager.getWorkflowInstanceService();
    var instance = instanceService.getInstance(instanceName); instanceService.resumeWorkflow(instance); ctx.executeQueryAsync( function(sender, args) { closeDialog(); theForm.submit(); }, function (sender, args) { closeDialog(); alert(errorMessage); } ); } //
    ]]> </script>
    Error from SharePoint Logs:
    Microsoft.SharePoint.SPException: List does not exist.  The page you selected contains a list that does not exist. 
    It may have been deleted by another user. ---> System.Runtime.InteropServices.COMException: List does not exist. 
    The page you selected contains a list that does not exist. 
    It may have been deleted by another user.     at Microsoft.SharePoint.Library.SPRequestInternalClass.GetListsWithCallback(String bstrUrl, Guid foreignWebId, String bstrListInternalName, Int32 dwBaseType, Int32 dwBaseTypeAlt,
    Int32 dwServerTemplate, UInt32 dwGetListFlags, UInt32 dwListFilterFlags, Boolean bPrefetchMetaData, Boolean bSecurityTrimmed, Boolean bGetSecurityData, Boolean bPrefetchRelatedFields, ISP2DSafeArrayWriter p2DWriter, Int32& plRecycleBinCount)
        at Microsoft.SharePoint.Library.SPRequest.GetListsWithCallback(String bstrUrl, Guid foreignWebId, String bstrListInternalName, Int32 dwBaseType, Int32 dwBaseTypeAlt, Int32 dwServerTemplate, UInt32 dwGetListFlags, UInt32
    dwListFilterFlags, Boolean bPrefetchMetaData, Boolean bSecurityTrimmed, Boolean bGetSecurityData, Boolean bPrefetchRelatedFields, ISP2DSafeArrayWriter p2DWriter, Int32& plRecycleBinCount)    
    --- End of inner exception stack trace ---    
    at Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx)    
    at Microsoft.SharePoint.Library.SPRequest.GetListsWithCallback(String bstrUrl, Guid foreignWebId, String bstrListInternalName, Int32 dwBaseType, Int32 dwBaseTypeAlt, Int32 dwServerTemplate, UInt32 dwGetListFlags, UInt32 dwListFilterFlags, Boolean bPrefetchMetaData,
    Boolean bSecurityTrimmed, Boolean bGetSecurityData, Boolean bPrefetchRelatedFields, ISP2DSafeArrayWriter p2DWriter, Int32& plRecycleBinCount)    
    at Microsoft.SharePoint.SPListCollection.EnsureListsData(Guid webId, String strListName)    
    at Microsoft.SharePoint.SPListCollection.ItemByInternalName(String strInternalName, Boolean bThrowException)    
    at Microsoft.SharePoint.SPListCollection.GetListById(Guid uniqueID, Boolean bThrowException)    
    at Microsoft.SharePoint.SPListCollection.get_Item(Guid uniqueID)    
    at Microsoft.SharePoint.SPListCollection.GetList(Guid uniqueId, Boolean fetchMetadata)    
    at Microsoft.SharePoint.SPListCollection.GetById(Guid uniqueId)    
    at Microsoft.SharePoint.ServerStub.SPListCollectionServerStub.InvokeMethod(Object target, String methodName, ClientValueCollection xmlargs, ProxyContext proxyContext, Boolean& isVoid)    
    at Microsoft.SharePoint.Client.ServerStub.InvokeMethodWithMonitoredScope(Object target, String methodName, ClientValueCollection args, ProxyContext proxyContext, Boolean& isVoid)    
    at Microsoft.SharePoint.Client.Rest.RestRequestProcessor.InvokeMethod(Boolean mainRequestPath, Object value, ServerStub serverProxy, EdmParserNode node, Boolean resourceEndpoint, MethodInformation methodInfo, Boolean isExtensionMethod, Boolean isIndexerMethod)    
    at Microsoft.SharePoint.Client.Rest.RestRequestProcessor.GetObjectFromPathMember(Boolean mainRequestPath, String path, Object value, EdmParserNode node, Boolean resourceEndpoint, MethodInformation& methodInfo)    
    at Microsoft.SharePoint.Client.Rest.RestRequestProcessor.GetObjectFromPath(Boolean mainRequestPath, String path, String pathForErrorMessage)    
    at Microsoft.SharePoint.Client.Rest.RestRequestProcessor.Process()    
    at Microsoft.SharePoint.Client.Rest.RestRequestProcessor.ProcessRequest()

    Hi
    XantosX5 ,
    Thank you for your posting!
    According to your description, I try to reproduce your scenario in my SharePoint Server 2013 environment.
    I create a lookup column in a list and create a workflow 2013 for the list. In the workflow, I add Send an email action. Then I display the lookup column in the body of the email as the below figure:
    When I start the workflow, it works fine.
    Have you installed
    the workflow manager 1.0 cumulative update 1 ? It can be the point.  If not, please install it.
    Thank you for your understanding and support.
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

Maybe you are looking for