CX AS Code Issue - Archy can't find skill reference

Hi,

We found an issue with archy which is preventing our Cx As Code Pipeline to work. We have a inbound flow which is setting a skill value with string "cx-cd-one". This skill ID exists and is:

{
"id": "67d1a95a-9f4f-4379-98cf-ccdf72e8a229",
"name": "cx-cd-one",
"dateModified": "2023-03-21T13:34:52Z",
"state": "active",
"version": "1",
"selfUri": "/api/v2/routing/skills/67d1a95a-9f4f-4379-98cf-ccdf72e8a229"
}

But archy can't find it:

[31m│ [0m [0m [1m [31mError: [0m [0m [1mflow publish failed. JobID: 9b8fadd0-7156-4de4-
a564-42e8d7ac88bb, tracing messages: find 'Value To Assign 5' by value of 'cx-cd-one' -
no matches for 'cx-cd-one'. -- [ArchNetworkValueRetrieval]
[31m│ [0m [0m
[31m│ [0m [0mpromise unhandled exception caught. Error: no matches. --
[ArchAsyncTracker]
[31m│ [0m [0m
[31m│ [0m [0msetting the Archy exit code to 100
27/02/2025, 16:18 gitlab.sharedservices.local/iac/inter/aws/crm/-/jobs/27548952/raw
https://gitlab.sharedservices.local/iac/inter/aws/crm/-/jobs/27548952/raw 5/6
[31m│ [0m [0m
[31m│ [0m [0mcould not find the 'skill' by name using the value 'cx-cd-one'.
[31m│ [0m [0mError details: no matches
[31m│ [0m [0m Path:
'/inboundCall/tasks/task[Inicio_12]/actions/updateData[_^archy_updateData_16_]/statemen
ts/skill'
[31m│ [0m [0m Property name: 'value'

We believe that this is happening because this skill, when searched via API call, is retuned on the second page. So, archy wouldn't find it if it does not look up for the second page.

Has anybody seen some issue like that? Any thoughts on how to work it around?

1 Like
  • Following this thread

Hi Gianluca,

Are you defining the skill group in CX as Code? If you are not aware, flows do not participate in the Terraform dependency graph. Yyou need to explicitly set a depends_on to make sure the skill groups are deployed too. I would also try to deploy the flows with Archy independent of CX as Code. if you still have the issue without CX as Code I would open a ticket with our Care support team.

Thanks,
John Carnell
Director, Developer Engagement

Hi John,

Thanks, actually we are not using skill groups. But we identified that, when a flow is validating through archy validation, it does not match a skill, if the API skill returns more than two pages. I'll attach a screenshot with Archy error.

We managed to work it around by deleting the other skills that had names similar to the one it was validating. When we've done that, the skill API was retuning only in one page, which made the archy validation to positive a match for the skill it was looking for.

We are now waiting for this error to happen with another skill, so that we could try it in Archy and get the evidences to open the case, as you recommended.

Thanks,

Gianluca

Hi Gianluca,

Archy is outside my teams area of responsibility. It sounds like there might be a bug in Archy. I will open a ticket with our care support team. I will also ping the Archy team and let them know about this post.

Thanks,
John Carnell
Director, Developer Engagement

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