|
PowerFolder 工作流服务器版本0.5 试驾之旅(5)(4) Example - client.startWorkflowWithRequest("USER_NAME"); 例子—client.startWorkflowWithRequest("USER_NAME"); 3.2.1.4 startWorkflowWithXML带有XML启动工作流 Inputs - XMLValue (String)输入--XML值 Return – (none)返回--无 Description - Starts a workflow with '(XMLValue)'. No characters are converted. 描述--根据XML值来启动一个工作流,不进行转码 Example - client.startWorkflowWithXML("<employee><name>Cindy Smith</name><title>VP of Sales</title></employee>"); 例如--client.startWorkflowWithXML("<employee><name>Cindy Smith</name><title>VP of Sales</title></employee>"); 3.2.2 Selecting Existing Workflows选择已经存在的工作流 3.2.2.1 isNextWorkflowPresent 下一个工作流是否存在 Inputs – (none) 输入--无 Return – Boolean 返回--Boolean Description - this does two things - determines if there is another workflow that has been been selected from 'selectWaitingWorkflows' and 'selectWorkflows' and prepares this workflow's attributes to be read and editted. Don't use this function after calling 'selectWorkflowById'. Returns true if there is another selected workflow, false otherwise. 描述—这个做两件事情— 判断是否有另外一个工作流,它已经从selectWaitingWorkflows和selectWorkflows中被选中
|