Ending a workflow with a form

Hi

We;ve customised our end user screens and workflow to hava first-time in wizard which ends in a form which is currently manual action, from which the user can go anywhere in the end user interface, and therefore does not have a :complete value on it as it's for information only i.e. 'Thank you for registering, etc.) Because there is no :complete step the workflow remains suspended - even though the end step is directly after.

So my question is => Is there any way to direct a workflow to end up at a particular form and then immediatly terminate without using a manual action form?

Thanks

--Calum

[640 byte] By [calumsma] at [2007-11-27 6:42:28]
# 1

You may use a ManualAction. You simply need to add the timeout variable to the ManualAction. Then in the Activity in your TaskDefinition, leave out the Transition based upon the timeout...meaning you will Transition to the next Activity you want to. Example...

<Activity id='1' name='Do Some Work'>

<ManualAction id='0' name='Display Submission Message' timeout='-2' syncExec='true'>

<Owner>

<ref>WF_CASE_OWNER</ref>

</Owner>

<FormRef>

<ObjectRef type='UserForm' id='My User Form'/>

</FormRef>

</ManualAction>

<Transition to='To Where you want to user to automatically go to'/>

</Activity>

In the code above, I force the user to view a form, but put a timeout on the form for two minutes (or two seconds, I can't remember which). Regardless of if the user clicks a button or not, the workflow will eventually timeout and will transition to the Activity I specify with the really long name.

bbaker51778a at 2007-7-12 18:12:32 > top of Java-index,Web & Directory Servers,Directory Servers...