Genesys Cloud - Developer Community!

 View Only

Sign Up

Call Ruleset: Attempt time is getting null, without any update

  • 1.  Call Ruleset: Attempt time is getting null, without any update

    Posted 05-01-2025 15:57

    Hi Team,

    We are facing a issue where the Call ruleset and Attempt_Time value is setting null and order is getting changed for our Ruleset. Following is the configuration, can check why this is happening? Also, there is no update done in this ruleset, still changes are being picked up:

    Plan changes:

    module.outbound_ruleset.genesyscloud_outbound_ruleset.ABC will be updated in-place
      ~ resource "genesyscloud_outbound_ruleset" "ABC" {
            id              = "---id---"
            name            = "ABC"
            ...
                   ~ actions {
               ~ properties                 = {
                   - "Attempt_Time" = "Current Time when Action Taken" -> null
                   + "Attempts"     = null
                 }
               ~ update_option              = "CURRENT_TIME" -> "INCREMENT"
                 # (6 unchanged attributes hidden)
             }
           ~ actions {
               ~ properties                 = {
                   + "Attempt_Time" = "Current Time when Action Taken"
                   - "Attempts"     = null
                 }
               ~ update_option              = "INCREMENT" -> "CURRENT_TIME"

    Terraform  Config
      rules {
        actions {
          action_type_name = "MODIFY_CONTACT_ATTRIBUTE"
          properties = {
            Attempts = ""
          }
          type          = "modifyContactAttribute"
          update_option = "INCREMENT"
        }
        actions {
          properties = {
            Attempt_Time = "Current Time when Action Taken"
    ...
        }
        name  = "Add Attempts Machine, Update Attempt_Time"

    Let us know if you need more information.

    Regards,

    Rohit S


    #CXasCode

    ------------------------------
    Rohit Sharma
    ------------------------------