Hi,
this code defines a workflow that starts by displaying a form that allows you to enter data.
<TaskDefinition name='TestWF25' taskType='Workflow' executor='com.waveset.workflow.WorkflowExecutor' suspendable='true' syncControlAllowed='true' execMode='sync' execLimit='0' resultLimit='0' resultOption='delete' visibility='runschedule' progressInterval='0'>
<Form>
<Field name='someValue'>
<Display class='Text'>
<Property name='title' value='Some Value'/>
</Display>
</Field>
</Form>
<Extension>
<WFProcess name='TestWF25' maxSteps='0'>
<Activity id='0' name='start'>
<Transition to='show form 2'/>
<WorkflowEditor x='65' y='90'/>
</Activity>
<Activity id='1' name='show form 2'>
<ManualAction id='0' syncExec='true'>
<FormRef>
<ObjectRef type='UserForm' name='TestForm25'/>
</FormRef>
</ManualAction>
<Transition to='end'/>
<WorkflowEditor x='114' y='142'/>
</Activity>
<Activity id='2' name='end'>
<WorkflowEditor x='162' y='214'/>
</Activity>
</WFProcess>
</Extension>
<MemberObjectGroups>
<ObjectRef type='ObjectGroup' id='#ID#Top' name='Top'/>
</MemberObjectGroups>
</TaskDefinition>
After initiating the workflow its embeded form is automatically shown. Forms embeded like this are usually used to gather information needed for workflow execution. Therefore the form is actually shown bedore the start activity occurs.
When you submit the form that is embeded above the workflow continues. start -> show form 2
show form 2 is a manual action which means that a form is displayed to allow manual action. In forms like these the baseContext of the form is "variables". By making the manual action synchronous this form is imidiatly displayed to the submitter of form 1 embeded above. If it was not defined to be synchronous than it would wait for somebody to pick the workitem (and with it the form) up just like approvals do. Actually this is how approvals are implemented.
<Configuration name='TestForm25' wstype='UserForm'>
<Extension>
<Form name='TestForm25' baseContext='variables'>
<Display class='EditForm'/>
<Field name='someValue'>
<Display class='Label'>
<Property name='title' value='The Value is'/>
</Display>
</Field>
</Form>
</Extension>
<MemberObjectGroups>
<ObjectRef type='ObjectGroup' id='#ID#Top' name='Top'/>
</MemberObjectGroups>
</Configuration>
Import these two files and start TestWF25 from Tasks-> Run Tasks.
Ok, this is the answer to what you asked in your question. But i think that you should have a look at the documentation and read about the WizardPanel display class - it may be what you where really looking for.
Regards,
Patrick