[FEATURE] Handle generated automation keys and past start times for EmailAudience events
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 55/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- javascript
Research direction
Find the EmailAudience retrieval and deployment entry points, then read how they handle event definitions and schedule time zones. Add coverage for omitting r__automation_key during retrieval and deployment, resetting past start times at deployment, and preserving future times. Done when those behaviors are verified by tests; the issue does not name specific files or tests.
Written by the indexing model from the issue text.
Description
Is your feature request related to a problem? Please describe.
Salesforce Marketing Cloud automatically creates the backing automation for EmailAudience event definitions. When retrieved metadata includes r__automation_key, it looks like an automation dependency that needs to be deployed. I currently remove the field manually before deploying. I also have to update schedule.startDateTime if the retrieved start time has already passed.
Describe the solution you'd like
- During retrieval, omit
r__automation_keyfrom savedEmailAudienceeventdefinitions. - During deployment, remove
r__automation_keyfrom the outgoing payload so previously retrieved files can still be deployed. - If
schedule.startDateTimeis in the past, set it to the current date and time at deployment using the schedule’s configured time zone. Preserve future start times.
Describe alternatives you've considered
The current workaround is to remove r__automation_key and manually set a future start time before deployment. Stripping the field only during deployment would handle older files, but newly retrieved files would still make the automation look like a dependency.
- Dominant language
- JavaScript
- Stars
- 166
- Forks
- 50
- Avg merge
- 11h 4m
- Merged PRs (30d)
- 36
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Accenture/sfmc-devtools
-
e/DevOps enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
Accenture/sfmc-devtools#2795 ·
Maintainers usually reply within 1 day
-
c/INIT chore
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Accenture/sfmc-devtools#2793 ·
Maintainers usually reply within 1 day
-
bug c/Generic validationRule
Difficulty 4/5 3-5 days Newbie friendliness 55/100
Accenture/sfmc-devtools#2794 ·
Maintainers usually reply within 1 day
-
bug c/automation
Difficulty 4/5 3-5 days Newbie friendliness 55/100
Accenture/sfmc-devtools#2792 ·
Maintainers usually reply within 1 day
-
[FEATURE] transactionalPush: check options.customKeys against the app before deployPossibly taken @orshih6 claimed this 8 days ago. Openc/mobilePushApp c/transactionalPush enhancement
Difficulty 3/5 1-2 days Newbie friendliness 74/100
Accenture/sfmc-devtools#2735 ·
Maintainers usually reply within 1 day
All issues in Accenture/sfmc-devtools
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Life-Framework/Life-Framework#7017 ·
Maintainers usually reply within 1 day
-
agent/guide documentation help wanted stage/010-actionable
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
kubestellar/console-kb#4003 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
FilOzone/synapse-sdk#1201 · 1 comment ·
Maintainers usually reply within 1 day
-
good first issue task
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
NSC-Tech-Hub/nscth-static-website#107 ·
Maintainers usually reply within 1 day