Custom Rule DTO v8

The rules binds an event, conditions and an action.

Field Name Type Category Constraint Reference Description
actionParameters Map<String,Object> Optional
actionType String Required length >= 0 & length <= 255
conditions String Optional length >= 0 & length <= 255
cronExpression String Optional length >= 0 & length <= 255
enabled Boolean Required
errorMessage String Optional length >= 0 & length <= 255
eventType EventType Required Allowed values { CREATE, UPDATE, DELETE, SCHEDULE }
lastExecuted DateTime Optional
name String Required length >= 0 & length <= 255
objectType DomainObjectModel Optional Allowed values { PRICELIST, PAYMENTTERM, PAYMENTTYPE, CURRENCY, COMPANYINFO, BUSINESSPARTNERGROUP, SHIPPINGTYPE, EMPLOYEEPOSITION, EMPLOYEEDEPARTMENT, EMPLOYEEBRANCH, SERVICECALLSTATUS, SERVICECALLTYPE, SERVICECALLPROBLEMTYPE, SERVICECALLORIGIN, UDFMETAGROUP, UDFMETA, ITEMGROUP, ITEMTYPE, WAREHOUSE, ITEMCATEGORY, TIMEPROJECT, WORKTIMETASK, REPORTDATA, COUNTRY, STATE, COUNTY, GROUP, OBJECTGROUP, PERSONRESERVATIONTYPE, PERSON, PERSONSTATUS, LOCATION, BUSINESSPARTNER, ADDRESS, CONTACT, BUSINESSPARTNER_REFERENCES, ITEM, ITEMPRICELISTASSIGNMENT, ITEMWAREHOUSELEVEL, SERIALNUMBER, EQUIPMENT, SALESORDER, SALESORDERITEM, PURCHASEORDERITEM, PURCHASEORDER, SALESQUOTATIONITEM, SALESQUOTATION, ALERT, ACTIVITY, ATTACHMENT, DEFECT, INCIDENT, SERVICECALL, SERVICEASSIGNMENT, OBJECTRATING, SIGNATURE, TIMETASK, TIMESUBTASK, TIMEEFFORT, SYNCOBJECTKPI, WORKTIME, ITEMPROPOSAL, EXPENSETYPE, TAX, EXPENSE, MILEAGETYPE, BATCH, BATCHQUANTITY, MATERIAL, MILEAGE, APPROVAL, PRODUCTIONORDER, CHECKLISTCATEGORY, CHECKLISTTEMPLATE, CHECKLISTINSTANCE, BUSINESSPROCESSSTEPDEFINITION, BUSINESSPROCESSSTEPASSIGNMENT, SERVICECHECKOUT, INVOICEITEM, INVOICE, CREDITNOTEITEM, CREDITNOTE, COMPANYSETTINGS, USERSETTINGS, PERSONRESERVATION, USERSYNCCONFIRMATION, SERVICEERRORCODEITEM, SERVICEERRORCODE, ACTIVITYSUBTYPE, ACTIVITYTOPIC, USAGE, SERVICECONTRACT, PROPERTYMETA, SERVICECONTRACTEQUIPMENT, BLANKETORDER, DOCUMENTDISCOUNT, GENERICORDER, ITEMRETURNREASON, LOCATIONNUMBERSERIES, TRANSPORTCOST, VISITORREPORT, INVENTORY, STOCKTRANSFER, DOCUMENTDRAFTITEM, DOCUMENTDRAFT, COMPETITOR, COMPETITORPRODUCT, INDUSTRY, INFORMATIONSOURCE, LEVELOFINTEREST, CATEGORY, REASON, SALESSTAGE, SALESOPPORTUNITY, ENUMERATION, CHECKLISTASSIGNMENT, ERPERROR, RESERVEDMATERIAL, BRANCH, CHECKIN, ACTIVITYFEEDBACK, ACTIVITYCOMPOSEDCODE, ACTIVITYCODE, REPORTTEMPLATE, SERVICEASSIGNMENTSTATUS, SERVICEASSIGNMENTSTATUSDEFINITION, COMMENT, SEQUENCE, FILE, FILEREVISION, FILEREF, ATTRIBUTE, ATTRIBUTEVALUE, ACTIVITYTEMPLATE, SERVICESUITECONFIG, CHECKLISTINSTANCEELEMENT, EQUIPMENTSUBTYPE, TRANSLATION, FIELDCONFIGURATION, SCREENCONFIGURATION, SYNCOBJECTCHANGELOG, CONFIGURATION, FILTER, CUSTOMRULE, TAG, SKILL, REQUIREMENT, UNKNOWN }