cancel
Showing results for 
Search instead for 
Did you mean: 
imen
Nintex Newbie

error in publishing workflow

Jump to solution

hello , i have been working on wrokflow for a while , it workf fine. 

i update some fonctionnalites, and tiried to publish the workflow ,but i always receive this

 

and the workflow doesnot publish any new actions . 

 it refuse to publish the Workflow if i add a new action to it , !!!!

this is the error : 

soap: ServerThe server could not process the request. ---> Error while publishing the workflow: Application error.

i tried this : 

Perform an IISRESET as the assembly files may be using a cached version.

If the behavior persists after completing the above, perform the Workflow Activation step again.

  1. Navigate to: Central Administration > Nintex Workflow Management > Web application activation
  2. Select "All content web applications", and then select "Activate".

but no way !!!!!!!!!!!error message

0 Kudos
Reply
13 Replies
emha
Nintex Newbie

Re: error in publishing workflow

Jump to solution

you likely hit a limit of workflow size that sharepoint is able to process/compile.

you will need to remove few actions or split workflow to several parts.

see few of documents on the topic

Nintex Workflow Size Limitation 

Workflow performance improvement and load reduction 

 

0 Kudos
Reply
imen
Nintex Newbie

Re: error in publishing workflow

Jump to solution

the size of my nlf is 2566KO , and when i check ! publish without validation ( in the configuration of the workflow ) , the workflow will be published , but when publish with validation is uncheked the workflow is not published.

My workflow has no error because when i divided into to sepreated wkordFlow it will be published . 

so is there a way that a workFlow call another workFlow , so i can divide mine . 

0 Kudos
Reply
cmikhaiel
Nintex Newbie

Re: error in publishing workflow

Jump to solution

You might have also reached the maximum number of actions that can be used in a workflow if you have a subscription model. I understand that for subscriptions you can create a workflow for up to 120 actions per workflow:  

what sharepoint version are you using? and what is your license looking like?

0 Kudos
Reply
Highlighted
cmikhaiel
Nintex Newbie

Re: error in publishing workflow

Jump to solution

Yes, you can use "start workflow" action and configure it to start another sub-workflow. 

0 Kudos
Reply
imen
Nintex Newbie

Re: error in publishing workflow

Jump to solution

well i reached the 150 action or even more , but how can resolve mine now , any idea ? 

0 Kudos
Reply
emha
Nintex Newbie

Re: error in publishing workflow

Jump to solution

definitely!

for most of the cases you should be able to manage it with start workflow action

https://help.nintex.com/en-US/nintex2013/help/#Workflow/RootCategory/Actions/Nintex.Workflow.StartWo... 

for more complex cases you might directly call Workflow.asmx web service

https://help.nintex.com/en-US/sdks/sdk2013/#Reference/SOAP/NW_REF_SOAP_StartWorkflow.htm%3FTocPath%3... 

Reply
cmikhaiel
Nintex Newbie

Re: error in publishing workflow

Jump to solution

as @Marian just mentioned; 

you can take out some actions, group them on a new workflow then call the new workflow using the web service or the start workflow actions. That's if you still have some allowance to create new workflows (assuming your env. got a subscription model license with still some unused workflows or you have an enterprise version with unlimited number of workflows.)  

Reply
imen
Nintex Newbie

Re: error in publishing workflow

Jump to solution

The solution was to divie my work flow into 4 other workFlows , and in my main i call the others , now it works , but there is something weird , i cant find the workflows in list's columns , so i can add the column(workflow column) to the view.

0 Kudos
Reply
emha
Nintex Newbie

Re: error in publishing workflow

Jump to solution

have you enabled respective option in workflow settings?

0 Kudos
Reply