Server unable to process request. ---> An error has occurred.
How to use Update Xml action to update another item
Hi,
I have two form libraries... named, for example, "Form A" and "Form B" in the same. I also have a workflow in "Form I".
When I create a form in Form A, it starts the workflow and it creates a new form in Form B.
After this new form creation (in Form B), I need to update its fields, using some information from the form created in Form A. I used the "Update Xml" action, but it didin't work out, returning the message: "... (401) Not authorized".
How can I do this?
Thanks in advance.
Andre
Custom start form
Hi,
I don't want to have a start form for my workflow, meaning I want the workflow to start directly after selecting it.
In Nintex 2010 I used to choose in the workflow settings a form type equal to custom and then leave the reference to the page blank.
Doing the same in Nintex 2013 doesn't work. The workflow runs correctly but SharePoint shows an error page instead of coming back to the list/library from where I start the workflow.
Any idea what is wrong?
Regards,
Géraldine
Error in Flexi task assigned to external user
Hi,
I have a workflow with a flexi task which is suppose to go to an external user for approval. (Lazy Approval is enabled)
The workflow stops at the Flexi task and I get the following error in the workflow history:
Error in task. Object reference not set to an instance of an object.
When I add somebody on the domain as the approver the workflow works. So this must be something with the external mail address.
Please help
Exec Action SQL Query Statement using Variables
Greetings,
I have reviewed all your forum discussions regarding Execute Action SQL 2008 Query Statement to no avail to remedy my problem. What am I doing wrong or is there another way to do this without coding to much?
I am extracting a text (checkbox) field from sharepoint to use as the variable to a SQL query.
The connectivity is fine, and when I use the query without using the variable it works. Therefore, I must be missing a step somewhere for the variable value to display in the SQL query.
The Nintex Work Flow process is the following: WorkflowVariable:strComp, Single line of text. WorkflowVairable:strItem, Single line of text --> Build Sting Insert Reference to {WorkflowVariable:strComp}{WorkflowVariable:strItem}, Store result in strComp -->
Exec SQL Query is SELECT distinct Comp
FROM [SQL.Database Table1] as lot
join [SQL.Database Table2] c on c.comp= lot.comp and Comp_ID = 1
where Select_Ind = 'Red'
and Year = 2013
and c.comp = '{WorkflowVariable:strComp}'
I get the following error:
The execution returned an unexpected error.
Incorrect syntax near '{'.
How to embed ECMAScript in Nintex form?
Hi folks,
I'm brand new to Nintex and after many searches online, I need some help with embedding ECMAScript in Nintex form.
I have a form with 3 fields, staffID(dropdownlist field), firstName(single line input box), department(single line input box). The staffID dropdown list is connected to another list called "Staff". I need to populate values for the firstName and department fields when I change the selection in the staffID dropdown list.
I'm thinking to use the client object model to get an item from the Staff list based on the passed in value (from the staffID dropdown list).
I've got the following code so far:
function populate_staffInfo(staffID){
try {
var context = new SP.ClientContext.get_current();
this.web = context.get_web();
var list = this.web.get_lists().getByTitle('Staff');
staff = list.getItemById(staffID);
context.load(this.staff, 'Title','LastName','FirstName','Department');
context.executeQueryAsync(Function.createDelegate(this, this.get_Staff_onSuccess), Function.createDelegate(this, this.get_Staff_onFailure));
}
catch (e)
{
alert("An error occurred while fetching data. Please contact your system administrator.");
}
function get_Staff_onSuccess(sender, args) {
var fullName = this.staff.get_item('FirstName') + ' ' + this.staff.get_item('LastName');
alert(fullName);
}
function get_Staff_onFailure(sender, args) {
alert('Request failed. ' + args.get_message() + '\n' + args.get_stackTrace());
}
NWF$(document).ready(function() {
populate_staffInfo('1');
});
I'm expecting the above code to pop up a box with the staff's full name whoes ID is 1.
After publishing the form, I'm not seeing anything. What did I miss? I haven't included SP.js anywhere. Do I need to do this? Where?
Thanks
June
"Show detailed view" error
An instance of one of our Nintex Workflows 2010 failed and I tried to investigate the reason of it. Based on the graphical view, the error was on the web service call action, but when I tried to look what has been logged (procedure that we do when something errors), I realized that once I click on "Click here to show detailed view", after some time, I am getting an "unexpected" error at the user interface which on the logs correspont to the below:
-------------------------------------------------------------
System.Data.SqlClient.SqlException: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlDataReader.ConsumeMetaData()
at System.Data.SqlClient.SqlDataReader.get_MetaData()
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
at System.Data.SqlClient.SqlCommand.ExecuteReader()
at Nintex.Workflow.Reports.ActivityLogInfoCollection..ctor(Int64 internalInstanceId, SPWeb web, Boolean includeVerboseLogging)
at Nintex.Workflow.Reports.WorkflowLog..ctor(Guid workflowInstanceId, SPWeb web, Boolean includeVerboseLogging)
at Nintex.Workflow.Reports.WorkflowLog..ctor(Guid workflowInstanceId, SPWeb web)
at Nintex.Workflow.ApplicationPages.WorkflowLog.Page_Load(Object sender, EventArgs e)
at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at Microsoft.SharePoint.WebControls.UnsecuredLayoutsPageBase.OnLoad(EventArgs e)
at Microsoft.SharePoint.WebControls.LayoutsPageBase.OnLoad(EventArgs e)
at Nintex.Workflow.ServerControls.NintexLayoutsBase.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
-------------------------------------------------------------
Then I realized that the same error happens no matter which workflow instance I tried to see the details - even those that successfully completed.
Html in multiline text variable
Hello.
I have Request Data action with Richtext multiline field "Comment" and multiline variable "MeetingComment" filled from Request Data action.
Then i'm setting field value in Current Item with "MeetingComment", but the variable contains only plain text. And, of cource, I need to fill formatted value. Is there a way how to achieve this?
1. CurrentItem with Richtext multiline field MyComment
2. RequestData task with RichText multiline field Comment
3. MeetingComment multiline variable to bridge setting MyComment with Comment value.
Thank you very much
Open Nintex Workflow Multi Outcome Task Infopath Formular within Word 2010
Hi, i created a Flexi Task with an custom Infopath Formular (Content Type: Nintex Workflow Multi Outcome Task)
If i try to close this task from within my word 2010 (Open this Task), i get the error:
Form template: https://portal/wien/_layouts/formResource.aspx?templateFile=https://portal/wien/Lists/Workflow Tasks/Nintex Workflow Multi Outcome Task/Nintex Workflow Multi Outcome Task.xsn
The file is not a valid XML document.
DTD is prohibited.
Line 2, Position 9
It seems that something with the content type is wrong, is there a way to fix this issue ?
Thanks!
Thomas
List View Group By Sort Order On Workflow Entered Metadata
Hi there,
I have an issue with data that is being entered into a "Single Line of Text" field in a list using the "Update Item" action. The problem is when I group by this field in a particular view the sort order is not working. I specifically set these values using an alpha numeric sequence e.g.:
Stage 1 - xyz
Stage 2 - xyz
I can't work out what order SharePoint is ascending them in however when I edit the items and type the exact same syntax over the existing text the issue is resolved and they order correctly.
Has anyone experienced this before and fixed?
Thanks
Jake
Nintex Workflow webservice method PublishWorkflow
Does anyone have an example of how to configure the PublishWorkflow action of /Nintexworkflow/workflow.asmx?
So far, I've configured it like below, but keep getting this error message:
Server was unable to process request. ---> There is an error in XML document (0, 0). ---> Root element is missing.
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<PublishWorkflow xmlns="http://nintex.com">
<wfName>New Workflow</wfName>
<activityConfigs></activityConfigs>
<listId>{447D712E-647E-470A-BF71-7B04538FB526}</listId>
<contentTypeId></contentTypeId>
<changeNotes></changeNotes>
</PublishWorkflow>
</soap:Body>
</soap:Envelope>
It seems the issue is in the activityConfigs node, where an xml node may be expected, but I can’t find documentation on the webservice method anywhere.
… as for alternatives, what I’m trying to do is this:
1) Create new site from template with Nintex workflows in it using Nintex Workflow Create Site
2) Workflows are created as draft in the new site
3) Use Call Webservice to publish said workflows.
Any help would be appreciated.
Thanks,
Christoffer
Nintex suitability..?!
I'm about to launch a Sharepoint solution for our internal Helpdesk system... The Workflows work great in testing... However, I have this nagging doubt that I hope someone out there can remove...
The Workflow I've designed sits waiting for the status field to close before notifying the person who raised the call, in testing this works fine, but will Nintex Pause on field continue work if calls stay open for years!?? Some project calls will run that long...!?
I also have around 2000 open calls that will be pausing until the call status is closed.... are there any limitations that may cause failure or performance issue if I have large numbers of workflows pausing?!
Any similar experiences or recomendations ?!
Thanks in advance.
Russ.
Error while using AddAttachment webservice method
Using this:
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<AddAttachment xmlns="http://schemas.microsoft.com/sharepoint/soap/">
<listName>Project List</listName>
<listItemID>{ItemProperty:ID}</listItemID>
<fileName>http://nmccorp/it/Shared Documents/Workflow Templates/Project_Details_Report.docx</fileName>
<attachment>[FileData]</attachment>
</AddAttachment>
</soap:Body>
</soap:Envelope>
I get the following error
Failed to invoke web service. Object reference not set to an instance of an object
Can someone explain to me what fileName and attachment should be?
Thanks!
Word to PDF conversion with bookmarks
Hi,
Is it possible to generate a pdf from a word file so that it pulls in headers as bookmarks? I can get it to generate without issue and it puts in the links but doesn't bring in any bookmarks into the PDF.
How do I add "Flexi-task respondent" as an item property in a SharePoint library?
I have a Flexi-task, set up as "First response applies", in a Nintex workflow. The group for whom I have built this workflow wants to see the name of the person who responded as an item property in a SharePoint library. What action do I use, or how do I otherwise capture this information and add it as a column in a SharePoint library? Any suggestions or information would be most appreciated
Thanks!
Stephen Billias
Communications Project Coordinator
Health New England
One Monarch Place, 15th Floor
Springfield, MA 01144-1500
413 233-3429
sbillias@hne.com
Call Web Service Error - Request failed with status: Unauthorized.
Hi,
I have configured call web service action with the web URL lookup follow by the extensions (eg: /_vti_bin/Lists.asmx, /_vti_bin/Permissions.asmx) but it always result in : Request failed with status: Unauthorized.
I tried this solution below but unfortunately, it did not work for me.
http://support.microsoft.com/kb/896861/en-us
Please advise me on what to do.
Thanks
How to let the end user add an image at the top of the form
good day,
i hve created a Nintex form and Workflow but now i need to leave a space at the top of the form so that the initiator can add an image into the banner as part of each forms to be completed?
hoe do i do that ?
any suggestions please
Split a Column into multiple columns in SharePoint library.
Hi,
Can someone please tell me whether it is possible to split a column into multiple column in SharePoint library including the contents of the column.
Thanks in advanced.
Explorer
Icon to start the workflow in the item menu
I've created a workflow and chosen the option "Enable workflow to start from the item menu" and define an URL to a picture for "Menu item image URL".
However, the picture is not displayed in the item menu. I see only the label.
Can you please let me know what could be the issue? Is there a specific configuration in SharePoint 2013? Because in SP 2010 it's working fine.
Thanks.
Adding hyperlink in group description
Hi,
I'm using "Call Web Service" to create a group for a site.
I want the description to contain something like: "Members of this group have read permission to the site: LINKTOSITE", the problem is getting the hyperlink at the end. So far I've been unable to figure this out.
Does anyone know how to accomplish this?