Customizing workflow in ofbiz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Customizing workflow in ofbiz

Krupakar-3
Hi,I understand, in the latest ofbiz version, ording a configurable product
will create some series of work effort ids and some kind of workflow. Is
there any way of customizing this and add my own conditions to drive the
order of the workflow?

--
Thanks,
Krupakar.
Reply | Threaded
Open this post in threaded view
|

Re: Customizing workflow in ofbiz

Chirag Manocha-2
Hi Krupakar,
You can create customize request uri in your controller and call it from
the UI.

If this not helps then please be more specific.

Regards
--
Chirag Manocha
HotWax Media Pvt. Ltd.
Website :- www.hotwaxmedia.com
Contact :- +91-98263-19099


Krupakar wrote:
> Hi,I understand, in the latest ofbiz version, ording a configurable product
> will create some series of work effort ids and some kind of workflow. Is
> there any way of customizing this and add my own conditions to drive the
> order of the workflow?
>
>  

Reply | Threaded
Open this post in threaded view
|

Re: Customizing workflow in ofbiz

BJ Freeman
In reply to this post by Krupakar-3
once you understand how the workflows are created you can modify them.
something that is a great help in tracing this is the webtools artifactinfo.
https://demo.ofbiz.org/webtools/control/ArtifactInfo
you may be the first one to access after it the demo is rebuilt so give
in a few minutes before it is ready.
type in workeffort


Krupakar sent the following on 5/26/2009 4:21 AM:
> Hi,I understand, in the latest ofbiz version, ording a configurable product
> will create some series of work effort ids and some kind of workflow. Is
> there any way of customizing this and add my own conditions to drive the
> order of the workflow?
>

--
BJ Freeman
http://www.businessesnetwork.com/automation
http://bjfreeman.elance.com
http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro
Systems Integrator.

Reply | Threaded
Open this post in threaded view
|

Re: Customizing workflow in ofbiz

