Quantcast
Channel: Nintex Connect: Active Threads
Viewing all 4245 articles
Browse latest View live

Using GetUserLoginFromEMail

$
0
0

Hello, I am attempting to use GetUserLoginFromEmail (usergroup.asmx) to determine the user login for a specified user. I am getting xml returned however I do not have the correct xpath syntax as there is no data returned from the query xml action. Below is the xml as well as the xpath I am using.

 

<xml><GetUserLoginFromEmail xmlns="http://schemas.microsoft.com/sharepoint/soap/directory/"><User Login="domain\usera" Email="a.user@mydomain.ca" DisplayName="User, A" SiteUser="0"></User></GetUserLoginFromEmail></xml>

//GetUserLoginFromEmail/User/@Login


"Terminate Workflow Action " is not working terminating workflow

$
0
0

I have one workflow which includes "Terminate Workflow Action" , which used to terminate the "All except current workflow" for running workflows.

After executing it, Task has been deleted from the Assigned task for Approvers/Reviewers but it still leaves workflow in Running State.

This action works in some sites while it is not working for certain sites, despite the permission and workflow files are same for all the sites.

 Am i missing some setting or configuration ? Could you please help me.

 Thanks, 

Nirav 

Nintex Workflows Library?

$
0
0

Hello All, 

 I had a quick question. A while back, I was looking into an issue with a client who couldn't get a workflow to run correctly. It turns out that the workflow itself was actually checked out somehow. After doing a bit of research, I found a hidden URL that allowed me to look at the list of Nintex Workflows and check the workflow back in. I believe it was something along the lines of:

 http://sitename/sites/test/Workflows/NintexWorkflow

 

However, now I'm trying to find this URL again (I forgot to save it) and can't seem to come across it. Does anybody know what I'm talking about? I tried the above URL but it's not working in any environment I tried.

 

Thanks!

Chris 

Starting a workflow on all items in a list

$
0
0

Hi,

Is there an easy way to trigger a workflow on all the items in a particular list? I'm looking at a list with ~700 items on and I need a nintex workflow to be triggered on them all.

I'd rather not manually start all of them! I could write a console application to iterate over each list item and call the StartWorkflowOnListItem method on the nintex web service, but I was hoping there would be a no code solution to this?

TIA, Mark

Server was unable to process request. ---> Cannot find list. (SPContext.Current.Web contains list).

$
0
0

Hello,

First I want to say I have searched this issue and found related issues, but did not find an answer to my issue. However I am hoping that someone will take a quick look at this issue and tell me I’ve overlooked something. I keep coming back to this issue expecting to find something I’ve missed, but after spending far too long without success I’m appealing to the forums.

I experience this issue in our development environment, but not on my virtual machine. Both are set up the with the root web containing a list called “Training” and a workflow called “Training Validation.” I’ve added a button to the display form to kick-off the workflow. Currently the workflow just logs to the history that it fired. It works flawlessly within my VM, but in our dev environment I get this error:

Server was unable to process request. ---> Cannot find list. Parameter name: listName Actual value was Training.

Special note, I can start the workflow from the list item by going through the workflows, selecting the workflow and clicking ‘Start’. The whole point of this effort however is to not require the user to do this to start the workflow.

In my experience, you get this error under two circumstances.

First, I’ve seen this error when the .nwf file was created on a list and then the list is changed. That is not the case here and I’ve recreated the workflow in the dev environment to ensure the “Training Validation” workflow was publishable (i.e. didn’t have issues because columns didn’t match). That’s also why the current workflow has been simplified to just log the workflow firing.

Second, as with the link above sometimes the service being called isn’t at the same level as the list.  When I look at what I’m doing though, I don’t see that being the issue (I hope I’m wrong). Here’s how I create my service (this is inside the button-click event on the item display form):

NintexWorkflowWS nintexWebService = newNintexWorkflowWS();

//Start with current web url

string webServiceUrl = SPContext.Current.Web.Url;

//make sure Web Service Url is well formed

if (!webServiceUrl.EndsWith("/")) webServiceUrl += "/";

//append the Nintex Web Service Url

webServiceUrl += "_vti_bin/nintexworkflow/workflow.asmx";

nintexWebService.Url = webServiceUrl;

nintexWebService.Credentials = GetNintexRunTimeCredentials();

nintexWebService.StartWorkflowOnListItem(itemId, listName, validationWorkflowName, "");             

A note about that last line, itemId gets Convert.ToInt32(Request.QueryString["ID"]), listName gets SPContext.Current.List.Title, which comes back as “Training”. Finally, validationWorkflowNameis a private string that returns"Training Validation".

 

I’ve gone so far as to grab the SPContext.Current.Web and have it log every list contained in the web when the call fails with the error saying it can’t find the list called Training. Training is listed.

Recurring tasks with frequencies

$
0
0

