Category Archives: Nintex Workflow 2010

Remove Line Breaks in Text Using a Regular Expression in Nintex Workflow

You can remove line breaks in a text string using the Regular Expression action in Nintex Workflow.

Here are the steps to follow:

  1. Insert a Regular Expression action into your Nintex Workflow.
  2. Configure it with the following settings:
    1. Pattern = [\r\n]
    2. Replacement text = Keep this empty (or use a replacement character)
    3. Input text = Insert your text string (you can insert a reference to data in a list column or workflow variable)
    4. Store result in = Text workflow variable
  3. You can then use the workflow variable as you need it.

RegExRemoveLineBreaks

Get Digits Before a Decimal Point Using a Regular Expression in Nintex Workflow

Using the Regular Expression action in Nintex Workflow, you can get the digits before a decimal point.

Here are the steps to follow:

  1. Insert a Regular Expression action into your Nintex Workflow.
  2. Configure it with the following settings:
    1. String = Your number from a column or workflow variable.
    2. String Operation = Replace
    3. Pattern = \.[0-9]+
    4. Replacement String = Keep this empty
    5. Output = Text workflow vatiable
  3. You can then use the workflow variable as you need it.

Here are some examples from using this Regular Expression:

String Regular Expresssion Result
6.5 \.[0-9]+ 6
1234.5678 \.[0-9]+ 1234
1234567.89 \.[0-9]+ 1234567

 

Regular Expression to Get All Characters After a Specific Character in Nintex Workflow

You can get all the characters after a specific character in a string using Nintex Workflow.

Here are the steps to follow:

  1. Insert a Regular Expression action into your Nintex Workflow.
  2. Configure it with the following settings:
    1. Pattern = (^.*?(?=-)-)  where the “-” is the character (replace both “-” with your desired character)
    2. Replacement text = Keep this empty
    3. Input text = Insert your text string (you can insert a reference to data in a list column or workflow variable)
    4. Store result in = Text workflow variable
  3. You can then use the workflow variable as you need it.

Here are some examples from using this Regular Expression:

String Regular Expresssion Result
abc123-xyz456 (^.*?(?=-)-) xyz456
abc123;xyz456 (^.*?(?=;);) xyz456
abc123?xyz456 (^.*?(?=[?])[?]) xyz456

Remove a Forward Slash at the End of a URL String in Nintex Workflow

I recently had a need to remove a forward slash (“/”) from the end of a URL text string using Nintex Workflow.  Here are the steps to follow:

  1. Insert a Regular Expression action into your Nintex Workflow.
  2. Configure it with the following settings:
    1. Pattern = /[^/]*$
    2. Replacement text = Keep this empty
    3. Input text = Insert your URL text string
    4. Store result in = Text workflow variable
  3. You can then use the workflow variable as you need it.

Completed Nintex Workflow Pro Certificate and Nintex Workflow Admin Certificate

I recently completed both the Nintex Workflow Pro Certificate and the Nintex Workflow Admin Certificate.

The Workflow Pro Certificate is for skilled Nintex platform users and covers designing, creating, and debugging Nintex workflows and forms.

The Nintex Workflow Admin Certificate is for skilled Nintex platform administrators and covers various abilities and knowledge including the installation and maintenance of the Nintex Platform.

Nintex Workflow Webinar Posted

I recently presented a webinar titled “Automating Business Processes with SharePoint & Nintex Workflow“. Here a quick summary of the webinar presentation:

“Organizations of all sizes are constantly searching for ways to improve efficiencies, increase productivity and add value to their SharePoint implementations. Automating business processes with SharePoint workflows addresses these goals perfectly. Building these processes is not always a simple task, but it can be easier!

This session will provide an overview of building workflow solutions with Nintex Workflow, explore several features of the product and walk through real business workflow solutions. You will leave this session with a clear understanding of how your organization can successfully implement workflow-enabled business solutions.”

You can view the recording here: Automating Business Processes with SharePoint & Nintex Workflow

Remove Spaces from Text Strings with Nintex Workflow

You can easily remove all spaces in text strings in Nintex Workflows. Follow these steps:

  1. Insert a Regular Expression action into the workflow.
  2. Configure it with the following settings:
    1. Pattern = \s
    2. Replacement text = Keep this empty
    3. Input text = Insert your text string
    4. Store result in = Text workflow variable
  3. You can then use the workflow variable as you need it.

Prime Conditions: Start a Workflow Conditionally

Workflows can be started a number of different ways: manually, upon item creation or upon item change. One little known setting for starting a workflow is the Conditional start option. This option requires a condition to be met before the workflow runs. If the condition is not met, then the workflow never actually runs.

Follow these steps to configure the Conditional start of a workflow:

  1. Open the workflow in the Nintex Workflow Designer.
  2. Click on the Workflow Settings option in the Ribbon menu.
  3. ​In the Workflow Options section, click on the drop down menu for the “Start when items are created” or “Start when items are modified” setting in a SharePoint list or the “Start when items are modified” setting in a SharePoint library.​

    Note: The Conditional Start is not available as an option for the “Start when items are created” menu in a document library.

  4. Select the Conditional option, and click on the Conditions button.
  5. Build the desired start conditions query, and click the Save button.
  6. Click the Save button to save the changes to the Workflow Settings.

Enable a Nintex Workflow to Start from the Item Menu

Nintex Workflow includes an option in the Workflow Settings to add an option on a list or library item menu to manually start a workflow.

Add an option on the item menu to start a workflow:

  1. Open the workflow in the Workflow Designer.
  2. Click on the Workflow Settings dropdown in the Settings section of the Ribbon.
  3. Choose the “Workflow Settings” option.

    StartNintexWorkflowItemMenu1

  4. Go to the Workflow Options section and click the box for “Enable workflow to start from the item menu” option.
  5. Add information for the following options:
    • Menu item label – Workflow label displayed in the item drop down menu.
    • Menu item image URL – URL for the workflow icon displayed in the item drop down menu. Can be an absolute or relative address.
    • Menu item position – Position of the workflow start option in the item drop down menu. Use the options below for placement in a normal SharePoint list:
      • 0 – Top Position
      • 200 – Second position
      • 255 – Third position
      • 898 – Fourth position
      • 900 – Fifth position
      • 1000 – Sixth position
      • 1050 – Seventh position
      • 1100 – Eighth position
      • 1175 – Ninth position
      • 2000 – Last position
  6. Click on the Save button in the ribbon to save your changes to the items to the Workflow Options section.
  7. Publish the workflow to enable the start option in the item drop down menu.

    StartNintexWorkflowItemMenu2

Start the workflow from the item menu:

  1. Go to the item and open the item drop down menu by clicking on the three dots (…).
  2. Click on the workflow start option in the item menu.
  3. Click on the Start button on the Start Workflow page to kick off the workflow.

StartNintexWorkflowItemMenu3

Error Occurred. Unable to Preview Workflow

Received the following error on the Workflow Progress screen when reviewing the history of a Nintex Workflow:

Error occurred. Unable to preview workflow.

I resolved this issue by deleting workflow actions that were disabled in the workflow. The specific actions I deleted were the “Copy to SharePoint” and “Create new item” actions. Once I deleted them and republished the workflow, I was able to preview the workflow on the Workflow Progress screen.