You are viewing limited content. For full access, please sign in.

Question

Question

How to return an error message from workflow back to form

asked on April 27, 2017

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.

 

Capture3.PNG
Capture2.PNG
Capture3.PNG (4.1 KB)
Capture2.PNG (11.47 KB)
0 0

Replies

replied on April 27, 2017

You can have use the Set Business Process Variable activity in Workflow to write the message to a field variable inside Forms .

0 0
replied on April 27, 2017

Hi Xiu Hong,

I don't really get what you mean. Can you show me a simple diagram to achieve this? 

Please advise.

0 0
replied on April 27, 2017

 

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.

0 0
replied on April 27, 2017

Hi Xiuhong,

My current diagram is : 

Start Event --> my workflow --> End Event

How should i change my process diagram?

 

Capture3.PNG
Capture3.PNG (4.1 KB)
0 0
replied on April 27, 2017

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.

0 0
replied on April 27, 2017

Hi Xiu hong, 

noted. I will give it a try. 

Thanks alot!

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.