2.2 SpecChange specification changes 2.2.1 Situation Scenario A company requires approval from three departments, Automation, Manufacturing, and Quality, for every specification change to its production system. When submitted, the specification change should immediately appear in Automation's and Manufacturing's' Inbox's for Approval The Specther's 'Inbox' Until The Other Two Departments Have Approved It. For each product system specifications, a company needs to obtain approval, automation, manufacturing and quality of three departments. When the request for the specifications is submitted, the specifications will immediately appear to wait for approval in the inbox of the automation and manufacturing sector. However, specifications should not appear in a quality department inbox until the other two departments approve it.
To Simplify This Example, Rejecting A Specification Change Will Not Be Required. To simplify this example, you don't need to deliver a specification. (This is not considered in the example) 2.2.2 preparation preparation
2.2.2.1 Overview1) If The PowerFolder Server Has NOT BEEN Started, Start It Now. If the PowerFolder server is not started, start it. 2) Log into the PowerFolder Console log into the PowerFolder Console .3) Undeploy all scripts and web pages unload all scripts and pages .4) Deploy the following script and web pages and publish the following script page Script: Script - SpecChange.
WEB PAGES: Page - AutomationAppr- AutomationView- Login- Manufactappr- ManufactView- QualityAppr- QualityView- SubmitResponse
2.2.2.2 How-To what to do - Starting the PowerFolder Server If you configured environment variable 'JAVA_HOME' during installation, just double-click 'run_with_tomcat.bat' in Windows Explorer Otherwise, open a command console and make sure the environment variable.. 'JAVA_HOME' is set to base directory of the Java installation. start the PowerFolder server by going to the directory then go to the 'jboss' subdirectory then again go to the 'bin' subdirectory. Run program 'run_with_tomcat.bat'. start PowerFolder server. If you configure the environment variable Java_home during installation, just double-click Run_With_Tomcat.bat in resource management. Otherwise, open a command console, design environment variables Java_home to the root directory of Java installation. To launch the PowerFolder server, move to the installation directory, to the JBoss subdirectory, to the bin subdirectory, run the program run_with_tomcat.bat. . - Logging into the PowerFolder Console Open a web browser and go to the address 'http: // localhost: 8080 / powerfolder / login' Enter 'admin' for the user name and password, and then press 'Login' to log into. PowerFolder Console: Open a browser, to address 'http: // localhost: 8080 / powerfolder / login', enter admin as user name and password, press the Login button.
-.. Undeploying scripts and web pages To undeploy scripts, from the PowerFolder Console open 'Administer' then open 'Scripts' Check the boxes next to the scripts you want to undeploy under the section 'Deployed Scripts' then click 'Remove Checked Scripts' . to undeploy web pages, from the PowerFolder Console open 'Administer' then open 'Web Pages'. Check the boxes next to the web pages you want to undeploy under the section 'Deployed Web Pages' then click 'Remove Checked Web Pages'. Uninstall all scripts and pages. To uninstall the script, open Administer from the PowerFolder console, then open Scripts. In the 'Deployed Scripts' section, select the selection box in front of the script you want to uninstall, and then click 'Remove Checked Scripts'. In order to uninstall the page, open the Administer from the PowerFolder console, then open the web pages. Select the page you want to unload in the deployed web paged section, then click 'Remove Checked Web Pages'. -.. Deploying scripts and web pages To deploy scripts, from the PowerFolder Console open 'Administer' then open 'Scripts' Check the boxes next to the scripts you want to deploy under the section 'Available Scripts' then click 'Deploy Checked Scripts' . to deploy web pages, from the PowerFolder Console open 'Administer' then open 'Web Pages'. Check the boxes next to the web pages you want to deploy under the section 'Available Web Pages' then click 'Deploy Checked Web Pages'. Publish scripts and pages. To publish the script, open Administer from the PowerFolder console, then open Scripts. In the Available Scripts section, select the script you want to publish, then click 'Deploy Checked Scripts'. To publish a web page, from Administer, open Web Pages. Select the page you want to publish from the Available Web Pages section, then click 'Deploy Checked Web Pages'.
2.2.3 Technical Overview Technology Overview
2.2.3.1 Diagram flowchart 2.2.3.2 Workflow Steps workflow step 1) StartHere - this is where the process begins Simultaneously ( 'branch') go to the beginning of the process where 'NotifyAutomation' and 'NotifyManufacturing'.StartHere-- that is. . Simultaneously (branch) move to NotifyAutomation and NotifyManufacturing2) NotifyAutomation - Tell Automation That It Has A Specification Change to Approve.NotifyAutomation - Tell the Automation Department It has a specification to modify. 3) AutomationApproves -. Wait here until Automation approves Once this wait has been externally released (via web page), go to 'Notify Quality' only if 'ManufacturingApproves' has finished first Otherwise, go to' StopHere '(end this' branch. ') .AutomationApproves - Wait here to know the approval of the automation department. Once this waiting to be released outside (via Web page), if ManufacturingApproves has been completed, then move to Notify Quality, otherwise move to StopHere (the end of this branch) 4) NotifyManufacturing - tell Manufacturing that is has a specification change to approve.NotifyManufacturing-- tell manufacturing sector has a specification change pending 5) ManufacturingApproves - wait here until manufacturing approves.ManufacturingApproves-- prior consent of the manufacturing sector in this wait 6) NotifyQuality - tell quality that it has a specification change to approve.NotifyQuality-- tell quality it has a department for approval to change the specification 7) QualityApproves -. wait here until quality approves Once this wait has been externally released (via web page), print a message to indicate that all three departments have approved this specification change.QualityApproves- in quality I am waiting for it before. Once you are waiting to be released (via the web page), print a message indicate that the three departments have approved the specifications of the specification 8) Stophere - this is where the process ends.stophere - this is the end of the process
2.2.3.3 User Interface The user interface 1) AutomationAppr - approve all specification changes checked on the 'AutomationView' web page specifications approved by all the selected modified 2) AutomationView AutomationView on page -.. Displays all specification changes requiring Automation's approval In other words, Display All Workflows Waiting At the 'AutomationApproves' Workflow State. Displaying all specifications that the automation department approved. Or, display all workflows waiting in AutomationApproves State 3) Login - Lets The User Login Asia MEMBER OF Any of The Three Departments. Also Allows A User To Submit A New Specification Change. Let users be used as any three sectors. One member is logged in. The same also allows users to submit a new specifications. 4) Manufactappr - Approve All Specification Changes Checked on The 'ManufacturingView' Web Page. Specifications modified in the ManufactView page. 5) ManufactView - displays all specification changes requiring Manufacturing's approval In other words, display all workflows waiting at the 'ManufacturingApproves' workflow state display specification changes for all of the required approval of the manufacturing sector... Or, display all workflows waiting in the ManufacturingApproves state. 6) QUALITYAPPR - Approve All Specification Changes Checked on The 'QualityView' Web Page. Specifications modified in the QualityView page. 7) QualityView - Displays All Specification Changes Requiring Quality's Approval. In Other Words, Display All Workflows Workflow State. Shows all specifications requiring specifications of the quality department. Or, there is a workflow waiting for the QualityApproves state. 8) Submitresponse - Response Page That Appers WHEN A User Submits A New Specification Change. This is the page of the response page when the user submits a new specification. This is the page of the startup process.
2.2.4 USAGE 1) Open a Browser (Preference DiffERENT THAN THE ON WITH POWERFOLDER Console) and go to 'http: // localhost: 8080 / login.jsp'. Note The '.jsp' - All Web Pages in PowerFolder End WITH '.JSP' WHEN Deployed. Open a browser (better with the PowerFolder console), to 'http: // localhost: 8080 / startprint10times.jsp'. Page, note ".jsp", in PowerFolder, All web pages are ended in JSP after publishing. 2) Click 'Manufacturing', You Should Not See Any Specification Changes Requiring Approval. Click Manufacturing, you can't see any specifications that need to be approved.
3) Click The Back Button On Your Browser and the Click 'Automation', You Should Not See Any Specification Changes Requiring Approval. On the browser, click the Back button, then click Automation, you can't see any specifications that need to be approved. .
4) Click The Back Button On Your Browser and the Click 'Quality', You Should Not See Any Specification Changes Requiring Approval. On the browser, click the Back button, then click Quality, you can't see any specifications that need to be approved. .
5) Click The Back Button On Your Browser and the Enter 'This Is A Test' in The Text Area and Click 'Submit Specification Change'. On the browser, click the Back button, enter this Is A Test on the text area, click Submit Specification Change.
6) Go Look At the Command Console Running 'Run_With_Tomcat.bat'. You Should See a Notification To Manufacturing and Automation Regarding The New Specification Change. Watch the command console of running run_with_tomcat.bat. You can see a notice of making a specifications to manufacturing and quality.
7) Click The Back Button On Your Browser and the Click 'Quality', You Should Still Not See Any Specification Changes Requiring Approval. On the browser, click the Back button, then click Quality, you can't see any specifications that need to be approved. modify.
8) Click the back button on your browser and then click 'Automation', you should see the specification change. Check the box next to it and click 'Approve Specification Changes'. Click on the browser back button, and then click Automation You can see the specification number. Select the check box near it, click Approve Specification Changes9) Click the back button twice on your browser and then click 'Quality', you should still not see any specification changes requiring approval. In addition, go look at the command console running ' Run_with_tomcat.bat '. You Should Not See a Notification To Quality Regarding The New Specification Change. On the browser, click the Back button, then click Quality, you still can't see any specifications that need to be approved. Also, watch the command line console running Run_With_Tomcat.bat '. You can't see a notification of quality based on new specifications.
10) Click the back button on your browser and then click 'Manufacturing', you should see the specification change. Check the box next to it and click 'Approve Specification Changes'. Click on the browser back button, and then click Manufacturing You can see the specification number. Select the selection box near it, click Approve Specification Changes
11) Go Look at The Command Console Running 'Run_With_Tomcat.bat'. You Should See a Notification To Quality Regarding The New Specification Change. Watch the command line console of running run_with_tomcat.bat '. You can see a notification of quality based on new specification changes.
12) Click the back button twice on your browser and then click 'Quality', you should see the specification change. Check the box next to it and click 'Approve Specification Changes'. Press the back button twice, click Quality. You can See the specification change. Select the selected box near it, click AppRove Specification Changes.
13) Go Look at The Command Console Running 'Run_With_Tomcat.bat'. You SHOULD SEE A General Notice Stating That The Process is Complete (Specification Change Approved). Watch the command line console running run_with_tomcat.bat '. You can see a general notification declaration process has been completed (specification modification is approved). 2.2.5 Results The results Go to the PowerFolder console and open 'Administer'. Under the 'Existing Workflows' section click the 'Find Workflows' button. PowerFolder moved to the console, open 'Administer'. In 'Existing Workflows' portion, click 'Find Workflows' button .Now that you are at the 'PowerFolder Query Workflows' web page, change the contents of 'Query' to '* APP * =' SpecChange '' (note that you should surround SpecChange with single quotes) And 'Output' to '* id *, * app *, * status * ,? change?' (pay attention to letter case!), then click 'Submit'. Now you are in a PowerFolder workflow. Query page, change 'query' content is' * app * = 'specchange' '(note that you should surround the specchange) and' output 'content is' * id *, * app *, * status *, ? Change? ', Pay attention to the case of characters and do not use any space, and then click' Submit '.
You should see just one listing - the workflow resulting from the test you just ran The listing should contain a unique id (each workflow gets its own), 'SpecChange' for the script name, 'DONE' for its status, and 'This. is a test 'for Change.' Change 'is an application-specific attribute - an attribute specific to the' SpecChange '. script Application-specific attributes are represented by their name surrounded by' 'you should only see a list? - The work that you have just running is generated. The list should include a unique serial number (each workflow has its own), the script name is specchange, its status is DONE, and this is a test as change.'change 'is applying specific properties - a specific property The properties of the 'specchange' script. Applying specific properties is used to reply around. Now Click The 'Snapshot' Button. This Will Open A New Window Which Will Allow You to Get More Detail About The Current State of this Workflow. Click the 'snapshot' button. This will open a new window that allows you to get more details about the current state of this workflow.