Skip to end of metadata
Go to start of metadata

Cprime Apps has been rebranded as Anova Apps. Please note the only effect is the company name - all of our products’ names, logos, functionalities, support, etc. is exactly the same. The new location to our documentation space is https://anovaapps.atlassian.net.

Listener Script

/*
This script listens for a change to customfield_10712
and fires thr script SelectAllInList.sil when a change is detected
*/

lfWatch("customfield_10712", {"customfield_10712"}, "Screen_Listeners/SelectAllInList.sil", "change");

Executor Script

/*
This script is fired from the listener script SelectAllInList_watch.sil
and selects all items in a list if the 'Select All' item is selected
*/

string [] c = argv["customfield_10712"];
string [] colors = {"Black", "Blue", "Brown", "Green", "Orange", "Red", "Yellow", "White"};

if(arrayElementExists(c, "Select All")) {
    
    lfSet("customfield_10712" , colors);
}


See also

  • No labels