We'd love to hear from you! Provide  feedback  to earn a badge today. Take our quick survey
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

EDMCS - Derived Property - Expression Builder Methods

Accepted answer
23
Views
4
Comments
edited Oct 16, 2019 6:31PM in Enterprise Data Management 4 comments

Summary

The Expression Builder need more methods

Content

Please correct me if I am missing something but I think we need more methods than currently provided (clear, concat, equals, indexOf, length, replace, substring). For example, a custom property check if a node name contains "RESERVED" or "RESTRICTED". I am thinking my code would be:

if Node.name like "*RESERVED*" or Node.name like "*RETRICTED*" return "yes"

else return "no"

The actual code that I came up from the Expression Builder:

if Node.name.substring(Node.name.indexOF("RESERVED"), Node.name.length).equals(blank) AND Node.name.substring(Node.name.indexOf("RESTRICTED"), Node.name.length).equals(blank)  

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!