Quantcast
Channel: Developer Information NW2010
Viewing all 564 articles
Browse latest View live

Problem with message templates

$
0
0

Hi, 

I’m trying to automatically set the Nintex Message Templates for newly created site collections. When using the NWAdmin tool with -o ConfigureSettings -file "C:\Projects\Email.xml" I’m running into the following problem.

 Command line execution error: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.

 However when I change the XML to set the email templates for the farm level, It works just fine:

Adding Message Template set for the farm

 The XML I’m using:

 <?xml version="1.0" encoding="utf-8"?>

<NintexWorkflowSetupParameters xmlns="http://nintex.com/NintexWorkflowSetup.xsd">

                <MessageTemplates>

                               <TemplateRecord Scope="Site" Url="http://heerema/">

                                               <Header>Hello</Header>

                                               <Footer>Goodbye</Footer>

                                               <ApprovalRequiredBody>A</ApprovalRequiredBody>

                                               <ApprovalNotRequiredBody>B</ApprovalNotRequiredBody>

                                               <ApprovalRequiredSubject>C</ApprovalRequiredSubject>

                                               <ApprovalNotRequiredSubject>D</ApprovalNotRequiredSubject>

                               </TemplateRecord>

                </MessageTemplates>

</NintexWorkflowSetupParameters>

I'm using Nintex Workflow 2010 (2.3.10.0)

Anyone else run into this problem or knows a solution?

Regards,

Leo


Patch Dependencies between Nintex for Project Server 2010 and SharePoint 2010

$
0
0

Hi,

Are the patches for the Project Server product and SharePoint product independent?  In other words, When patches for Nintex for SharePoint 2010 are released, we do not need to wait for/expect a patch for Nintex for Project Server 2010 in order to install the SharePoint patch.  Is that correct?

Thanks,


Tim

Importing 2013 wf into 2010 SharePoint gives error; 2013 wf contains pointer to 15 hive

$
0
0

Hello!

I'm in an environment where we are trying to support both 2010 and 2013 workflows. We had a workflow developed on 2013 SharePoint and made export/import without any modifications to 2010 environment. Everything went fine until we wanted to start the wf manually. Somehow the workflow contains a pointer to 15 hive and this occurs as follows:

Open library on which wf is installed and deployed.

Select a row

Open item's workflow page.

Click on link that is supposed to open the start form for the wf.

--> ERROR: SharePoint cannot find  ..../_layouts/15/NintexWorkflow/StartWorkflow.aspx

Workaround:

Open IIS Manager on SharePoint server

Expand  the site where the wf is

Expand  _layouts folder

Right click on NINTEXWORKFLOW

Choose  Explore

Copy the path to clipboard, LEAVING OUT 'NINTEXWORKFLOW'  (i.e. the last folder name)

 Right click on _layouts

 Choose Add Virtual Directory

 Name it (Alias): 15 (i.e. numbers 1 and 5)

Paste the copied path from clipboard into Physical Path field.

Press OK.

 

Now the start form works. But! IIS contains a "duplicated" structure. I'm not sure how much that affects IIS functionality. Hopefully none!

 

Is this a bug or is it a "way of strategy to not be backward compatible"?

 

Greetings,

Sören 

PublishFromNWF not attaching ECB menu item correctly.

$
0
0

I have created a workflow and in the workflow settings ticked the 'Enable workflow start from the item menu'.

If I export and import the workflow from Sharepoint the workflow operates as expected.
I am however deploying the workflow through a feature. I have exported the NWF and in a feature receiver use the publishfromnwf method to publish the workflow from a module.

The workflow is published correctly, only that the ECB menu item does not do anything. The page only refreshes when I click the custom action.
If I then open the workflow in the Nintex designer and click publish and overwrite the current version, the ECB menu is then populated with a SECOND custom action which actually works. If I remove the workflow, the first custom action in the ECB menu remains and I can't get rid of it.

 If I deactivate and reactivate my feature which publishes the workflow, a THIRD custom action appears in the ECB menu which does nothing.

This appears to be a bug in the webservice's publishfromnwf method. Suggestions?

Not able to start a workflow which is published using PublishFromNWF

$
0
0

Hi,

I am facing the same issue as described in this thread.

http://connect.nintex.com/forums/33219/ShowThread.aspx#33219

