Re: Creating a new workflow
Hani Suleiman <[email protected]>
| Newsgroups | gmane.comp.java.open-symphony.devel |
|---|---|
| Message-ID | <[email protected]> |
Fixed. Sorry for the delay! By the way, since this is a wiki feel free
to fix/contribute documentation yourself! Just create an account and
edit away.
On Thursday, June 19, 2003, at 11:08 AM, Travelli Stefano wrote:
> Hallo,
>
> documentation page at
> http://wiki.opensymphony.com/space/OSWorkflow+Creating+a+new+workflow
> is actually not correct:
>
> Workflow wf = new BasicWorkflow(username);
> HashMap inputs = new HashMap();
> inputs.put("docTitle", request.getParameter("title"));
> long id = wf.createEntry("workflowName");
> wf.initialize(id, 1, inputs);
>
> it should be:
>
> Workflow wf = new BasicWorkflow(username);
> HashMap inputs = new HashMap();
> inputs.put("docTitle", request.getParameter("title"));
> long id = wf.initialize("workflowName", 1, inputs);
>
> May be it refers to former API.
>
> stefano
>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: INetU
> Attention Web Developers & Consultants: Become An INetU Hosting
> Partner.
> Refer Dedicated Servers. We Manage Them. You Get 10% Monthly
> Commission!
> INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
> _______________________________________________
> Opensymphony-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/opensymphony-developers
>
-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php