I was trying to publish some new flows to an environment and have some digital bot flows that are complaining about missing flows. These flows are either present in the target environment (and referenced) or being added in the same cx as code run. Here is a snippet of the error:
Error: flow publish failed. JobID: 523452d5-5927-4f1a-af9c-7b93acaf4b6d, tracing messages: session startup initialization for startWithAuthToken complete. Caught unhandled exception waiting for callback function returned promise to resolve. -- [ArchSession, Environment:'prod', Host:'apps.cac1.pure.cloud', Region:'[MASKED]', ArchSessionId:'gAySiy48h', OrgName:'sasktel-qa', OrgId:'5e1c5a63-2969-45a9-afd4-056a835c2084']
ArchSession.startWithAuthToken - Caught unhandled exception during callback function execution. Ending session. Exception info: - Method in 'ArchValueListPickerSectionCollection.setNoValue' is invalid. Reason: ERROR! you cannot assign no value because this value [IsOutput:false, CanBeExpression:true, CanBeLiteral:true, CanBeNoValue:false, CanBeVariable:false, isReadable:true, isWritable:true] needs to have a value assigned to it. -- [TrackingID:36, Name:'Digital Menu', Type:'ArchActionDigitalMenu', Property:'Sections']. -- [ArchSession, Environment:'prod', Host:'apps.cac1.pure.cloud', Region:'[MASKED]', ArchSessionId:'gAySiy48h', OrgName:'sasktel-qa', OrgId:'5e1c5a63-2969-45a9-afd4-056a835c2084']
ending the Session. Setting the exit code to 99. -- [ArchSession, Environment:'prod', Host:'apps.cac1.pure.cloud', Region:'[MASKED]', ArchSessionId:'gAySiy48h', OrgName:'sasktel-qa', OrgId:'5e1c5a63-2969-45a9-afd4-056a835c2084']
setting the Archy exit code to 99
An error occurred.
Architect Scripting session ended in error ( code: 99 )
error(s) encountered.
Architect Scripting errors will be listed above.
exit code: 99
{"resourceType":"genesyscloud_flow","method":"GET","path":"/api/v2/flows/jobs/523452d5-5927-4f1a-af9c-7b93acaf4b6d","statusCode":200,"correlationId":"565fda93-f09b-48a0-8beb-9d112f29b594"}
with genesyscloud_flow.DIGITALBOT_Messaging_-_eCommerce_Chat_-_VA,
on genesyscloud.tf line 411, in resource "genesyscloud_flow" "DIGITALBOT_Messaging_-_eCommerce_Chat_-_VA":
411: resource "genesyscloud_flow" "DIGITALBOT_Messaging_-_eCommerce_Chat_-_VA" {
Error: flow publish failed. JobID: 164d72f2-7bbd-44bf-876a-2b6024cb4fab, tracing messages: pre-processor substitution key of '{{target=\"_self\"}}' was found in the flow YAML, but was not found in the options file.
pre-processor substitution key of '{{target=\"_self\"}}' was found in the flow YAML, but was not found in the options file.
find 'flow name' by value of 'Messaging - Chat Authentication' - no matches for 'Messaging - Chat Authentication'. -- [ArchNetworkValueRetrieval]
find 'flow name' by value of 'Messaging - Chat Authentication' - Failed to find item Messaging - Chat Authentication. -- [ArchNetworkValueRetrieval]
find 'flow name' by value of 'Messaging - eCommerce Chat - VA' - no matches for 'Messaging - eCommerce Chat - VA'. -- [ArchNetworkValueRetrieval]
find 'flow name' by value of 'Messaging - eCommerce Chat - VA' - Failed to find item Messaging - eCommerce Chat - VA. -- [ArchNetworkValueRetrieval]
#Archy------------------------------
Kyle Callender
------------------------------