If you plan to use promotions import/export against a versioned repository, configure the /atg/commerce/promotions/PromotionImportWorkflowAutomator
component. The import/export API calls this component automatically when it detects that it is running against versioned repositories. Any repository actions carried out within the context of the import threads are associated with the ATG Content Administration project (after a call is made to startWorkflowSession
).
The PromotionImportWorkflowAutomator
component provides the information that is used by the ATG Content Administration project for your import or export. This component has the following property
username
—Appended to thepersonaPrefix
to give the persona object IDworkflowName
—Workflow name used when creating the process for the importtaskOutcomeId
—Determines the task in the workflow to be advanced to after the importprojectNameStub
—Stub name for the project; the full ATG Content Administration project name for the import is created by appending thesessionId
to this value
For example:
userName=publishing
workflowName=/Common/commonWorkflow.wdl
taskOutcomeId=4.1.1
projectNameStub=Automated Import