internal virtual SDKObjects.Properties DescribeProperties()
        {
            var props = new SDKObjects.Properties();

            // worklistitem properties
            props.Add(new Property("AllocatedUser", "System.String", SoType.Text, new MetaData("Allocated User", "AllocatedUser")));
            props.Add(new Property("Data", "System.String", SoType.Text, new MetaData("Data", "Data")));
            props.Add(new Property("ID", "System.Int32", SoType.Autonumber, new MetaData("ID", "ID")));
            props.Add(new Property("SerialNumber", "System.String", SoType.Text, new MetaData("SerialNumber", "SerialNumber")));
            props.Add(new Property("Status", "System.String", SoType.Text, new MetaData("Status", "Status")));
            props.Add(new Property("Link", "System.String", SoType.HyperLink, new MetaData("Link", "Link")));

            // activity instance destination properties
            props.Add(new Property("ActivityID", "System.Int32", SoType.Number, new MetaData("Activity ID", "Activity ID")));
            props.Add(new Property("ActivityInstanceID", "System.Int32", SoType.Number, new MetaData("Activity Instance ID", "Activity Instance ID")));
            props.Add(new Property("ActivityInstanceDestinationID", "System.Int32", SoType.Number, new MetaData("Activity Instance Destination ID", "Activity Instance Destination ID")));
            props.Add(new Property("ActivityName", "System.String", SoType.Text, new MetaData("Activity Name", "Activity Name")));
            props.Add(new Property("Priority", "System.String", SoType.Text, new MetaData("Priority", "Priority")));
            props.Add(new Property("StartDate", "System.DateTime", SoType.DateTime, new MetaData("StartDate", "StartDate")));

            // process instance properties
            props.Add(new Property("ProcessInstanceID", "System.Int32", SoType.Number, new MetaData("Process Instance ID", "Process Instance ID")));
            props.Add(new Property("ProcessFullName", "System.String", SoType.Text, new MetaData("Process Full Name", "Process Full Name")));
            props.Add(new Property("ProcessName", "System.String", SoType.Text, new MetaData("Process Name", "Process Name")));
            props.Add(new Property("Folio", "System.String", SoType.Text, new MetaData("Folio", "Folio")));

            // event instance properties
            props.Add(new Property("EventInstanceName", "System.String", SoType.Text, new MetaData("Event Instance Name", "Event Instance Name")));

            // username property for impersonation
            props.Add(new Property("UserName", "System.String", SoType.Text, new MetaData("User Name", "User Name")));
            return(props);
        }
        internal virtual SDKObjects.Properties DescribeProperties()
        {
            var props = new SDKObjects.Properties();
            // worklistitem properties
            props.Add(new Property("AllocatedUser", "System.String", SoType.Text, new MetaData("Allocated User", "AllocatedUser")));
            props.Add(new Property("Data", "System.String", SoType.Text, new MetaData("Data", "Data")));
            props.Add(new Property("ID", "System.Int32", SoType.Autonumber, new MetaData("ID", "ID")));
            props.Add(new Property("SerialNumber", "System.String", SoType.Text, new MetaData("SerialNumber", "SerialNumber")));
            props.Add(new Property("Status", "System.String", SoType.Text, new MetaData("Status", "Status")));
            props.Add(new Property("Link", "System.String", SoType.HyperLink, new MetaData("Link", "Link")));

            // activity instance destination properties
            props.Add(new Property("ActivityID", "System.Int32", SoType.Number, new MetaData("Activity ID", "Activity ID")));
            props.Add(new Property("ActivityInstanceID", "System.Int32", SoType.Number, new MetaData("Activity Instance ID", "Activity Instance ID")));
            props.Add(new Property("ActivityInstanceDestinationID", "System.Int32", SoType.Number, new MetaData("Activity Instance Destination ID", "Activity Instance Destination ID")));
            props.Add(new Property("ActivityName", "System.String", SoType.Text, new MetaData("Activity Name", "Activity Name")));
            props.Add(new Property("Priority", "System.String", SoType.Text, new MetaData("Priority", "Priority")));
            props.Add(new Property("StartDate", "System.DateTime", SoType.DateTime, new MetaData("StartDate", "StartDate")));

            // process instance properties
            props.Add(new Property("ProcessInstanceID", "System.Int32", SoType.Number, new MetaData("Process Instance ID", "Process Instance ID")));
            props.Add(new Property("ProcessFullName", "System.String", SoType.Text, new MetaData("Process Full Name", "Process Full Name")));
            props.Add(new Property("ProcessName", "System.String", SoType.Text, new MetaData("Process Name", "Process Name")));
            props.Add(new Property("Folio", "System.String", SoType.Text, new MetaData("Folio", "Folio")));

            // event instance properties
            props.Add(new Property("EventInstanceName", "System.String", SoType.Text, new MetaData("Event Instance Name", "Event Instance Name")));

            // username property for impersonation
            props.Add(new Property("UserName", "System.String", SoType.Text, new MetaData("User Name", "User Name")));
            return props;
        }
        private SourceCode.SmartObjects.Services.ServiceSDK.Objects.Properties DescribeProperties()
        {
            SourceCode.SmartObjects.Services.ServiceSDK.Objects.Properties properties = new SourceCode.SmartObjects.Services.ServiceSDK.Objects.Properties();
            // worklistitem properties
            properties.Add(new Property("ActionName", "System.String", SoType.Text, new MetaData("ActionName", "ActionName")));
            properties.Add(new Property("SerialNumber", "System.String", SoType.Text, new MetaData("Serial Number", "SerialNumber")));
            properties.Add(new Property("ErrorMessageBlankIfNoError", "System.String", SoType.Text, new MetaData("ErrorMessage", "Error Message which is Blank if there is No Error")));

            return(properties);
        }
