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()
Congratulations @luizrosario! You received a personal award!
Click here to view your Board
Do not miss the last post from @steemitboard:
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Congratulations @luizrosario! You received a personal award!
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:
Vote for @Steemitboard as a witness to get one more award and increased upvotes!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit