Require fields in subtasks

Require fields in subtasks

 

<iframe width="560" height="315" src="https://www.youtube.com/embed/UlECfHAdlQs" frameborder="0" gesture="media" allow="encrypted-media" allowfullscreen></iframe>

Use this script as a workflow transition validator to allow transition only if a field in the subtask is populated.

string [] subtasks = subtasks(key); boolean hasField = false; string errorMsg = "You must have a value for the Fruit field in a subtask entered before this issue can be completed."; for(string st in subtasks) { if(isNotNull(%st%.fruit)) { hasField = true; } } if(hasField == false) { return false, "error", errorMsg; }

Need support? Create a request with our support team.

Copyright © 2005 - 2026 Appfire | All rights reserved.