Krupakar-3
Thanks for your replies.
We are trying to understand the work flow capabilities of ofbiz. As ofbiz
gave up on workflow engine (
http://svn.apache.org/repos/asf/ofbiz/site/docs/workflow.html) we are trying
to understand how ofbiz now handles work flows and events (both manual and
automated events).

To be more specific, my question is
What are the admin activities/parties involved when a user submits an order
from ecommerce to make the order successfully completed? and how to
customize the intermediate activities in the process of making the order
complete?

On Tue, May 26, 2009 at 5:46 PM, BJ Freeman <[hidden email]> wrote:

> once you understand how the workflows are created you can modify them.
> something that is a great help in tracing this is the webtools
> artifactinfo.
> https://demo.ofbiz.org/webtools/control/ArtifactInfo
> you may be the first one to access after it the demo is rebuilt so give
> in a few minutes before it is ready.
> type in workeffort
>
>
> Krupakar sent the following on 5/26/2009 4:21 AM:
> > Hi,I understand, in the latest ofbiz version, ording a configurable
> product
> > will create some series of work effort ids and some kind of workflow. Is
> > there any way of customizing this and add my own conditions to drive the
> > order of the workflow?
> >
>
> --
> BJ Freeman
> http://www.businessesnetwork.com/automation
> http://bjfreeman.elance.com
>
> http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro
> Systems Integrator.
>
>


--
Thanks,
Krupakar.
Reply | Threaded
Open this post in threaded view
|

Re: Customizing workflow in ofbiz

BJ Freeman
In reply to this post by BJ Freeman
it is on my list of lists to document this at some point in the future.
the best I can give you at this time is to use the artifact in webtools
searches like
cart
will give you the services that interact with it.
Order will give the entities and services that are used for an order.

by reading the services and Views you can get an idea of the permission
and roles that are used.

as you can see by the lists this is more than can be covered in a email.

Krupakar sent the following on 5/26/2009 5:59 AM:

> Thanks for your replies.
> We are trying to understand the work flow capabilities of ofbiz. As ofbiz
> gave up on workflow engine (
> http://svn.apache.org/repos/asf/ofbiz/site/docs/workflow.html) we are trying
> to understand how ofbiz now handles work flows and events (both manual and
> automated events).
>
> To be more specific, my question is
> What are the admin activities/parties involved when a user submits an order
> from ecommerce to make the order successfully completed? and how to
> customize the intermediate activities in the process of making the order
> complete?
>
> On Tue, May 26, 2009 at 5:46 PM, BJ Freeman <[hidden email]> wrote:
>
>> once you understand how the workflows are created you can modify them.
>> something that is a great help in tracing this is the webtools
>> artifactinfo.
>> https://demo.ofbiz.org/webtools/control/ArtifactInfo
>> you may be the first one to access after it the demo is rebuilt so give
>> in a few minutes before it is ready.
>> type in workeffort
>>
>>
>> Krupakar sent the following on 5/26/2009 4:21 AM:
>>> Hi,I understand, in the latest ofbiz version, ording a configurable
>> product
>>> will create some series of work effort ids and some kind of workflow. Is
>>> there any way of customizing this and add my own conditions to drive the
>>> order of the workflow?
>>>
>> --
>> BJ Freeman
>> http://www.businessesnetwork.com/automation
>> http://bjfreeman.elance.com
>>
>> http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro
>> Systems Integrator.
>>
>>
>
>

--
BJ Freeman
http://www.businessesnetwork.com/automation
http://bjfreeman.elance.com
http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro
Systems Integrator.

Reply | Threaded
Open this post in threaded view
|

Re: Customizing workflow in ofbiz

guo weizhan
In reply to this post by Krupakar-3
I guess you can using the ECA,

ECA (Event Condition Action) is much like a trigger. When a service is
called, a lookup is performed to see if any ECAs are defined for this event.
Events include before authentication, before IN parameter validation, before
actual service invocation, before OUT parameter validation, before
transaction commit, or before the service returns. Next each conditionin the
ECA definition is evaluated and if all come back as true, each actionis
performed. An action is just a service which must be defined to work with
the parameters already in the service's context. There are no limit to the
number of conditions or actions each ECA may define.<service-eca>
<eca service="testScv" event="commit">
<condition field-name="message" operator="equals" value="12345"/>
<action service="testBsh" mode="sync"/>
</eca>
</service-eca>
you can get more information :
http://docs.ofbiz.org/display/OFBTECH/Service+Engine+Guide

2009/5/26 Krupakar <[hidden email]>

> Thanks for your replies.
> We are trying to understand the work flow capabilities of ofbiz. As ofbiz
> gave up on workflow engine (
> http://svn.apache.org/repos/asf/ofbiz/site/docs/workflow.html) we are
> trying
> to understand how ofbiz now handles work flows and events (both manual and
> automated events).
>
> To be more specific, my question is
> What are the admin activities/parties involved when a user submits an order
> from ecommerce to make the order successfully completed? and how to
> customize the intermediate activities in the process of making the order
> complete?
>
> On Tue, May 26, 2009 at 5:46 PM, BJ Freeman <[hidden email]> wrote:
>
> > once you understand how the workflows are created you can modify them.
> > something that is a great help in tracing this is the webtools
> > artifactinfo.
> > https://demo.ofbiz.org/webtools/control/ArtifactInfo
> > you may be the first one to access after it the demo is rebuilt so give
> > in a few minutes before it is ready.
> > type in workeffort
> >
> >
> > Krupakar sent the following on 5/26/2009 4:21 AM:
> > > Hi,I understand, in the latest ofbiz version, ording a configurable
> > product
> > > will create some series of work effort ids and some kind of workflow.
> Is
> > > there any way of customizing this and add my own conditions to drive
> the
> > > order of the workflow?
> > >
> >
> > --
> > BJ Freeman
> > http://www.businessesnetwork.com/automation
> > http://bjfreeman.elance.com
> >
> >
> http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro
> > Systems Integrator.
> >
> >
>
>
> --
> Thanks,
> Krupakar.
>
Reply | Threaded
Open this post in threaded view
|

Re: Customizing workflow in ofbiz

Krupakar Jonnalagadda
Thanks a lot for the info.
Before we go in details, can I get an example work flow demo from ofbiz 9.04
release?

I am able capture a request from customer for 'Request for a quote'.
I want to assign this request to validate and approve by some other user.
Calculate the price/cost
Submit the quote to customer, etc.

Could you please give me suggestion how to demonstrate this using ofbiz?


On Wed, Jun 3, 2009 at 9:22 AM, guo weizhan <[hidden email]> wrote:

> I guess you can using the ECA,
>
> ECA (Event Condition Action) is much like a trigger. When a service is
> called, a lookup is performed to see if any ECAs are defined for this
> event.
> Events include before authentication, before IN parameter validation,
> before
> actual service invocation, before OUT parameter validation, before
> transaction commit, or before the service returns. Next each conditionin
> the
> ECA definition is evaluated and if all come back as true, each actionis
> performed. An action is just a service which must be defined to work with
> the parameters already in the service's context. There are no limit to the
> number of conditions or actions each ECA may define.<service-eca>
> <eca service="testScv" event="commit">
> <condition field-name="message" operator="equals" value="12345"/>
> <action service="testBsh" mode="sync"/>
> </eca>
> </service-eca>
> you can get more information :
> http://docs.ofbiz.org/display/OFBTECH/Service+Engine+Guide
>
> 2009/5/26 Krupakar <[hidden email]>
>
> > Thanks for your replies.
> > We are trying to understand the work flow capabilities of ofbiz. As ofbiz
> > gave up on workflow engine (
> > http://svn.apache.org/repos/asf/ofbiz/site/docs/workflow.html) we are
> > trying
> > to understand how ofbiz now handles work flows and events (both manual
> and
> > automated events).
> >
> > To be more specific, my question is
> > What are the admin activities/parties involved when a user submits an
> order
> > from ecommerce to make the order successfully completed? and how to
> > customize the intermediate activities in the process of making the order
> > complete?
> >
> > On Tue, May 26, 2009 at 5:46 PM, BJ Freeman <[hidden email]> wrote:
> >
> > > once you understand how the workflows are created you can modify them.
> > > something that is a great help in tracing this is the webtools
> > > artifactinfo.
> > > https://demo.ofbiz.org/webtools/control/ArtifactInfo
> > > you may be the first one to access after it the demo is rebuilt so give
> > > in a few minutes before it is ready.
> > > type in workeffort
> > >
> > >
> > > Krupakar sent the following on 5/26/2009 4:21 AM:
> > > > Hi,I understand, in the latest ofbiz version, ording a configurable
> > > product
> > > > will create some series of work effort ids and some kind of workflow.
> > Is
> > > > there any way of customizing this and add my own conditions to drive
> > the
> > > > order of the workflow?
> > > >
> > >
> > > --
> > > BJ Freeman
> > > http://www.businessesnetwork.com/automation
> > > http://bjfreeman.elance.com
> > >
> > >
> >
> http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro
> > > Systems Integrator.
> > >
> > >
> >
> >
> > --
> > Thanks,
> > Krupakar.
> >
>