V14.1 Output Sets, loss of relative dates for Output Set Parameters?

All-

FTC recently updated to V14.1 and I am noticing relative dates are no longer an option for Output Set parameters.

In previous versions the text input allowed Orgs to put in parameters such as "DayRunDate +1" or "RunDate", unfortunately it seems the new output set builder does not like this and rejects even saving previous versions of output sets that were present from past versions.

Right now the only work around I have found is replacing these parameter values with valid SQL values such as DateAdd(dd,1,Convert(varchar,GetDate(),112)) in the TX_QUERY_ELEMENT_VALUES table manually.

Has anyone had to find/found a better work around so far for V14.1?

Chris

  • Hi Chris,

    For your Output Filters, creating code as you suggested could be entered directly into TX_QUERY_ELEMENT_VALUES. Making this type of manual update will not allow you to open the Output Set from the application, but would give you the ability to run the queries and return the data for your Constituents. In v15 we will have the feature available to filter Output Set elements using relative dates from within the application.

    Karen

  • Karen-

    Thanks for the replies.

    Please see my update in the RAMP support ticket.

    Thanks

    Chris

  • Christopher -

    Thanks for the workaround.  I found I had to use cast(DateAdd(DAY,1,GetDate()) as date) to avoid conversion errors.

    Clarke

  • Since we have completed the work for relative date filters to be used with Output Set Parameters in our v15 development environment, we are working on releasing it as soon as possible, rather than holding off until v15. We anticipate it being part of the next v14.1 Service Pack, v14.1.3, which is expected to be be released at the beginning of May.

  • Karen, did this fix get into that service pack?  I skimmed the release notes but did not see it.

  • Hi Clarke, yes this did get added to the 14.1.3 Service Pack that was released yesterday with the following release note: 
    Relative date options are now available when configuring my Output Element Filters

    The full release notes for this Service Pack can be found here: www.tessituranetwork.com/.../v14-1_SP

  • We have loaded service pack 14.1.3 in our Test environment, and were delighted to find relative dates available in the Output Sets. But...

    The way our marketing department uses output sets selects information within a date range, like between (DayRunDate +1) and (DayRunDate +8).  It looks like relative dates are not available when you use the "between" operator.  Is there a way around this?  I tried having 2 separate elements pointing to the same data with separate >= and <= statements, and that looks like it failed spectacularly.  

  • Hi Clarke


    The Between operator has never been available when using relative dates in List criteria or with flexible parameters in Output Sets.


    However, adding 2 filters (previous known as Parameters) to your output element will do the job 

    Example:

    perf_dt >= DayRunDate +1

    perf_dt <= DayRunDate +8


    This will behave in the same manner as using Between.

    Hope that helps
    Regards
    Sandra


  • Sandra!

      Thanks for the response.  There were a bunch of Output Sets here that used relative dates and between operators in version 12.5.1.  I am new here, so I would not know if something was the result of a customization.

      I find that in 14.1.3 the GUI will not let me add a second filter referencing the same element.  When I tried adding the same data as a separate element and used <= and >= operators in separate filters, my results had multiple instances of the same constituent.  If I go into TX_QUERY_ELEMENT_VALUES and force the filter to look like it was before the upgrade (SET [value1] = 'DayRunDate +1', [value2] = 'DayRunDate +8', [operator] = 'between'), in the GUI it displays as "With Performance Date between DayRunDate +1 and DayRunDate +8", and the results again have multiple instances of the same constituent (37,000 rows instead of 900).

      My goal is to have this automated via report scheduler with data that does not need massaging each time. It may be time to open a TASK ticket?

    Clarke

  • Hi Clarke


    Without seeing the element setup in detail, adding the 2nd one of the same element in 14.1 can only be if the element returns a single row - no asterisk. 


    Using the same element multiple times that doesn't return a single row per constituent is likely what has caused the data problem you mention.


    And you're right - it's time to open a TASK ticket! 


    Cheers

    Sandra



  •   Just discovering this thread and very thankful for it!

    Clarke, have you gotten any update from TASK on this issue?

    I created many custom elements in v12 for a scheduled Execute an Output Set solely to use parameters. I can replace them all with standard elements—if I could still use relative start and end dates. Here's hoping!

    -- Mike

  • Hey, Mike!

    Version 14.1.3 does have relative start and end dates in Output Sets.  I loaded it in our Test environment (we are still on 14.1.1), but it did not completely solve our issues, so we gave up on this for the time being.  What we are now doing instead is manually setting the parameters on Monday for the Thursday automated reports.

    Specifically, I was trying to use scheduled reports with numerous output sets using relative dates with between operators.  As you can see above, no lesser authority than Sandra Ashby said that output sets have never been able to use relative dates with between operators.  This tells me that, somewhere back in time, my employers paid for some customization, so I will try to find records of who did what when.

    Clarke

  • Hi All
     
    In the meantime, until you get to v14.1.3, if you haven’t already done this, I believe this is the most straightforward way to have elements with relative dates. I’ve used Performance Reminder as the example looking at 4 to 7 days from the run date.
     
    The Data_Where in the Group is acting as the Filter.
     
    For the elements that need relative dates, you should make new Groups and Elements, and name them so it is obvious to other users what they are for.
     
    If you do use this PLEASE TEST FIRST before using in Live !!!
     
    Hope this helps.
    Sandra
     
    Group grid
     

    Column Name

    Example Value

    Description

    Perf Reminder - relative dates

    Data_From

    VS_ELEMENTS_TICKET_HISTORY

    Data_Where

    !.perf_dt >= DateAdd(dd, 4, CONVERT (VARCHAR, GetDate(), 112)) AND !.perf_dt <= DateAdd(dd, 7, CONVERT (VARCHAR, GetDate(), 112) + ' 23:59:59.997')

    Virtual Ind

    [Unchecked]

    Category

    Ticketing

     
    Element grid

    Column Name

    Example Value

    Description

    Performance Name

    Group Id

    Perf Reminder - relative dates

    Data_Select

    !.perf_name

    Single_row

    [Unchecked]

    Primary Group Default

    [Unchecked]

     

    Column Name

    Example Value

    Description

    Performance Date

    Group Id

    Performance Reminder

    Data_Select

    !.perf_dt

    Single_row

    [Unchecked]

    Primary Group Default

    [Unchecked]

     
     
     
     
  • Contribution Date >= [relativeDate]
    Contribution Date <= [relativeDate]
     
    Also an apology to ALL – I had a brain implosion regarding BETWEEN and previous versions of Output Set Builder. Yes you could use relative dates for the start and end date parameters in the where clause associated to the Element. The brain was obviously fixating on List Manager where relative dates and Between have never been possible. It appears I am fallible … on the odd occasion &#128522;
     
    Cheers
    S.