I am publishing a nintex workflow form a windows form application. The web service request works fine and I can see a published workflow. I also enabled the option to run the workflow from item menu, so when I select to run it from item menu the page reloads and nothings happens. But if I republish the workflow  in Nintex workflow designer it works fine.

Please provide me a solution for this problem.

I have followed the same steps mentioned in SDK to call the PublishFromNWF method. 

Thanks 

Creating custom actions/activity in Nintex

$
0
0

Hi,

 Can anyone refer me to link/document for creating custom activity/action in the nintex workflow 2010.

I would like to know high level steps/components involved in developing custom action/activity in the nintex workflow 2010 using C#.Net

 

Thanks in advance!!

Error in task. The user to assign the task to has resolved as blank text

$
0
0

I am having an issue where I have a Microsoft Infopath form where I have a field which specifies which email to send an Flexi task to.

However on occasions, for some reason, the form will return a blank field where the email should be therefore when I try to send the email, it throws an error since no email has been defined.

This doesn't always occur and only on some occasions it occurs.

For more detail:

  1. I firstly set a variable "userEmail" to the email reference in "Item Property"
  2. I have a "Commit pending changes" action since I have an XML update before that
  3. Then I have a Flexi Task in which I assign the assignees field like this "{WorkflowVariable:userEmail} ; "

If anybody could help it would be greatly appreciated

Create column in the list with the Call Web Service

$
0
0

Hello,

during workflow I need to create column, i.e. Approved_by_me. For realization this task I going to use Call Web Service, method UpdateList.

SOAP query is following:

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:m="http://schemas.microsoft.com/sharepoint/soap/">
<soap:Header>
</soap:Header>
<soap:Body>
<m:UpdateList>
<m:listName>{Common:ListName}</m:listName>
<m:listProperties>
</m:listProperties>
<m:newFields>Approved_by_me</m:newFields>
<m:updateFields>
</m:updateFields>
<m:deleteFields>
</m:deleteFields>
<m:listVersion>
</m:listVersion>
</m:UpdateList>
</soap:Body>
</soap:Envelope>

When I execute workflow I get an error below:

Error text Error returned from server: soap:ServerException of type 'Microsoft.SharePoint.SoapServer.SoapServerException' was thrown.'Text' is an invalid XmlNodeType. Line 1, position 1.

Where is the mistake?

Thanks for ideas!


Kind regards,
Yevgeny

Turning off flexi-task reminders on a running workflow

$
0
0

Hi!

I'd like to know if there's a way to turn off flexi-task reminders on a running workflow. Preferrably, all running instances of a given workflow.

I'm aware that the short answer may be "no" , but I'm looking for the long answer ;) 

If there´s any way to do it (changing a value in the Nintex database, writing a console application to get workflow tasks and modify them, etc...), I'll give it a try.

Alternatively, changing the "Number of days" variable in the reminders' settings (of the RUNNING workflows) would work... I could set it to something big, like 1000 so the workflow will finish before it's time to send another reminder.

Thanks!

Workflow Start Form

$
0
0

Hi,

I need to query a list and display this to the user in the Start Form of a workflow. Basically depending on the values in the submitted item I will display a list of potential approvers and allow the user to edit these approvers.

 

Is this possible in  Nintex and if so how?

Thanks Chris 


Submit infopath/form library data to Payment gateway

$
0
0

Hello!  I am hoping someone can point me in the right direction.  I have an infopath form that currently submits to the Sharepoint 2010 Form Library.  I was hoping to be able to submit via http post request to a payment gateway along with some parameters.  I'm not sure how to approach.  Can anyone please make some suggestions?

 

Thanks in advance for any advice.

 

Michelle

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?

Nintex Workflow webservice method PublishWorkflow

$
0
0

 

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

 

User Controls in configuration page for Custom Action.

$
0
0

Hi,

I am developing custom action in nintex for sharepoint 2010.

I would like to know about various controls on the available in nintex.

to be specific i am looking for a "DropDown List" control with options to configure the various values in the drop down in the action configuration page [.aspx].

Any link to blog or documentation around it will be very helpfull.

Unable to Query Item ID on a Discussion Board

$
0
0

Does anyone know the trick to using the Query List Item action to retrieve item ID from a Discussion Board?  I am able to use the same activity to retrieve ID from regular lists and libraries.  I've validated the List ID, fields, filters etc...  Any help is much appreciated.

