[FEATURE] resolve the link between transactionalSMS / transactionalPush and the mobileMessage / mobilePush they create
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 48/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- javascript
- Ambito
- devtools
Direzione di ricerca
Start with MobileMessage.js and trace postRetrieveTasks and preDeployTasks, then inspect how transactionalSMS retains definitionId and how journey-owned messages are handled. Check the corresponding mobilePush and transactionalPush retrieve and deploy paths. Decide whether owned messages should be saved or only cached, and define behavior so they are not deployed or deleted independently; verify both ownership links against the tested fields in the issue.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Background
Creating a transactional definition creates a second item in another type:
| Created | Marketing Cloud also creates | Link on the created item |
|---|---|---|
transactionalSMS |
a mobileMessage of the same name, sendMethod API |
smsTriggeredSendDefinitionId = definitionId of the definition |
transactionalPush |
a mobilePush of the same name, sendInitiator 1 ("Outbound - API Triggered"), with the assetId of the definition's content and a copy of its title, subtitle and alert |
no ID field found; messageObjectId is not the definitionId. Only the equal name links them |
Deleting the definition removes the mobilePush and archives the mobileMessage.
mcdev retrieves both sides as independent items today:
MobileMessage.jshas// TODO unknown typeonsmsTriggeredSendDefinitionId(inpostRetrieveTasksandpreDeployTasks)mobilePushandtransactionalPushresolve their app and asset, but not each other
Proposal
mobileMessage: resolvesmsTriggeredSendDefinitionIdtor__transactionalSMS_keyon retrieve (cachetransactionalSMS, which already keepsdefinitionId). A non-zero ID without a matching definition is normal and must not be reported as a missing dependency: an API-triggered message that was activated in MobileConnect itself has such an ID too.- Treat messages that belong to a transactional definition like the journey-owned ones (
_isJourneyOwned): they are created and removed by their owner, so they should not be deployed or deleted on their own. FormobileMessageatransactionalSMSwhosedefinitionIdequals the ID decides (a non-zero ID alone does not); formobilePushthe candidates aresendInitiator1 plus atransactionalPushof the same name. - Decide whether such owned items should be saved at all on retrieve, or only kept in the cache.
Tested
Seen with own test items on 2026-11-20 on a business unit with MobileConnect and MobilePush: smsTriggeredSendDefinitionId matched the definitionId of the definition that created the message; the mobilePush created by a transactional push definition had the definition's name, sendInitiator 1 and the asset's id.
Seen on 2026-11-22: an API-triggered mobileMessage created and activated in MobileConnect had a non-zero smsTriggeredSendDefinitionId that matched no transactional SMS definition.
Related: the delete guard for mobileMessage (separate issue).
- Lingua principale
- JavaScript
- Stelle
- 166
- Fork
- 50
- Merge medio
- 11h 4m
- PR unite (30g)
- 36
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di Accenture/sfmc-devtools
-
e/DevOps enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
Accenture/sfmc-devtools#2795 ·
I maintainer di solito rispondono entro 1 giorno
-
c/INIT chore
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
Accenture/sfmc-devtools#2793 ·
I maintainer di solito rispondono entro 1 giorno
-
bug c/Generic validationRule
Difficoltà 4/5 3-5 giorni Idoneità per principianti 55/100
Accenture/sfmc-devtools#2794 ·
I maintainer di solito rispondono entro 1 giorno
-
bug c/automation
Difficoltà 4/5 3-5 giorni Idoneità per principianti 55/100
Accenture/sfmc-devtools#2792 ·
I maintainer di solito rispondono entro 1 giorno
-
[FEATURE] transactionalPush: check options.customKeys against the app before deployForse già presa @orshih6 l’ha presa 8 giorni fa. Apertac/mobilePushApp c/transactionalPush enhancement
Difficoltà 3/5 1-2 giorni Idoneità per principianti 74/100
Accenture/sfmc-devtools#2735 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di Accenture/sfmc-devtools
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
Life-Framework/Life-Framework#7017 ·
I maintainer di solito rispondono entro 1 giorno
-
agent/guide documentation help wanted stage/010-actionable
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
kubestellar/console-kb#4003 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
FilOzone/synapse-sdk#1201 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
good first issue task
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
NSC-Tech-Hub/nscth-static-website#107 ·
I maintainer di solito rispondono entro 1 giorno