Application Lifecycle Conductor

 View Only
  • 1.  Using Field Locker Rule with conditions

    Posted Mar 20, 2018 05:33 PM

    Please your help with sample syntax for using conditions with field locker rule. We need to lock some attribute fields when Project items or Requirements are in a specific status.

    Thanks for your comments.



  • 2.  Re: Using Field Locker Rule with conditions

    Posted Mar 23, 2018 11:14 AM

    Just for the record.

    Answer supplied by Skelton, Melinda L <> as part of a suppport ticket.



    I added a new Field Locker rule object to the Edit event for Projects. I added the following to the script for the new rule object:


    var status = item.getAttributes().getItemByAttributeTypeName("Status").getText();


    And then I set my Condition field to be: status.equals(“In Development”) 

    And in the Lock Fields list I listed the fields I want to lock;




    Thanks Melinda again.

    Best regards,