diff --git a/lib/metadataTypes/definitions/Journey.definition.js b/lib/metadataTypes/definitions/Journey.definition.js index d7f68c905..b65c22bdd 100644 --- a/lib/metadataTypes/definitions/Journey.definition.js +++ b/lib/metadataTypes/definitions/Journey.definition.js @@ -118,12 +118,52 @@ export default { retrieving: true, template: true, }, + 'activities[].configurationArguments.triggeredSendKey': { + // if used during create then we are stuck with old data + isCreateable: false, + isUpdateable: true, + retrieving: true, + template: false, + }, + 'activities[].configurationArguments.triggeredSendId': { + // if used during create then we are stuck with old data + isCreateable: false, + isUpdateable: true, + retrieving: true, + template: false, + }, 'activities[].configurationArguments.triggeredSend': { isCreateable: true, isUpdateable: true, retrieving: true, template: true, }, + 'activities[].configurationArguments.triggeredSend.id': { + // if used during create then we are stuck with old data + isCreateable: false, + isUpdateable: true, + retrieving: true, + template: false, + }, + 'activities[].configurationArguments.triggeredSend.key': { + // if used during create then we are stuck with old data + isCreateable: false, + isUpdateable: true, + retrieving: true, + template: false, + }, + 'activities[].configurationArguments.triggeredSend.campaigns': { + isCreateable: true, + isUpdateable: true, + retrieving: true, + template: true, + }, + 'activities[].configurationArguments.triggeredSend.suppressionLists': { + isCreateable: true, + isUpdateable: true, + retrieving: true, + template: true, + }, 'activities[].configurationArguments.triggeredSend.autoAddSubscribers': { isCreateable: true, isUpdateable: true, @@ -778,10 +818,7 @@ export default { template: true, }, 'triggers[].configurationArguments.eventDataConfig': { - isCreateable: true, - isUpdateable: true, - retrieving: true, - template: true, + skipValidation: true, }, 'triggers[].configurationArguments.primaryObjectFilterCriteria': { skipValidation: true,