Pergunta

I am looking to set a variable in a SharePoint 2010 workflow in a SharePoint 2016 Enterprise env. as a lookup value. The issue that I am having is that the variable data is coming from the EditForm.aspx when a new document is created, so the lookup value is finding that column as empty when the workflow runs initially causing a coercion error. Suggestions for a solution?

Thanks.

Foi útil?

Solução 2

I resolved my own problem. When you are pulling a lookup value, it must attached to the "Title" column of that list. You cannot pull from custom columns.

Outras dicas

Did you set the workflow run when an item is created?

For your issue, I suggest you add a "IF" condition into your workflow, if the lookup value is empty, do other things, else set the variable value, like:
enter image description here

Licenciado em: CC-BY-SA com atribuição
Não afiliado a sharepoint.stackexchange
scroll top