What to write in the expression while testing a CDT in an expression rule......

What to write in the expression while testing a CDT in an expression rule......
i.e How to enter values for the sub-dataTypes of a Complex Data Type....?

OriginalPostID-193913

OriginalPostID-193913

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer
    You need to correctly identify the attributes depending on their types, so text fields should have quote, you can use the date() function for date values. If the value is null then the attribute should not be named. e.g.
    type!<myDataType>(dateStmtBegin: date(2016,2,1), datePost: date(2015,10,25), status: "New")
Reply
  • 0
    Certified Lead Developer
    You need to correctly identify the attributes depending on their types, so text fields should have quote, you can use the date() function for date values. If the value is null then the attribute should not be named. e.g.
    type!<myDataType>(dateStmtBegin: date(2016,2,1), datePost: date(2015,10,25), status: "New")
Children
No Data