|
PowerFolder 工作流服务器版本0.5 试驾之旅(4)(5) Accounting was notified. 观察运行run_with_tomcat.bat的命令行控制台。你可以看到财务部已被通知。 7) From the web browser, go to 'http://localhost:8080/ViewInvoices.jsp'. You should see the newly entered purchase order. Click the button (ignore the strange ID) next to it. 从web浏览器,到http://localhost:8080/ViewInvoices.jsp。你可以看到新输入的 购买订单。单击它旁边的按钮(忽略那个奇怪的ID号). 8) Change the quantity of 'Pencils' from 3 to 5. Then click 'Approve'. 将Pencils的数量从3改到5,单击Approve 9) Go look at the command console running 'run_with_tomcat.bat'. You should see that Accounting has approved this purchase order and its total has changed to reflect the new quantities. 观察运行run_with_tomcat.bat的命令行控制台。你可以看到财务部门已经批准了这 个购买订单而且他的总数反映了新的数量修改。 2.3.5 Results 结果 Go to the PowerFolder console and open 'Administer'. Under the 'Existing Workflows' section click the 'Find Workflows' button. 移动到PowerFolder控制台,打开'Administer'.在'Existing Workflows'部分下, 单击'Find Workflows'按钮. Now that you are at the 'PowerFolder Query Workflows' web page, change the contents of 'Query' to '*APP* = 'SubmitInvoice'' (note that you should surround SubmitInvoice with single quotes) and 'Output' to '*ID*,*APP*,*STATUS*' (pay attention to letter case and don't use any spaces!), then click 'Submit'. 现在你处于 PowerFolder工作流查询页面,更改'Query'的内容为'*APP* = 'SubmitInvoice''(注意你应当用单引号来环绕SubmitInvoice)而且'Output'的内容为 '*ID*,*APP*,*STATUS*',注意字符的大小写而且不要使用任何空格,然后单击 'Submit'(提交). You should see two listings - the workflow that was 'AutoApprove'd and the one that required accounting's approval. The listing should contain a unique id (each workflow gets its own), 'Submit' for the script name, and 'DONE' for its status. 你将看到两个列表-自动批准的工作流和需要财务批准的工作流。列表应该包括一个 唯一的ID(每个工作流有自己的ID), SubmitInvoice 是脚本名称,DONE是它的状态。 Now click the 'Snapshot' button. This will open a new window which will allow you to get mUCh
|