Create a workflow to test the action

This topic describes how to create a Nintex Workflow to test an the example action.

Create a workflow that uses the action

You can create a basic workflow using workflow variables to pass a column value to the API action and then store the definition in a list column.

To create the workflow that uses the action

  1. Create a list with two text columns, one labeled "word" an the other "definition."
  2. Add a Nintex Workflow. Click List in the ribbon, click Workflow Settings, and then click Create a Workflow in Nintex Workflow.
  3. Click Workflow Settings, and type the following values:
    • Type Test Basic Action Call for Title.
    • Select Start Manually.
  4. Click Variables in the settings ribbon, and add the following variables by clicking New, typing the values, and clicking Save.
    • Name: Definition. Type: Single line of Text. Show on Start Form: No.
    • Name: Word. Type: Single line of Text. Show on Start Form: No.
  5. Click Save to save the Workflow Settings.
  6. Add the following actions and then configure them in the workflow.
    1. Add the Set variable action. Click the arrow to open the configuration window, and then select the Word variable in the Set box. Add the Word variable by clicking the lookup icon, clicking the Workflow Variables tab, selecting word and clicking OK.
    2. Add the BasicAction action. Click the arrow to open the configuration window, and then add the Word variable to the Word box by clicking the lookup icon, clicking the Workflow Variables tab, selecting word and clicking OK. Select the Definition variable in the Store Definition In box. Finally type the API Key for the Merriam Webster Dictionary API in the API Key box. Use the following format: ?hey=keyvalue.

      Note: You will need your own Merriam Webster Dictionary Key which you can request at: http://dictionaryapi.com

    3. Add the Set field value action. Click the arrow to open the configuration window, and then select the Definition column for the Set box. And the Definitionvariable by clicking the lookup icon, clicking the Workflow Variables tab, selecting Definitionand clicking OK.
    4. Click Save.
  7. Publish the workflow. Click Publish in the Workflow designer ribbon.
  8. Type a word in the word column, right click the item, and select the workflow name. Click Start in the Start Workflow page.
  9. Verify the definition has been stored in the definition column.

Related information

How to create a custom action