Hello all, i'm currently working with Nintex Mobile Forms. I am creating Leave Request Form and there's many leave type that must have a supporting document to fulfill the requirements. If users don't attach some file, the workflow will reject the request.
Here's my story.. When i submit the request with an attachment from Nintex Mobile Forms using Android Phone, it will trigger the workflow to run. And i already add condition to check whether attachment exists or not. But nintex workflows keeps telling me from log in history list that attachment does not exists (even i already give an attachment). I also already tried checking from web services (Web_URL\_vti_bin\list.asmx), and the result still same.
Then i tried, get value from Item Properties attachment.. and the result return false (still same).
Anyone have any ideas how to solve this issue?
I understood that you're creating an item from Nintex Mobile and/or from within SharePoint and you also upload an attachment.
The attachment is shown in SharePoint but you're unable to access the attachment via web services or item properties, is that right?
What output do you get when you call the Lists.GetAttachmentCollection method of lists web service? Is it just empty?
Hello Enrico, that's right.
The output that i got is empty. I also tried with another method that implemented on web services too.
SPWeb web = SPContext.Current.Web;
bool IsAttachmentAvailable = false;
web.AllowUnsafeUpdates = true;
SPList List = web.Lists[Custom_List];
SPQuery query = new SPQuery();
query.Query = @"<Where><Eq><FieldRef Name='Title' /><Value Type='Text'>" + Request_No + "</Value></Eq></Where>";
query.RowLimit = 1;
SPListItemCollection items = List.GetItems(query);
foreach (SPListItem item in items)
if (item.Attachments.Count > 0)
IsAttachmentAvailable = true;
and it always return false.
Hmm, if you see the attachment in the UI you should also see it in the attachments collection. That behaviour is strange. Can you try to set up a new list, allow attachments there and try it again there? Just for checking if the list is somehow broken.
i tried with a new list and allow the attachments like you said.
Then capture if attachment is available or not with Log in History list action.
And it works.
i'm getting confused about this..
Unfortunately, i can't do that.
We've already launched our application using nintex form with desktop version. The original list is already have about 3000 data and still growing.