[FEATURE] resolve the link between transactionalSMS / transactionalPush and the mobileMessage / mobilePush they create
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- javascript
- Domain
- devtools
Research direction
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.
Written by the indexing model from the issue text.
Description
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).
- 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