Skip to main content
Question

Conditional Field Flow using a variable

  • December 31, 2025
  • 1 reply
  • 23 views

Forum|alt.badge.img+1

I am creating a conditional field flow where I would like to prevent an update to the state field if the due date is After to ‘Today’.  Is there a way to pass a variable like ‘Today’?  
The filter works fine with a date value but need the date value to change every day.

Thanks
 

1 reply

Forum|alt.badge.img
  • February 12, 2026

You can pass inputs and output using a JavaScript Extension.    This example converts time to the correct format between Jira and AgilePlace, but it could  be reconfigured to add the Today() filter.

 

// 05/23/2025 Duration Calculation Changed in Planview.  
// This extention calculates duration in milliseconds 
//
var inputTypes = 'Duration';
var outputTypes = 'Duration';

function transform(context, input) {
    let Milliseconds = input*3;
    return Milliseconds;
}