osWorkflow-1——osWorkflow official website example deployment startup simple use (version: OSWorkflow-2.8.0)

1. Preface - Preparation

1.1 Download relevant information

  • First of all, this official website is no longer maintained, so it is almost impossible to obtain information from the official website, so why bother to spend time researching it? Why? Those who ask why will not see this article. Don’t ask me why, it is reasonable if it exists! Although there is no information on the official website, there is still a lot of information available for reference on the Internet. The following preparations need to be done. My information was also downloaded from csdn. Finally, I selected 2 that have great reference value to share:
  • I also put the two files (reference documentation + source code package) on my own network disk. You can use them if needed.Go to the network disk to download directly
    • Link:
      https://pan.baidu.com/s/1yYpa86tOR2jQf2vpwe08rw?pwd=bmzm
      
    • Copy the extraction code:bmzm

1.2 Install translation plug-in

2. Start working on the project

2.1 Unzip the .zip file

  • Extract the downloaded.zip file directly:
    Insert image description here

2.2 Simple test (put the war package into tomcat)

  • After decompression, there is a war package file inside, which can be directly placed in the webapp directory under your tomcat and then accessed directly, as follows:
    Insert image description here
  • Then start your tomcat service and access it as follows:
    http://localhost:8080/osworkflow-2.8.0-example/
    
    Insert image description here
  • You can log in according to the manual, but I get an error when logging in here. This project should be made by a friend who uploaded the source code based on the official source code. It may be a packaging problem or other problems. Don’t waste your time guessing. Okay, just do it yourself. So, if you want to study, we still have to research the project, at least start running it locally!
    Insert image description here

2.3 Import the project into the IDE and configure the project running environment

2.3.1 Import the project into Eclipse

2.3.2 Import project into idea

2.4 Start the project

2.4.1 Pay attention to tomcat port, etc.

  • Because I have started a tomcat10 locally, occupying 8080, so remember to change the port, as follows:
    Insert image description here
  • Access path, as short as possible:
    Insert image description here

2.4.2 Start the project

  • After the above configuration is completed, it can be started. Witness the miracle moment, start access:
    Insert image description here
  • After startup, it will automatically jump to the browser to access:
    http://localhost:8082/osw/
    
    Insert image description here

2.5 Simple click - page

2.5.1 create an account

  • as follows:
    Insert image description here
    Insert image description here
    Insert image description here
    Insert image description here
    Insert image description here

2.5.2 User login (don’t log in with the user you created for now!!!!)

2.5.2.1 Use the user you created to report an error! ! !
  • After logging in with the user I created, I get an error when creating the process! ! ! Don't use it yet, you can check to log in using the user you just created, as follows:
    Insert image description here
  • The interface after logging in is as follows:
    Insert image description here
  • Clicking "New Workflow" (New Workflow) creates a new workflow instance and stores it in memory, so don't be afraid to experiment.
  • I'm not afraid. What's embarrassing is that I reported an error.
    Insert image description here
  • The error is: Unable to initialize this workflow
    You are restricted from initializing this workflow
    
    Insert image description here
    Insert image description here
  • No problem using the loaded test user, keep reading!
2.5.2.2 Load user and log in
  • Load user test
    Insert image description here
    Insert image description here
  • Use the test user to log in (the prerequisite is loaded, otherwise this user is not in the cache and login is not allowed)
    Insert image description here
  • After logging in, you can create a new process, please continue...

2.5.3 New Workflow

  • Click New Workflow to create a workflow:
    Insert image description here
  • After that, click on the anchor point (#) to view the following page:
    Insert image description here
  • You can also enter a query
    Insert image description here
  • I created it 3 times here, click My Underway Workflows to view my ongoing workflow:
    Insert image description here
  • Click Viw Live Graph to view detailed steps:
    Insert image description here
    Insert image description here
  • Click Finish First Draft to complete the first step in the process:Insert image description here
    Insert image description here
  • View the detailed process here:
    Insert image description here
    Okay, that’s it for the brief introduction, you can try the rest by yourself!

Guess you like

Origin blog.csdn.net/suixinfeixiangfei/article/details/133858238