Skip to content

This is the repository on which you can find the source code of the WfMS prototype named "P2PTinyWfMS" and introduced in the paper "A Grammatical Approach for Administrative Workflow Design and their Distributed Execution using Structured and Cooperatively Edited Mobile Artifacts".

License

Notifications You must be signed in to change notification settings

MegaMaxim10/P2PTinyWfMS

Repository files navigation

P2PTinyWfMS

This is the repository on which you can find the source code of the WfMS prototype named "P2PTinyWfMS" and introduced in the paper "A Grammatical Approach for Administrative Workflow Design and their Distributed Execution using Structured and Cooperatively Edited Mobile Artifacts" (after several unsuccessful attempts in a number of outlets, the paper was finally accepted for publication in SN Computer Science (although it took almost two years of expert appraisal)).

P2PTinyWfMS enables the simulation on a workstation, of the decentralised execution of administrative processes which are specified in a grammar-based language. The decentralised execution model is the one presented in the above-mentioned paper.

Setting up the environment

Required tools

The required tools to be able to conduct the experiment of decentralised process execution using P2PTinyWfMS are the following:

Installation

The installation and configuration of the environment is quite simple. Precisely, it is necessary to:

  • Install the 32-bit Java 8 and configure the path environment variable of your system
  • Unzip the provided version of Eclipse into a directory of your choice
  • Start Eclipse and import the supplied projects from this repository in the following order:
    • First of all all the projects contained in the archive in the SON-Artifacts directory; these are required dependencies for the prototype's operation
    • Next, the SmartWorkflow-libs project; this project contains additional dependencies
    • Then, the p2pTinyWfMS project; this is where all the prototype code and the specifications of the proposed examples are stored
    • And finally, the startereditor project; it is in this project that the deployment maps are configured for launching simulations

Starting the default simulation

As provided here, the environment allows to simulate by default, the example described in the paper "A Grammatical Approach for Administrative Workflow Design and their Distributed Execution using Structured and Cooperatively Edited Mobile Artifacts": it is the peer review process of a scientific article.

To simulate this process, you just need to open the ExportClient.product file of the startereditor project and click on the Launch an Eclipse application link/button of the Overview tab (see the image below).

Launching the default example

Four instances of P2PTinyWfMS will then be launched. If you are asked to choose a workspace, it is best to indicate that you want to use the default workspace (the one in which your eclipse.exe is located). You can simulate the peer review process decentralised execution by navigating between instances of P2PTinyWfMS.

A video to find out more

We have prepared a short video in which we simulate the peer-review process as well as another light process on claiming damages from an insurance company. This video can help you to find out more and give you the keys to simulate your own example in this experimental environment. The video can be accessed through this link: https://youtu.be/uHXnW1MrlWM.

Thank you for your interest and we hope you will enjoy the experience with this embryonic prototype.

About

This is the repository on which you can find the source code of the WfMS prototype named "P2PTinyWfMS" and introduced in the paper "A Grammatical Approach for Administrative Workflow Design and their Distributed Execution using Structured and Cooperatively Edited Mobile Artifacts".

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published