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

Re-evaluate rules with Javascript

$
0
0

Hi there

Is it possible to re-evaluate rules for a given input field? My use case is as follow:

I have a drop down box which receives its values from a custom webservice. Based on the selection in this dropdown box i would like to change the formatting of other controls.

It's just the old cool "Conditional formatting" feature known from Excel and other tools. And not just by opening a form, but also when the state of the form changes during runtime.

Thanks. 


Collection COUNT and POP operations returns invalid data

$
0
0

I have a "Query List" action to return List ID's into a collection.

If the result of the query is meant to be empty i.e. I know there are no results, I expect the COUNT operaction to return 0. This does not occur.

Also, when I POP an item from a collection: "Error operating on collection variable. Data type returned from the collection is incompatible with the variable to store the result in". If I use a string, instead of a List ID, then I can log the value and it appears to look like this: "80;" - it has an extra semi-colon in it.

I suspect the COUNT is non-zero, also because of some semi-colons hanging around.

Can anybody assist, or am I doing something incorrectly?

PS: If I use the foreach action to loop the collection, then I do not have this issue.

Html in Notification

$
0
0

hello,

 I want to sent out a noitification Email to a user with in the body the URL (or a link to) the current selected document. The body shows this URL in plain text format however.

Does anyone have an example on how to solve this ?

Thanks & Kind Regards,

Tony

Retrieve field by column name

$
0
0

Hi,

 I need to retrieve a set of fields for a given item but based on the column name identified in a variable.

I have a list of column names in a collection. I would like to iterate the collection and retrieve the value of each field (identified by the column name) and set them in another list.

Is this possible with Nintex workflow? Whenever I select List Lookup, it forces me to select the column from a drop down. Even Query List has a  drop down. I sort of need to get under the hood of List Lookup to pick my field.

Thanks

Next Action Date Reminder

$
0
0

Hello Nintex Community! Quick question from a Newbie.  

Do you know how I can setup a reminder that sends an email when a list item has not been modified in 7 days? What is the best way to do that?

Thank you for any help or pointers.
Chris.

How to: Use the Repeating Section Control

$
0
0

Learn how to use the Repeating Section control in Nintex Forms. The Repeating Section control is a control which contains a set of other controls and allows a user of that form to insert multiple rows of that set as required.

Download a step-by-step written tutorial on How to use the repeating section control in Nintex Forms, or alternatively watch the video below.

Difficulty: Beginner

Lenght: 5 minutes

 

[Video]

StartWorkflowOnListItem - In a Form Library

$
0
0

Hi Everyone,

I have been working my way though this: http://connect.nintex.com/files/folders/tutorials_and_how_tos_nw2010/entry23021.aspx

However, my spanner is that i need to run the workflows from a Form Library,  i can get this to work perfectly on Document libraries but not on Form Libraries,  so my question is: Is there a way to (from a parent workflow) launch workflows on a specific item within a Form Library?

 Thanks in advance for your assistance.

Syntax for expressions in NF field controls

$
0
0

Versions: Forms 1.2.0.0 and Workflow 2.3.7.0

Hi,

I'm trying to work out what the syntax for controlling a form field state (such as Enabled) with an expression is.

 

I started off with Enabled on a field set to Expression with a simple function-

fn-IsMemberOfGroup(Knowledge Managers)

and that worked fine. However when I extended that into what (I believe) is a valid Javascript-style expression-

fn-IsMemberOfGroup(Knowledge Managers) && (Item Status != "Pending")

it stopped working (the field is always disabled).

The equivalent excel-style single-function expression (more verbose and difficult to understand), doesn't work either-

fn-And(fn-IsMemberOfGroup(Knowledge Managers), fn-Not(fn-Equals(Item Status, "Pending")))

with the same always-disabled result. Each of the pieces inside the fn-And() works on its own, but the larger AND expression doesn't.

Can anyone give me any pointers on-

  1. What the correct syntax for nontrivial expressions in forms are?
  2. How to debug these? Is there an error log or some way of "watching" the evaluation of these rules at runtime?

Any help much appreciated.

Regards: colin_e


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.

differences between trail license and Standard license

$
0
0
Hi,
i am currently using the trail version for my development. now I want to buy the license. before that I want to know differences between the trail version standard/Enterprise versions.

please let me know the differences.

Moving Document between libraries in 2 different Site Collections

$
0
0

Hi All;

I need help to move a document from a Document Library in one Site Collection (A) to a Document Library in another Site Collection (B) using Nintex Workflow 2010.

1. Both Site Collections are located in same Farm.

2. Actual moving of the document is required (including metadata)

Thanks a lot 

How to figure out on witch Items runs old instances ?

$
0
0
I have tested a lot and now I can see under "Workflow settings" that I have some old Workflows instances running. How can I figure out on witch items these instances are running. I don't want to look in each of 2000 item.

