Conditionality – Advanced Mode C# Tips
Case-Sensitivity
Please be aware that C# Script methods and properties are case-sensitive (e.g. “SubString” would throw an error, whereas “Substring” would work). Comparisons of text fields are also case-sensitive, so an expression of “customerName = ‘My Test Company’ would not match if the company name was “My test company”.
Enate Custom Data Type vs .Net Type
It is important to understand the .Net Type of the field or variable you are using to understand the properties and methods that are available:
Custom Data Data Type
.Net Type
.Net Type Information Page
Multi Level List
String (each level separated by a “.”)
Variables Data Type
.Net Type
.Net Type Information Page
Started by Method
String – One of:
ByWorkflow
ByOperationalUser
BySelfServiceUser
ByRobotUser
ByEmail
FromTicket
ByOperationalUserInBulk
ByRobotUserInBulk
BySchedule
Last Action Started by Method
String – One of:
ByWorkflow
ByOperationalUser BySelfServiceUser
ByRobotUser
ByEmail
FromTicket
ByOperationalUserInBulk
ByRobotUserInBulk
BySchedule
Work Item Due Date Is Overridden
Boolean
Last updated
Was this helpful?