WaqarM | 2023-06-14 18:10:44 UTC | #1
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:
name: Call Common Module GetDSProfile commonModule: EMEAComModGetDSProfileNXT: verlatestPublished: 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.[36m -- [TrackingID:25, Name:'Call Common Module DSId', Type:'ArchActionCallCommonModule'][39m
2023-06-14T16:57:25.193Z: [INFO] - async processing for getFlowInfoByFlowNameAsync complete. Callback function returned promise successfully resolved.[36m -- [ArchFactoryFlows][39m 2023-06-14T16:57:25.546Z: [INFO] - [35mresponse received - statusCode:202, statusMessage:Accepted, correlationId:86d9c795-64e6-4be1-9f2b-cf1e74d0258a[39m[36m -- [POST::https://api.mypurecloud.de/api/v2/flows/actions/validate?flow=xxxd&flowType=commonmodule][39m 2023-06-14T16:57:25.705Z: [INFO] - calling url[36m -- [GET::https://api.mypurecloud.de/api/v2/flows/xxx/validate/xxx][39m 2023-06-14T16:57:26.076Z: [INFO] - [35mresponse received - statusCode:200, statusMessage:OK, correlationId:b8b86995-2d15-44cb-bb66-d9963ffa9602[39m[36m -- [GET::https://api.mypurecloud.de/api/v2/flows/xxxx/validate/xxx][39m 2023-06-14T16:57:26.348Z: [INFO] - async processing for setCommonModuleFlowByIdAsync complete. Calling callback function.[36m -- [TrackingID:35, Name:'Call Common Module GetDSProfile', Type:'ArchActionCallCommonModule'][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 Profile216]/actions/callCommonModule[_archycallCommonModule15_]/commonModule/EMEAComModGetDSProfileNXT/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!
system | 2023-07-15 18:11:23 UTC | #2
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 20444