The CAML form the query builder is standard:

<Query>
  <Lists>
    <List ID="{2XXXXXXX-BXXX-4XXXXXXXX-1XXXXXXXXXXX}" />
  </Lists>
  <ViewFields>
    <FieldRef Name="ID" />
  </ViewFields>
  <Where>
    <Eq>
      <FieldRef Name="CopyWF"  />
      <Value Type="Choice">Pending</Value>
    </Eq>
  </Where>
  <ViewAttributes Scope="Recursive" />
</Query>

Thanks,

 Jonathan


0x8102009b Error OwsTimer

$
0
0

Dear Members,

Our SP environment ULS log is continuously logging the  below error 

<nativehr>0x8102009b</nativehr><nativestack></nativestack>

We have Nintex workflow standard edition and version 2.3.7.0.

Can any one suggest how to trouble shoot the issue?

Additionally one of the workflow does not complete and it keeps on waiting at pause action resulting in increased usage of memory.

Please advice. 

 

 

 

Secondary Workflow Fails to Start

$
0
0

We have a workflow that was been running without issue for about 9 months that is suddenly failing. It stopped working after the server OS were patched, which happens monthly, usually without issue. The failing workflow is called by a main workflow. The process is as follows:

- Workflow one is started. The workflow controls a data review process and includes users from several departments. The workflow sends a notification to the first user, who has the option to include/exclude certain users, assign a new review completion date, or cancel the review, and then complete the form. Once this form is completed a second form is sent with another task. After the second task is completed, the workflow may start another workflow depending on the response from the first notification (this works). Afterwhich we execute a "Run parallel actions" action. One branch launches the Part 2 workflow and the other branch performs a Pause until the due date.

Part 2 workflow appears to be starting but it never starts. I added a "Log in history list" action as the first step and nothing is logged. The Workflow status has "Note: Due to heavy load, the latest workflow operation has been queued. It will attempt to resume at a later time". After a while this may or may not go away but the workflow never starts.

I increased the workflow-eventdelivery-throttle, workflow-eventdelivery-timeout, batchsize. None of the changes impacted the hung workflow.

I turned on verbose tracing for the Workflow Infrastructure and the last Workflow Infrastructure message that appeared in the log was "Workflow on association 'MDR Routine Data Review Part 2' is about to be compiled". Then nothing else happens.

Does anyone have any ideas as to what may be happening here?

 Thanks.

Alteration of UDA seems to cause a disconnect from workflows

$
0
0

I have a UDA that I am using to make LDAP calls to collect display names of users not in SharePoint profiles yet.   After changing the password for the account used for the LDAP connection errors began being produced regarding the parsing of the Domain\Username in a regular expression.

This regular expression previously worked so I am puzzled.  To eliminate this error I disabled all of the regular expression functionality and the LDAP calls which would create blanks in my e-mail notifications when users are not in SharePoint.   However, all the workflows that used this UDA continue to produce the same error "Failed to run User Defined Action. parsing "\" - Illegal \ at end of pattern".   I altered the notification at the end of the UDA that notifies me when it has been processed and published.

 Now when this notification comes through it is not the altered one that I just published and the errors are still being produced even though the workflows that are calling the UDA are started after the publish (Which I would expect for it to be calling the new UDA).  

Do I need to recreate the connection to the UDA on all the workflows that use it each time the UDA is altered in this manner?

If so, I would consider this a bug as I would expect the UDA to have the same GUID when an alteration is performed instead of a delete and new.

Any ideas?

Clarizion

Common reference 'Start Date' one day behind

$
0
0

I'm trying to use the reference 'Start Date' which should be the date on which the workflow was started. Unfortunately for us it shows a day behind. When I tried to find any info about it here I could only find an old issue and know bug for the 'Current Time' that was off by an hour in an older version of Nintex Workflow 2010. Our 'Current Date' reference displays the correct date.

Is this also a known bug with the version we have (2.3.10.0) or should I start digging on our end? Thanks!

Change a workflow that is in progress

$
0
0

¿is it possible to add a new task with nintex workflow without restarting the flow? ¿and modify the tasks? ¿how it affects?

Thanks

Viewing all 564 articles
Browse latest View live




Latest Images