rammtin
Novice

Execute workflow depending on content type(O365)

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?!

0 Kudos
Reply
5 Replies
praios81
Contributor

Re: Execute workflow depending on content type

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

Reply
cassymfreeman

Re: Execute workflow depending on content type

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:

Reply
rammtin
Novice

Re: Execute workflow depending on content type

Hi Enrico,

O365

0 Kudos
Reply
cassymfreeman

Re: Execute workflow depending on content type

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

0 Kudos
Reply
courtney_shelto

Re: Execute workflow depending on content type(O365)

Unfortunately no

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