I've came back to this problem after a while.
No, I can not access any information on the other list.
My setup is simple for test purposes. I have List1 and List2. List2 has only Title column (straight out of the box). List1 has Title, Lookup column and UserAndGroup column. All I do in the WF is try to log a message to Workflow history list containing the values of the 3 columns. The Title and UserAndGroup succeed but when it try to get the Lookup from List2 first it pauses with message
Retrying last request. Next attempt scheduled in less than one minute. Details of last request: HTTP NotFound to http:////_vti_bin/client.svc/web/lists/getbyid(guid'00000000-0000-0000-0000-000000000000')/Items(1)?%24select=ID%2CReferenceId%2CReference%2FTitle&%24expand=Reference Correlation Id: 8ccd2e3b-be78-3dfa-b246-3cfbec782473 Instance Id: af73d841-e862-472e-9c4f-ed8fd61ee8a1
Here I noticed that the list GUID is null and I'm not sure what this means. But I believe thuis to be the source of the problem. When I try it in the browser I recieve the same exception:
<?xml version="1.0" encoding="utf-8" ?>
<m:error xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">
<m:code>-2130575322, Microsoft.SharePoint.SPException</m:code>
<m:message xml:lang="en-US">List does not exist. The page you selected contains a list that does not exist. It may have been deleted by another user.</m:message>
<m:innererror>
<m:message>List does not exist. The page you selected contains a list that does not exist. It may have been deleted by another user.</m:message>
<m:type>Microsoft.SharePoint.SPException</m:type>
<m:stacktrace>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.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() at Microsoft.SharePoint.Client.Rest.RestService.ProcessQuery(Stream inputStream, IList`1 pendingDisposableContainer)</m:stacktrace>
<m:internalexception>
<m:message>List does not exist. The page you selected contains a list that does not exist. It may have been deleted by another user.<nativehr>0x81020026</nativehr>
<nativestack/>
</m:message>
<m:type>System.Runtime.InteropServices.COMException</m:type>
<m:stacktrace>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)</m:stacktrace>
</m:internalexception>
</m:innererror>
</m:error>
When I replace the GUID with the correct one the request seems to work. Can anyone tell me how I can fix this and what's cousing it? Thank you.