Publicação do Workflow no Sharepoint Designer - Erro

in sharepoint •  7 years ago 

Ao se deparar com o seguinte erro ao publicar um Workflow no Sharepoint Designer:

“Unexpected error on server associating the workflow” ou “Erro Inesperado no servidor ao associar o wokflow”.

O que fazer?? Simples, basta seguir o passo-a-passo abaixo:

1ª Opção: Localize a seguinte entrada no web.config:

httpRuntime maxRequestLength="51200"

E adicione a seguinte propriedade:

httpRuntime maxRequestLength="51200" executionTimeout="300"

E reinicie o IIS da aplicação.

2ª Opção: Caso a opção acima não funcionar, execute o script abaixo no PowerShell abaixo:

$app = get-spwebapplication http://%5BAPLICAÇÃO WEB]
$app.UserDefinedWorkflowMaximumComplexity = 20000
$app.Update()

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Congratulations @luizrosario! You received a personal award!

Happy Birthday! - You are on the Steem blockchain for 1 year!

Click here to view your Board

Do not miss the last post from @steemitboard:

Valentine challenge - Love is in the air!

Support SteemitBoard's project! Vote for its witness and get one more award!

Congratulations @luizrosario! You received a personal award!

Happy Birthday! - You are on the Steem blockchain for 2 years!

You can view your badges on your Steem Board and compare to others on the Steem Ranking

Do not miss the last post from @steemitboard:

Valentine's day challenge - Give a badge to your beloved!
Vote for @Steemitboard as a witness to get one more award and increased upvotes!