|
PowerFolder 工作流服务器版本0.5 试驾之旅(5)(6) Return – (Boolean)返回-布尔值 Description - get the value of the application-specific attribute. Can't be used on Internal Attributes. 描述-得到应用指定的属性。不能用于内部属性。 Example - client.getBooleanAttribute("HasDriversLicense"); 例子 – client.getBooleanAttribute("HasDriversLicense"); 3.2.3.3 getDecimalAttribute得到数值属性 Inputs - attributeName (String)输入--属性名称(字符串) Return - (Decimal)返回-数值 Description - get the value of the application-specific attribute. Can't be used on Internal Attributes. 描述-得到应用指定的属性。不能用于内部属性。 Example – client.getDecimalAttribute("BankBalance"); 例子 - client.getDecimalAttribute("BankBalance"); 3.2.3.4 getSystemAttribute得到系统属性 Inputs - attributeName (String)输入--属性名称(字符串) Return - (String)返回(字符串) Description - get the value of the system attribute. Can't be used on Internal Attributes. System attributes are common to all workflows, but probably have different values. 描述- 得到应用指定的属性。不能用于内部属性。系统属性对于所有工作流是一样的,但可能会 有不同的值。 Example - client.getSystemAttribute("ID"); 例子 – client.getSystemAttribute("ID"); 3.2.3.5 releaseWaitAtState 释放等待状态 Inputs - stateName (String)输入--状态名称(字符串) Return – (none)返回-无 Description - release the 'trace' waiting at the state. In addition, the 'STATUS' system attribute for the workflow is changed to 'ACTIVE'. 描述—释放等候在状态上的路径。另外,工作流的系统属性STATUS被更改为ACTIVE. Example - client.releaseWaitAtState("InventoryUpdated"); 例子 – client.releaseWaitAtState("InventoryUpdated"); 3.2.3.6 setBooleanAttribute设置布尔型的属性 Inputs - attributeName (String)输入--属性名称(字符串) Return - (none)返回(无) Description - set the value of the application-specific attribute. Can't be used on Internal Attributes. 描述--设置应用特定的属性值,不能用于内部属性。 Example - client.setBooleanAttribute("ShipmentDamaged", false); 例子 - client.setBooleanAttribute("ShipmentDamaged", false); 3.2.3.7 setDecimalAttribute设置数值型的属性 Inputs - attributeName (String)输入--属性名称(字符串)
|