Methods / Methods for Custom Attributes |
Web Services
Retrieves a single custom attribute.
public virtual object GetCustomAttr(string customID, string attrName);
Name | Description |
---|---|
customID |
|
attrName |
|
Custom attribute value (can be string, integer, float, double, bool, and/or DateTime).
IWFWorkflowService svc = GetWorkflowService(); string customID = …// for example, "013933F128C3415F81D6F545594D4CB6"; string attrName = …// for example,"/pd:myFields/pd:Name" or "Approval" try { Object obj = svc.GetCustomAttr(customID,attrName); } catch (Exception ex) { Console.WriteLine("Failed! " + ShUtil.GetSoapMessage(ex)); }
3.2.0.4 and higher