Skip to main content
suryanarayana
Helper ⭐️
Oct 31, 2019 1:15 PM UTC
New Idea

Can we have functions inside case statement for a rule

We have encountered this scenario multiple times, somehow we are solving it by creating number of tasks in a rule.For example for a customer we have to derive {[(Count of Cases Closed where Jira Issue ID != Null)/Total Cases Closed] . we had to write 3 tasks to do this . where as simple function inside case statement .For one customer we had to goon and write up-to 15 tasks.

    3 replies

    Helper ⭐️
    Feb 11, 2020 9:14 AM UTC

    Even we got a scenario to compare the two columns from the source data set ,for that we have to create multiple transformation to acheive . If we find a solution that will be really help full.

    Translate
    phani_kumar
    Gainsight Employee ⭐️⭐️
    Feb 11, 2020 10:07 AM UTC

    Yes, it really helps us if we have a comparison of fields in our existed functions.

    Translate
    Contributor ⭐️⭐️⭐️⭐️⭐️
    Oct 12, 2021 7:06 AM UTC

    Case statement must allow us to do some calculations in it. Allowing us to say this or that is not an optimal Case statement scenario. This will significantly reduce the number of transformations in a rule. This is something really useful and really basic necessity. 

    Translate
    Muthu Kumar Karuppiah