I am using Archy to create a flow from yaml. I have successfully created a flow using this process previously.
I am getting this error with the current yaml file:
2023-06-14T16:57:26.449Z: [ERROR] unable to find 'Common.IdentifiedDsID' on the action 'callCommonModule' named 'Call Common Module GetDSProfile'. YAML:
Common.IdentifiedDsID:
exp: "Flow.IdentifiedDsID"
Common.CountryCode:
exp: "Flow.CountryCode"
Common.CLIDOutcome:
noValue: true
Here is a snippet from the yaml file:
- 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
I obtained the starting yaml file by exporting an existing flow and changing values as needed.
I have verified that the common module has the Common.IdentifiedDsID parameter (it is used as both an input and output).
Here is additional logging that relates to this error:
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=xxxd&flowType=commonmodule]e[39m
2023-06-14T16:57:25.705Z: [INFO] - calling urle[36m -- [GET::https://api.mypurecloud.de/api/v2/flows/xxx/validate/xxx]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/xxx]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'
Does anyone have any suggestions for what to try, or what additional information you might need to see?
Thanks!