Skip to main content
anirudh_allika
Contributor ⭐️⭐️
Jul 9, 2018 10:48 AM UTC
New Idea

TO_Date & TO_String functions in Rules Engine

Can we please add TO_Date & TO_String functions added to list of available functions in formula field in Rules Engine.

This would really help in many configurations and data conversion tasks

    3 replies

    jitin_mehndiratta
    Helper ⭐️⭐️⭐️
    Jul 10, 2018 10:23 AM UTC
    Anirudh,

    Can you elaborate the need or exact use case for ToDate() or ToString() function? Is it because of an incorrect ingest process where the datatype was not selected what it was supposed to be?

    Regards,
    Jitin
    Translate
    sai_ram
    Expert ⭐️⭐️
    Jul 24, 2018 10:10 AM UTC
    @Anirudh, Could you please brief more about the use-case?
    Translate
    Contributor ⭐️⭐️
    Jun 15, 2021 2:29 PM UTC

    I realize this post is a bit old, but I’d like to have a toString function in the rules as well.

     

    A simple use case would be if you wish to concatenate a string with a number or a date and then load that as a comment in an activity. You cannot use the concat() function in combination with anything that isn’t a string, and you cannot compose a text with @tokens in the “Load to Activities” action like you can when creating CTAs.

    Translate