[jboss-jira] [JBoss JIRA] (JBRULES-2934) CommandFactory newStartProcess doesn't set parameters

Geoffrey De Smet (JIRA) jira-events at lists.jboss.org
Wed Feb 1 05:26:16 EST 2012


     [ https://issues.jboss.org/browse/JBRULES-2934?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Geoffrey De Smet updated JBRULES-2934:
--------------------------------------

    Fix Version/s: 5.4.0.Beta3
                       (was: 5.4.0.Beta2)

    
> CommandFactory newStartProcess doesn't set parameters
> -----------------------------------------------------
>
>                 Key: JBRULES-2934
>                 URL: https://issues.jboss.org/browse/JBRULES-2934
>             Project: Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: drools-core
>    Affects Versions: 5.2.0.M1
>            Reporter: Dan Seaver
>            Assignee: Mauricio Salatino
>              Labels: droolsjbpm,, startProcess,
>             Fix For: 5.4.0.Beta3
>
>
> Should be able to set parameter values when starting a process. Current code:
>     public static Command newStartProcess(String processId,
>                                           Map<String, Object> parameters) {
>         return getCommandFactoryProvider().newStartProcess( processId );
>     }
> proposed code:
>     public static Command newStartProcess(String processId,
>                                           Map<String, Object> parameters) {
>   	StartProcessCommand cmd = new StartProcessCommand(processId);
> 	cmd.setParameters(parameters);
>         return cmd;
>     }
> Also, I think this issue would go under the droolsjbpm-knowledge component if the JIRA component list were updated.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list