Graceful Custom Errors in Custom Workflows?

Hello all,

I have some custom workflows I have put together that I am launching by linking to the taskLaunch.jsp. Sometimes I want to report an error back to the end user. So I have created a workflow activity that launches the Add Result application, sets type as error, and passes the message back. This works well to deliver the message. However, if the form is re-submitted, then I am presented with "View type not specified View type not specified" and the workflow fails to perform. Does anyone know how this can be handled more gracefully?

Thanks!

[573 byte] By [JimBearda] at [2007-11-27 4:48:46]
# 1
I found it to be quicker to add error checks for all possible bad states to the field validation elements of the form then to figure out how to get a friendly error from the workflow.
JimBearda at 2007-7-12 10:01:45 > top of Java-index,Web & Directory Servers,Directory Servers...
# 2

Hi Jim,

You Have to add your custom workflow name in End User Tasks from debug and see under configuration object there is "End User Tasks".

add this code there

<List>

<String>CUSTOM WORKFLOW NAME</String> <!梬orkflow name-->

<String>CUSTOM WORKFLOW NAME</String>

</List>

Thanx

Shant

Shanta at 2007-7-12 10:01:45 > top of Java-index,Web & Directory Servers,Directory Servers...