[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-2951) Add ability to start jBPM in the wait-state instead of only the start-state

Norman Richards (JIRA) jira-events at lists.jboss.org
Tue May 6 14:36:19 EDT 2008


    [ http://jira.jboss.com/jira/browse/JBSEAM-2951?page=comments#action_12411929 ] 
            
Norman Richards commented on JBSEAM-2951:
-----------------------------------------

 We can add to the APIs, but I'm curious how the user would signal the process and whether whether or not we need to flush the business process context?  Is there any reason you can't simply create the process and just call BusinessProcess.setProcessId()?  




> Add ability to start jBPM in the wait-state instead of only the start-state
> ---------------------------------------------------------------------------
>
>                 Key: JBSEAM-2951
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-2951
>             Project: Seam
>          Issue Type: Feature Request
>          Components: BPM
>            Reporter: Samuel Mendenhall
>            Priority: Minor
>
> "jBPM itself does work as stated in the *jBPM docs*, i.e. start-state behaves as a wait state. It is Seam who signals the process instance right after it is created, effectively disabling the wait behavior of the start-state.
> The intent of giving the start-state a wait behavior is to allow the caller to set variables or complete a user task prior to executing any action in the process.
> Seam should offer a way to create a process instance without signaling it right away. Changing the behavior to leave the signal() out would break existing applications who assume that the process instance immediately moves to the next step. To deal with this, Seam could add a createProcess(ProcessDefinition, boolean) method to the BusinessProcess class. The boolean parameter tells whether the process instance is to be signaled." --Alejandro Guizar

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list