Пример #4
0
        internal override ServiceSDK.Objects.Properties DescribeProperties()
        {
            SDKObjects.Properties props = base.DescribeProperties();

            // additional activity instance properties
            props.Add(new Property("ActivityDescription", "System.String", SoType.Text, new MetaData("Activity Description", "Activity Description")));
            props.Add(new Property("ActivityMetaData", "System.String", SoType.Text, new MetaData("Activity MetaData", "Activity MetaData")));
            props.Add(new Property("ActivityExpectedDuration", "System.Int32", SoType.Number, new MetaData("Activity Expected Duration", "Activity Expected Duration")));

            // additional process instance properties
            props.Add(new Property("ProcessDescription", "System.String", SoType.Text, new MetaData("Process Description", "Process Description")));
            props.Add(new Property("ProcessMetaData", "System.String", SoType.Text, new MetaData("Process MetaData", "Process Meta Data")));
            props.Add(new Property("ProcessExpectedDuration", "System.Int32", SoType.Number, new MetaData("Process Expected Duration", "Process Expected Duration")));
            props.Add(new Property("ProcessPriority", "System.String", SoType.Text, new MetaData("Process Priority", "Process Priority")));
            props.Add(new Property("ProcessInstanceStartDate", "System.DateTime", SoType.DateTime, new MetaData("Process Instance Start Date", "Process Instance Start Date")));

            return(props);
        }
        private SourceCode.SmartObjects.Services.ServiceSDK.Objects.Properties DescribeProperties()
        {
            SourceCode.SmartObjects.Services.ServiceSDK.Objects.Properties properties = new SourceCode.SmartObjects.Services.ServiceSDK.Objects.Properties();
            // worklistitem properties
            properties.Add(new Property("ActionName", "System.String", SoType.Text, new MetaData("ActionName", "ActionName")));
            properties.Add(new Property("SerialNumber", "System.String", SoType.Text, new MetaData("Serial Number", "SerialNumber")));
            properties.Add(new Property("ErrorMessageBlankIfNoError", "System.String", SoType.Text, new MetaData("ErrorMessage", "Error Message which is Blank if there is No Error")));

            return properties;
        }
        private SourceCode.SmartObjects.Services.ServiceSDK.Objects.Properties DescribeProperties()
        {
            SourceCode.SmartObjects.Services.ServiceSDK.Objects.Properties properties = new SourceCode.SmartObjects.Services.ServiceSDK.Objects.Properties();
            // worklistitem properties
            properties.Add(new Property("AllocatedUser", "System.String", SoType.Text, new MetaData("Allocated User", "AllocatedUser")));
            properties.Add(new Property("Data", "System.String", SoType.Text, new MetaData("Data", "Data")));
            properties.Add(new Property("Link", "System.String", SoType.HyperLink, new MetaData("Link", "Link")));
            properties.Add(new Property("ID", "System.Int32", SoType.Autonumber, new MetaData("ID", "ID")));
            properties.Add(new Property("SerialNumber", "System.String", SoType.Text, new MetaData("SerialNumber", "SerialNumber")));
            properties.Add(new Property("Status", "System.String", SoType.Text, new MetaData("Status", "Status")));

            // activity instance destination properties
            properties.Add(new Property("ActivityID", "System.Int32", SoType.Number, new MetaData("Activity ID", "Activity ID")));
            properties.Add(new Property("ActivityInstanceID", "System.Int32", SoType.Number, new MetaData("Activity Instance ID", "Activity Instance ID")));
            properties.Add(new Property("ActivityInstanceDestinationID", "System.Int32", SoType.Number, new MetaData("Activity Instance Destination ID", "Activity Instance Destination ID")));
            properties.Add(new Property("ActivityName", "System.String", SoType.Text, new MetaData("Activity Name", "Activity Name")));
            properties.Add(new Property("Priority", "System.String", SoType.Text, new MetaData("Priority", "Priority")));
            properties.Add(new Property("StartDate", "System.DateTime", SoType.DateTime, new MetaData("StartDate", "StartDate")));
            properties.Add(new Property("ActivityDescription", "System.String", SoType.Text, new MetaData("Activity Description", "Activity Description")));
            properties.Add(new Property("ActivityMetaData", "System.String", SoType.Text, new MetaData("Activity MetaData", "Activity MetaData")));
            properties.Add(new Property("ActivityExpectedDuration", "System.Int32", SoType.Number, new MetaData("Activity Expected Duration", "Activity Expected Duration")));

            // process instance properties
            properties.Add(new Property("ProcessInstanceID", "System.Int32", SoType.Number, new MetaData("Process Instance ID", "Process Instance ID")));
            properties.Add(new Property("ProcessFullName", "System.String", SoType.Text, new MetaData("Process Full Name", "Process Full Name")));
            properties.Add(new Property("ProcessName", "System.String", SoType.Text, new MetaData("Process Name", "Process Name")));
            properties.Add(new Property("Folio", "System.String", SoType.Text, new MetaData("Folio", "Folio")));
            properties.Add(new Property("ProcessDescription", "System.String", SoType.Text, new MetaData("Process Description", "Process Description")));
            properties.Add(new Property("ProcessMetaData", "System.String", SoType.Text, new MetaData("Process MetaData", "Process Meta Data")));
            properties.Add(new Property("ProcessExpectedDuration", "System.Int32", SoType.Number, new MetaData("Process Expected Duration", "Process Expected Duration")));
            properties.Add(new Property("ProcessPriority", "System.String", SoType.Text, new MetaData("Process Priority", "Process Priority")));
            properties.Add(new Property("ProcessInstanceStartDate", "System.DateTime", SoType.DateTime, new MetaData("Process Instance Start Date", "Process Instance Start Date")));

            // event instance properties
            properties.Add(new Property("EventInstanceName", "System.String", SoType.Text, new MetaData("Event Instance Name", "Event Instance Name")));

            // username property for impersonation
            properties.Add(new Property("UserName", "System.String", SoType.Text, new MetaData("User Name", "User Name")));
            return properties;
        }