cancel
Showing results for 
Search instead for 
Did you mean: 

Activiti Diagrams in RCP application

jgoncalves
Champ in-the-making
Champ in-the-making
Hi,

we're developing a product that extensively uses workflow's. We've done some research and poc's and decided to go with Activiti 'cause it looked the best option of all (very nice product, congratulations  Smiley Happy  )

One of our requirement is to have a kind of "backoffice" application (RCP application) to manage all administrative data including the workflow's used by our application.

We've started by following the "Activiti Designer Developer Guide" and we manage to get the application up and running easily.

We notice that the designer depend's heavily on one plugin that we don't need in our "backoffice" application, the "org.eclipse.ui.ide".

Our main requirements are:
  - Be able to edit and create new workflow's
  - Be able to store the 2 definition files (.xml and .activiti) in a DB table
  - Be able to load them from the DB
  - Edit/create diagrams without the project perspective that the plugin have by default
   

Main use case:
    - Step 1: read the list of workflows from the db and present it to the user
    - Step 2: the user select's one to open
    - Step 3: the system load's the diagram from the db
    - Step 4: the system present's the diagram (default Activiti editor)
    - Step 5: user change and validate the diagram
    - Step 6: user click save button
    - Step 7: system save's the diagram in the database


My questions are:

  1 - Is this possible or are we completly wrong?
  2 - If yes, or no, can you point us in the right direction?

Ps: RCP applications are not our main skill but we learn fast … we have to  :lol:

Thanks in advance for all the help you can provide us,
Jorge
1 REPLY 1

peilers
Champ in-the-making
Champ in-the-making
Hello Jorge,

I need to do something similar. Did you ever figure out how to accomplish this? If so, can you comment on the approach you took? I am intending to create a stand-alone RCP application that incorporates the Activiti Designer functionality and does much of what you stated in your post. But I can't figure out how to "detach" the Designer from the Eclipse IDE.

Thanks much for any guidance,
Patty