MyPureCloud/terraform-provider-genesyscloud

Wrong category values for genesyscloud_task_management_worktype_status

Closed this issue · 1 comments

When i try to execute a workitem status creation using something like
resource "genesyscloud_task_management_worktype_status" "worktype_status22" {
worktype_id = genesyscloud_task_management_worktype.HML_B_B8_Worktype.id
name = "QueuedSkill_17hr"
description = "QueuedSkill_17hr"
category = "InProgress"
default = false
}

I'm receiving the following error
expected category to be one of ["Open" "Waiting" "Closed" "Unknown"], got InProgress

The worktype category accepted are "Open", "Waiting", "Closed" and "InProgress"

Hi @stefanoboveri

We have corrected this and you will see the fix released on v1.52.0, which should be released later today.

Thank you for bringing this to our attention.

-Charlie