Hi guys,
i need advise on how can i return a error message from workflow back to form if the query found an existing records. refer to my attachment.
Thank you.
Hi guys,
i need advise on how can i return a error message from workflow back to form if the query found an existing records. refer to my attachment.
Thank you.
You can have use the Set Business Process Variable activity in Workflow to write the message to a field variable inside Forms .
Hi Xiu Hong,
I don't really get what you mean. Can you show me a simple diagram to achieve this?
Please advise.
Something like this, it is not a real error message, but use a field in the form to record why the item is not inserted. You can hide the field on the form so end user won't change it.
Hi Xiuhong,
My current diagram is :
Start Event --> my workflow --> End Event
How should i change my process diagram?
You don't need to change the diagram, but just set "wait for the workflow to finish before proceeding" to yes for the workflow service task.
Hi Xiu hong,
noted. I will give it a try.
Thanks alot!