what is the maximum number of items that I should make for throwing flows automatically at Nintex

$
0
0
what is the maximum number of items that I should make for throwing flows automatically at Nintex

Time out republishing a UDA

$
0
0

Hi all,

I have a client who has built a series of UDAs and Worfklows that use the UDAs. Some of these have become fairly complex, with multiple versions of multiple workflows using the same UDA.

Now, when they update a UDA and select the option to republish all workflows that use the UDA, the system displays the "Republishing all workflows using the UDA" message with the spinning green wheel, but nothing happens from there... the system just hangs indefinitely.

This seems to occur quite frequently when they republish all workflows that reference an updated UDA. It only started to occur once their system got fairly complex in terms of numbers of workflows and workflow versions that use the UDAs.

EDIT: I was initially supplied with the wrong ULS log files - I've sent the correct log files through to Nintex Support.

How to use Update Xml action to update another item

$
0
0

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


Testing NA2010 - create a custom data set with a self created field out of a content type?

$
0
0

Hi there!

I'm testing NA2010 for our company - i've read the whole manual, but seems that i have not understood this piece of software.

 What I am searching for is a report like "Content Creators". This  report ist drilled down to a special content type - so far it works perfect. 

But this content type has a self created field  "Person responsible" (User field) - and i want to have a report based on this "Person responsible" , and not based on the "normal" Sharepoint Creator. 

Can i handle such a report with NA2010 ?

Hope my description is not too complicated.

Thanks in advance

Tom 

Notification for distribution group - one user in different groups

$
0
0

Hi!

I have troubles with nintex notification mails. 

The notification goes out to different ditribution groups - some users are in more than one group.

So if the notification goes to more groups, it can happen that the user gets the notification two or three or xxx times.

Is there any (easy) solution for that, or is there only a way through webservice, resolving usernames and write them into a temp list?

 Thanks in advance

 Tom 

Extra carriage return issue with {Common:NewLine}

$
0
0

I'm building a text file via Nintex workflow and need to insert new line at various parts of the text file. I'm using {Common:NewLine} function to insert anew line and its seems to be appering fine when looking at the output text file by naked eye. This text file is being used by another system and it throwing an error that there's an extra carriage return in each new line. I used Notepad ++ to see the file and noticed that every place I used {Common:NewLine} function to insert a new line, Nintex is adding CR CR LF instead of CR LF. So it seems like this function is adding an extra carriage return.

Any thoughts?

Run once on multiple file creation

$
0
0

Hi,

I'm uploading several files to a document library and I want to notify the owner of the newly created items. However I don't want the recipients to receive multiple notifications(one for each file created). Could someone pls. help. Thanks!

 

Morten 

Issue with "GetUserCollectionFromRole" Method

$
0
0

I am trying to use GetUserCollectionFromRole Method to get list of all users having certain permission level (for e.g. Contribute) in a particular site and I'm having some issues with it.

My Steps are as follows:

1. Using "Call Web Service" action

2. Web Service using is - "WebURL/_vti_bin/usergroup.asmx"

3. Passing my site collection credentials

4.  As a web service input, there is only one field i.e. roleName (string) - value entered is "Contribute"

After passing these values I am testing my action using "Run Now" command and click Execute, I'm getting output as shown below:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<soap:Body>

    <GetUserCollectionFromRoleResponse xmlns="http://schemas.microsoft.com/sharepoint/soap/directory/">

      <GetUserCollectionFromRoleResult>

        <GetUserCollectionFromRole>

          <Users />

        </GetUserCollectionFromRole>

      </GetUserCollectionFromRoleResult>

    </GetUserCollectionFromRoleResponse>

  </soap:Body>

</soap:Envelope>

As the result shows, my output is empty.

Instead of this if I follow above steps and select "GetUserCollectionFromGroup" method instead and pass web service input as "<site name> Members", my output is as shown below:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

  <soap:Body>

    <GetUserCollectionFromGroupResponse xmlns="http://schemas.microsoft.com/sharepoint/soap/directory/">

      <GetUserCollectionFromGroupResult>

        <GetUserCollectionFromGroup>

          <Users>

            <User ID="2465" Sid="S-1-5-21-2042961196-1878016268-396375212-314087" Name="<Name of a user>" LoginName="<user login>" Email="<Users Email Address>" Notes="" IsSiteAdmin="False" IsDomainGroup="False" Flags="0" />

          </Users>

        </GetUserCollectionFromGroup>

      </GetUserCollectionFromGroupResult>

    </GetUserCollectionFromGroupResponse>

  </soap:Body>

</soap:Envelope>

I am not sure what am I doing wrong !!!!

Viewing all 4245 articles
Browse latest View live