Newer Version Available
Promotion
This document describes the list of Workflow Step
Rules that must be provided from the core. This section provides information about
the mapValues.
loadPromotionBOForCopy2
- Description: Loads a promotion for copy.
- Classname: Promotion2BoApiCopyCoreWorkflowSteps
- Method: loadPromotionBOForCopy
| Property | Description | Required or Optional |
|---|---|---|
| .Id | SFDC ID or External ID for the promotion. | Required |
If the promotion template of the promotion doesn’t have the Copyable flag set to true, this rule displays an exception.
loadTacticsLOForCopy2
- Description: Loads promotion tactic list.
- Classname: Promotion2BoApiCopyCoreWorkflowSteps
- Method: loadTacticsLOForCopy
| Property | Description | Required or Optional |
|---|---|---|
| .Id | SFDC ID or External ID for the Promotion. | Required |
If the promotion template of the promotion doesn’t have Tactics as part of the Copied Components, this rule doesn’t work. This workflow step loads the tactics LO using the existing readLOTactics method.
loadCategoryShareLO2
- Description: Loads category shares for a promotion.
- Classname: Promotion2BoApiCopyCoreWorkflowSteps
- Method: loadCategoryShareLO
| Property | Description | Required or Optional |
|---|---|---|
| .Id | SFDC ID or External ID for the Promotion. | Required |
loadPromotionAttachmentsForCopy2
- Description: Loads promotion attachments if specified.
- Classname: Promotion2BoApiCopyCoreWorkflowSteps
- Method: loadPromotionAttachmentsForCopy
| Property | Description | Required or Optional |
|---|---|---|
| .Id | SFDC ID or External ID for the Promotion. | Required |
| .CopyAttachments | Boolean flag. If enabled, attachments are loaded. If false, do nothing. | Optional |