Legacy Dev Forum Posts

 View Only

Sign Up

Date Conversion - There is no implementation that accepts a parameter of type String Collection

  • 1.  Date Conversion - There is no implementation that accepts a parameter of type String Collection

    Posted 06-05-2025 19:15

    Christopher_Andre | 2024-01-04 02:45:02 UTC | #1

    Hello.

    In a bot flow, I'm using a data action where I retrieve a Renewal Date in the format MM/DD/YYYY which I need to use to determine if an alert needs to be played to the caller. When I try to convert the date that i'm receiving using an Update Data Action, I'm getting this error

    'Month' at position 17 : There is no implementation that accepts a parameter of type String Collection. How should i approach this otherwise?


    MelissaBailey | 2024-01-05 16:06:20 UTC | #2

    Flow.RenewalDate must be a string collection variable. I'm guessing you split the string "MM/DD/YYYY" on slashes; if so Flow.RenewalDate[0] would get the 1st element out of the collection.


    Christopher_Andre | 2024-01-05 19:04:29 UTC | #3

    Hi Melissa,

    Yes, you are correct. The Flow.RenewalDate is a string collection.

    Here is the approach that I took.

    I used an update Data action to make it into a string

    And then convert that string similarly to what you mentioned

    Now, when I try to find the difference between the date that I have and today's date, I tried using the following

    but I'm getting a different error - There is no implementation that accepts parameters of Strung, DateTime and DateTime.


    MelissaBailey | 2024-01-05 19:18:06 UTC | #4

    DateTimeDiff only takes 2 datetime parameters. See https://help.mypurecloud.com/articles/access-architect-expression-help/ on how to open expression help to see the documentation for an expression


    system | 2024-02-05 19:19:06 UTC | #5

    This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 23924