So we want to add a flow for inbound email called Route to Spam-All with the intent of updating all our inbound emails to route spam to this flow.
So far we've had a really good run with Archy but it is falling over with this one task
- ERROR! session startup initialization for startWithClientIdAndSecret complete. Caught unhandled exception waiting for callback function returned promise to resolve.
- ERROR! ArchSession.startWithClientIdAndSecret - Caught unhandled exception during callback function execution. Ending session. Exception info: TypeError: undefined is not a function
- ERROR! ending the Session. Setting the exit code to 99.
I'm not sure why we're getting an "undefined is not a function", I've run a refresh and everything
inboundEmail:
defaultLanguage: en-au
name: Route to Spam-All
startUpRef: ./tasks/task[handleSpam]
tasks:
- task:
name: "Handle spam"
refId: handleSpam
actions:
- transferToAcd:
targetQueue:
lit:
name: Spam-All
- disconnect:
name: "Disconnect"