Category Archives: SharePoint 2013

Get a Parameter within a URL Using a Regular Expression in Nintex Workflow

Recently had a need to extract a parameter from within a URL string using Nintex Workflow.  Specifically, I needed to get the ID parameter from a URL.  In the example URL below, I needed to extract the number 987:

//mysite/mypage.aspx?ID=987&User=654

Follow these steps to get the ID number:

  1. Open the Nintex Workflow designer and add a Regular Expression action.
  2. Configure the Regular Expression action with the following settings:
    • Pattern =  (?<=ID=)[^&]+
    • Operation = Extract
    • Input Text = String, Inserted Reference or Workflow Variable
    • Store Result In = Collection workflow variable
    • Note: Your can use the “Run Now” option in the ribbon to test out the action.
  3. Next add a Collection Operation Action with the following settings:
    • Target Collection = Collection workflow variable
    • Operation = Get
    • Index = Integer workflow variable (with “Default value” = 0)
    • Store Result In = Text workflow variable
  4. The value (987 in the example) is stored in the Text workflow variable and can be used else where within your workflow.

Nintex Workflow Regular Expression - Extract Parameter from URL

Nintex Workflow Collection Operation - Extract Parameter from URL

Nintex Workflow Stalling on Document Generation Action

I encountered an issue recently where a few Nintex Workflow 2013 workflows that had been running successfully for some time suddenly started stalling.  The workflows still showed a status of “In Progress” but were not moving forward.  Checking the Workflow Progress and Workflow Details pages showed no error messages or issues.  I finally noticed that these workflows were freezing when trying to execute a Document Generation workflow action.

After investigating, I determined that the issue was related to a Nintex Workflow service not running in my SharePoint 2013 environment.  Specifically, the Nintex Workflow Start Service was not actively running on any of my SharePoint 2013 servers.  Once I restarted that service on one of my servers, the stalled workflows continued running, completed the Document Generation action, and progressed to the next workflow steps.

Speaking at the Atlanta SharePoint User Group Meeting on Sept. 21

I’ll be speaking at the Atlanta SharePoint User Group meeting on Sept. 21 on “A New Era in SharePoint Workflow and Forms Development”.

SEPTEMBER 21 MEETING – SharePoint Adoption & SharePoint Forms using Nintex

Speaking at SharePoint Saturday Atlanta 2014

I am honored once again to have been chosen to speak at SharePoint Saturday Atlanta 2014 on June 21, 2014. This year I will be speaking on “Advanced Workflow Design Techniques with Nintex Workflow”. Find out more and register for this free SharePoint conference at the SharePoint Saturday Atlanta site.

Be sure to attend my session and say hello at the conference!

Advanced Workflow Design Techniques with Nintex Workflow

In an era where doing more with less is expected, companies seek SharePoint solutions that are innovative, more efficient, and cost saving. Workflow designers are always looking for ways to meet those goals by adding power and flexibility to the automation of their business processes. This session explores advanced features and design techniques used to build complex workflows with Nintex Workflow. You will leave this session having added powerful concepts and skills to your tool belt that you can do simply using drag-and-drop actions.

Terminate a Site Workflow Instance

Ran into an issue where a Nintex site workflow was running and appeared to get stuck. The workflow status via the “View Workflow History” link was displaying as Completed, but the workflow still seemed to be running. So, I needed to cancel the site workflow.

To terminate a site workflow:

  1. Verify that you have the following administrative credentials: You must be a member of the Site Owners SharePoint group on the site that you are configuring.
  2. Browse to the home page of the site for which you want to terminate a site workflow.
  3. In the Quick Launch, click View All Site Content and then click Site Workflows link at the top of the page.
  4. On the Workflows page, click the name of the workflow that you want to cancel in the My Running Workflows section.
  5. On the Workflow Status page in the Workflow Information section, click “Terminate this workflow now”.
  6. In the dialog box that appears, click OK.