I need to create a flexi task based off a list item that has a frequency associated.  For example list item ABC has a task frequency of daily (24 hours), I need to be able to create a flexi task every 24 hours associated with list item ABC. I don't care about the outcome of the task, just need to ensure a new task can generate every 24 hours.

What is the best way to accomplish this?

You have not been allowed as a workflow designer on this teamsite. Contact your Administrator for access.

$
0
0


Hi,

We are facing this issue on Nintex workflow 2013 once it was activated. I have logged in as farm administrator, but not able to save, publish workflows or do any thing, as it showed the below error saying that we dont have the permission

Error :You have not been allowed as a workflow designer on this teamsite. Contact your Administrator for access.

When I tried to access the "NintexWorkflows" internal list and check the permission.  This list is inheriting the permission from its parent site. Hence have full control being a memeber of owner group.


Please provide some suggestion

Thanks,
Sadhana

Create AD User format?

$
0
0

I'm trying to create an AD user and have a very simple test workflow with 2 objects in it - Create AD user and Log message (to catch the error). I'm using the following values:

LDAP Path: LDAP://CN=Users,DC=aviation01,DC=local 

SamAccountName: TestUser

Common Name:  Lastname, Firstname

I kept getting "An invalid DN syntax has been specified". So I tried changing Common Name to "CN=LastName, FistName" and now I get another error: "An invalid directory pathname was passed".

What format is this function looking for? I've tried every combination of data I can think of and nothing works. Thanks!


Export WF to Visio

$
0
0

Hi guys/gals

 

I've created workflows using Nintex Workflow 2010 but now need to write the business process around it and was hoping to attach the workflow as images.

I was hoping to export the wf's to Visio from SharePoint Designer but it gives me the error: "SharePoint Designer encountered an error generating the Visio worflow drawing." 

 

Is there no way around this? 

 

Regards

Barry-Lee 

Start workflow form issue

$
0
0

 Hi,

after iisreset or server restart our standart initial forms are corrupting until any of workflows will be republished, see the picture below:

 

What should we do to avoid this situation?

Thank you in advance!

 

Failed to start conversion job using convert document action

$
0
0

I've used a convert document action in my workflow and it's throwing an error that says, "Failed to start conversion job. Check input url '[URL]' is a valid file."  When I click the url, it is actually opening the document which obviously is a valid url.  I've verified the Word Automation Service in Central Admin and status shows Started.  I'm trying to convert docx file to pdf.  Are there any other settings/services that I need to configure or I need to make sure is running for this to work?

Kindly assist. 

 

Current Time is wrong

$
0
0
Hello, I am setting a list column to "Workflow Context / Current Time" but the resulting time is an hour ahead.  How can I fix this?  The server time looks correct.

NW2007-NW2010: Failed to publish workflow

$
0
0

I have a big working workflow that I am importing into NW2010 from NW2007.  The workflow saves fine but when I try to publish it in NW2010 it shows me these errors:

*********************************************************************************************** 

Server was unable to process request. ---> Failed to publish workflow: 

<Error><CompilerError Line="0" Column="0" Text="Activity 'addToHashtableActivity8' validation failed: Path resolved to Referenced activity Property 'ReturnValue' whose PropertyType 'System.Int32' does not match with the Target Type 'System.String'." />

<CompilerError Line="0" Column="0" Text="Activity 'addToHashtableActivity9' validation failed: Path resolved to Referenced activity Property 'ReturnValue' whose PropertyType 'System.Int32' does not match with the Target Type 'System.String'." />

<CompilerError Line="0" Column="0" Text="Activity 'addToHashtableActivity12' validation failed: Path resolved to Referenced activity Property 'ReturnValue' whose PropertyType 'System.Int32' does not match with the Target Type 'System.String'." />

<CompilerError Line="0" Column="0" Text="Activity 'addToHashtableActivity15' validation failed: Path resolved to Referenced activity Property 'ReturnValue' whose PropertyType 'System.Int32' does not match with the Target Type 'System.String'." />

<CompilerError Line="0" Column="0" Text="Activity 'addToHashtableActivity20' validation failed: Path resolved to Referenced activity Property 'ReturnValue' whose PropertyType 'System.Int32' does not match with the Target Type 'System.String'." />

<CompilerError Line="0" Column="0" Text="Activity 'addToHashtableActivity21' validation failed: Path resolved to Referenced activity Property 'ReturnValue' whose PropertyType 'System.Int32' does not match with the Target Type 'System.String'." />

<CompilerError Line="0" Column="0" Text="Activity 'addToHashtableActivity24' validation failed: Path resolved to Referenced activity Property 'ReturnValue' whose PropertyType 'System.Int32' does not match with the Target Type 'System.String'." />

<CompilerError Line="0" Column="0" Text="Activity 'addToHashtableActivity25' validation failed: Path resolved to Referenced activity Property 'ReturnValue' whose PropertyType 'System.Int32' does not m… 

