Archy Error: Unable to Find

Hi there!

I am using Archy to create a flow from yaml. I have successfully used this process with a different yaml file.

I am getting this error when working with the current yaml file:

2023-06-14T16:57:26.447Z: [INFO] Command: 'publish'
2023-06-14T16:57:26.449Z: [ERROR] unable to find 'Common.IdentifiedDsID' on the action 'callCommonModule' named 'Call Common Module GetDSProfile'. YAML:

I exported a working flow as yaml to use as the starting point for creating the new flow, and then modified fields as needed.

Here is the relevant portion of the yaml file:

  actions:
  - updateData:
      name: Update Data for Debug
      statements:
      - string:
          variable: Flow.logTaskName
          value:
            lit: 'TASK: Get DS Profile'
  - callCommonModule:
      name: Call Common Module GetDSProfile
      commonModule:
        EMEA_ComMod_GetDSProfile_NXT:
          ver_latestPublished:
            inputs:
              Common.IdentifiedDsID:
                exp: Flow.IdentifiedDsID
              Common.CountryCode:
                exp: Flow.CountryCode
              Common.CLIDOutcome:
                noValue: true
            outputs:
              Common.IdentifiedDsID:
                noValue: true

Here is the relevant part of the debug log file:

2023-06-14T16:57:25.193Z: [INFO] - async processing for setCommonModuleFlowByIdAsync complete. Callback function execution complete.e[36m -- [TrackingID:25, Name:'Call Common Module DSId', Type:'ArchActionCallCommonModule']e[39m
2023-06-14T16:57:25.193Z: [INFO] - async processing for getFlowInfoByFlowNameAsync complete. Callback function returned promise successfully resolved.e[36m -- [ArchFactoryFlows]e[39m
2023-06-14T16:57:25.546Z: [INFO] - e[35mresponse received - statusCode:202, statusMessage:Accepted, correlationId:86d9c795-64e6-4be1-9f2b-cf1e74d0258ae[39me[36m -- [POST::https://api.mypurecloud.de/api/v2/flows/actions/validate?flow=xxxx&flowType=commonmodule]e[39m
2023-06-14T16:57:25.705Z: [INFO] - calling urle[36m -- [GET::https://api.mypurecloud.de/api/v2/flows/xxxx/validate/22010f4f-e593-4c3e-8086-16a57c5299e5]e[39m
2023-06-14T16:57:26.076Z: [INFO] - e[35mresponse received - statusCode:200, statusMessage:OK, correlationId:b8b86995-2d15-44cb-bb66-d9963ffa9602e[39me[36m -- [GET::https://api.mypurecloud.de/api/v2/flows/xxxx/validate/22010f4f-e593-4c3e-8086-16a57c5299e5]e[39m
2023-06-14T16:57:26.348Z: [INFO] - async processing for setCommonModuleFlowByIdAsync complete. Calling callback function.e[36m -- [TrackingID:35, Name:'Call Common Module GetDSProfile', Type:'ArchActionCallCommonModule']e[39m
2023-06-14T16:57:26.349Z: [DEBUG] setting property name for processing - 'inputs'
2023-06-14T16:57:26.350Z: [DEBUG] pushing path str - 'inputs'
2023-06-14T16:57:26.351Z: [DEBUG] result processing path
Path: '/inboundCall/tasks/task[Get DS Profile_216]/actions/callCommonModule[archy_callCommonModule_15]/commonModule/EMEA_ComMod_GetDSProfile_NXT/ver_latestPublished/inputs'
Property name: 'inputs'
2023-06-14T16:57:26.352Z: [DEBUG] processing yaml setting of 'Common.IdentifiedDsID'

2023-06-14T16:57:26.353Z: [DEBUG] setting property name for processing - 'Common.IdentifiedDsID'
2023-06-14T16:57:26.354Z: [ERROR] setting the Archy exit code to 100
2023-06-14T16:57:26.359Z: [DEBUG] popping property name for processing - 'Common.IdentifiedDsID'

2023-06-14T16:57:26.360Z: [DEBUG] processing yaml setting of 'Common.CountryCode'

2023-06-14T16:57:26.362Z: [DEBUG] setting property name for processing - 'Common.CountryCode'
2023-06-14T16:57:26.363Z: [DEBUG] popping property name for processing - 'Common.CountryCode'

I notice that the preceding call for a common module returns a statusCode = 202. I don't think that is causing this issue but mentioning just in case.

I have verified that the common module has this input and that it is spelled correctly.

Any suggestions for what to try, or what information you would need to see?

Thanks!

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