Execute workflow depending on content type(O365)


Badge +1

Hi,

We have one list with 6 content types, Each content type have its own Nintex Form.

Before we had one workflow for all content types and then basicly we had a switch in the beginning of the workflow that made sure that right branch was executed. This workflow exceed its limit and started to throw error regarding to big size(To much CSOM).

So we decided to seperate the workflow and instead have 6 workflows. 


My question is how can we make sure that a specific workflow is executed depending on content type or a specific metadata that comes from the Nintex form?

Is the only solution to have a main workflow with a switch and then in each branch we have "Start workflow"?
We dont want that all the workflows to be executed same time beacuse of performance.


Anyone have any other solutions or is this the only option?

Also "Start workflow" action required username/password whats up with that? do we need to create a service account?!


5 replies

Userlevel 4
Badge +12

Which Version of Workflow do you use? Is this Office 365 or on prem?

Badge +16

You have  a couple of options here - you can change your starting condition to be Conditional where content type = A/B/C/D/E/F for each workflow and point to appropriate content type.

Or you can use site reusable workflows which link directly to the content type:

Badge +1

Hi Enrico,

O365

Badge +16

Ah I don't know if either of these are possible in O365...

Userlevel 5
Badge +13

Unfortunately no sad.png

The workaround for your first suggestion (conditional start) however is to have the whole workflow inside a "Run If" block. So the workflow will always start, but will pretty much end immediately if the condition is not met.

Reply