*********************************************************************************************** 

 How do I know which activity the error referring to? Anyone?

 

Copy a document set to another library

$
0
0

Hello,

 I am trying to copy a document set to another library within the same site but haven't found any solution.
The destination library is based on the source library. So it has the exact same coloumns and settings.

Any Tips?

How to create a document set

$
0
0

Hi @ all!

 

I have to create a reusable site collection workflow which should create a document set in a library. The problem is that the action "create item" is not available in the site collection workflows. The next way I tried out is to use a web service method (Lists/UpdateListItems) but this way seems to work not too because I can´t give the information to create an item with the content type documentset to the webservice.

Any ideas to solve the problem? 


How to embed HTML from a Document Library Item into a "Send notification" body (not attachment)

$
0
0

Hi,

So an internal customer has a very specific workflow.  They want to:

Upload an HTML file into a Document Library.  

It trigger a "Send Notification" to send to a specific group

The email's body has some custom header text, followed by the file name, followed by the HTML Content of the file

 

I'm still new to Nintext Workflow 2010, though I have a fairly strong handle on the basics of "Send notification"  I've used it to do something similar with custom lists (make a nice email, show these fields in this template, send).  

But I have no idea how to do this with a document library item, while "getting" the content of the HTML file.

 

Are there any options?

Or must I ask them to change their workflow and use a Form Library instead? 

They're also considering turning on the "Email into List" function but I digress... 

How replace List "Email Alert" with "Send Notification"

$
0
0

So we have some existing lists that people are using the built-in Share Point Alert/Email feature.  But, they all hate the look-and-feel of the native SP email.  So we were wondering if we could just "plug-in" a Nintex Workflow with a nicely formatted template in the option so they get a nicer looking email.

I guess there are multiple pieces to this:

 

1) Is there a way to replace SharePoint's built-in "Alert" widget on a List/Library with Workflow?

So that when a user clicks the ribbon's "Alert" and selects the Email option(s) that the Workflow does the sending?

If so, how? 

 

2) Is there a way to access the list of "Alert" subscribers for a list, and use THAT for the workflow "Send Notification" ?

 If so, how?

Pull cell values from Excel worksheet using Query Excel Service

$
0
0

I'd like to create a workflow that would pull cell values from Excel worksheet and then create new items in another list based on the pulled data.  I know Query Excel Service is action that I need to use to achieve this. However, let's say my Excel worksheet has 2 columns, Column A and Column B.  Column A has some text entries while Column B contains some sort of like Status value.  For example, Open or Closed.  What I'd like to do is to be able to pull values from column A only if the value on column B is Open.  Note that I could have more than records in the worksheet and I cannot define a range as there's no fix number items that I need to pull.  After identifying which are the Open items, new list items will be created in SP based on each Open items from Excel worksheet.  These list items in SP will then be updated by users to Closed.  Is it possible in Nintex WF 2013 to be able to let's say create a new Excel workbook or probably write to an existing workbook and update it's contents?  Relating it back to my scenario, once user updates SP list items to Closed, I'd like the workflow to update the Excel worksheet with the latest status.  Kindly assist if this is achievable using the Query Excel Service or are there any other actions that I can use to achieve this?

Assigning an Empty DateTime value to a field

$
0
0

Hello there,

Does anyone know of a good way of assigning an Empty DateTime value to a field within a Workflow?  I tried the following without success:

1. Declared a new Workflow DateTime variable.  In a "Set Field Value" activity, I assigned the Workflow Variable to a Field.  This simply results in the following error:

Nintex Workflow; Build: 10903
Failed to update workflow task.
System.ArgumentException: Value does not fall within the expected range.
at Microsoft.SharePoint.SPList.GetItemById(Int32 id, String strRootFolder, Boolean cacheRowsetAndId)
at Microsoft.SharePoint.SPList.GetItemById(Int32 id)
at Nintex.Workflow.HumanApproval.TaskUpdateService.<>c__DisplayClass1.<doUpdate>b__0()

2. Before the "Set Field Value" activity, I created a new "Calculate a Date" activity and set the Workflow Variable to "1/1/0001 12:00 AM".  But the Workflow Designer gives me an error message that "Date cannot be blank".

Basically, I'm setting some DateTime fields later on in the Workflow.  But if the Workflow is started again on the item, then I want to initialize all of them first.

Any thoughts?

Thanks.

Deepak.

nintexworkflow history vs workflow history lists

$
0
0

Hello,

I am trying to write an InfoPath form's workflow history into a Sharepoint library. To do this I need to access the workflow history.

I am having difficulties because it appears the workflow history is not being saved consistently. The entire workflow history for a form will appear in either NintexWorkflowHistory or WorkflowHistory . I cannot figure out the logic as to why the history appears in one list or the other.

Any ideas on why this is happening would be appreciated.

Thanks,

Ginger

Viewing all 4245 articles
Browse latest View live