sfmc-devtools icon indicating copy to clipboard operation
sfmc-devtools copied to clipboard

[Bug] Deploy automation doesn't work if no automation exists

Open JoeyNovais opened this issue 1 year ago • 0 comments

https://github.com/Accenture/sfmc-devtools/blob/83934769264d0edfd845c652fdff7fb312b4ad65/lib/metadataTypes/Automation.js#L115

How to reproduce:

  • Create a fresh BU with no automation
  • Create an automation from the tool
  • Try to deploy, error message is result.Results is not iterable

How to avoid:

  • Create a dummy automation

Cheers !

JoeyNovais avatar Aug 04 '22 08:08 JoeyNovais