Solved

How to start a workflow from a list item or email url ?

  • 12 February 2017
  • 2 replies
  • 144 views

Badge +6

Hello,

I am using the following steps to generate a dynamic url in order to let a business user open a workflow page to run  a chase workflow.

 

step 0: create workflow var (Chase URL) of the type URL/link

step 1: stringbuilder action with example link below:

https://siteurl-etc/layouts/15/Workflow.aspx?ID={CurrentItemID} 

step 2: Email action with the url set to the above defined var ChaseURL

 

(The chase workflow can be started by the user to send a chase email to a centre)

The result is an email which can be opened but the Workflowpage does not show any workflow to run.

The workflow is saved with the Settings can run manually.

 

Can someone explain why I don't see any workflow to run ?

Is this the proper way of letting a business user start a workflow on a list item ?

 

Regards

Jaap

icon

Best answer by chaitra_b_c 13 February 2017, 08:29

View original

2 replies

Badge +8

Hi Jaap Steenis‌,

SharePoint List ID (to which the Nintex workflow is associated too) is expected along with SharePoint list item ID in the workflow page URL to trigger the workflow manually.

Update the below bold text in theabove mentioned URL:

https://siteurl-etc/layouts/15/Workflow.aspx?ID={CurrentItem:ID} &List={Workflow Context:List ID}

workflow page with ID and List as query string parameters shows desired page to trigger workflow manually on a given list item.  

I hope this helps.

Badge +6

Thanks very much Chaitra, it works like a charm.

I think I did use the long URL which included much more redirect info than the only List Item and List URL ID.

Regards

Jaap

Reply