Validate custom object property via ACT console

Ayush Kumar
Ayush Kumar Member, Moderator, Employee Posts: 468
100 Answers 250 Likes 100 Comments Second Anniversary
✭✭✭✭
edited June 2023 in Structures

Validate custom object property via ACT console

Tagged:

Answers

  • Ayush Kumar
    Ayush Kumar Member, Moderator, Employee Posts: 468
    100 Answers 250 Likes 100 Comments Second Anniversary
    ✭✭✭✭
    Answer ✓

    Get the property and after setting a value, "Validate" method will call the function under <onvalidate> Tag if any.

    rpm_set = engine_order_response.Properties.GetByName("RPMSetNumber")
    rpm_set.Value = 2
    rpm_set.Validate()