Multiple Journey Definitions for Customer Journey – GBG IDscan Documentation

Multiple Journey Definitions for Customer Journey

For cases where more than one journey exists, provide the journey GUID when creating a customer journey intent:

Kotlin

val config = CustomerJourneyConfig.Builder(
baseUrl = baseUrl,
credentials = Credentials(username, password),
journeyDefinitionId = journeyDefinitionGUID // Add hardcoded or retrieved journeyDefinitionId
).build()val config = CustomerJourneyConfig.Builder(                baseUrl = baseUrl,                credentials = Credentials(username, password),                journeyDefinitionId = journeyDefinitionGUID // Add hardcoded or retrieved journeyDefinitionId        ).build()// Call to open Customer Journey        val customerJourney = Intent(this, CustomerJourneyActivity::class.java)        customerJourney.putExtra(CustomerJourneyActivity.EXTRA_CONFIG, config)        startActivity(customerJourney) // Call to open Customer Journey
val customerJourney = Intent(this, CustomerJourneyActivity::class.java)
customerJourney.putExtra(CustomerJourneyActivity.EXTRA_CONFIG, config)
startActivity(customerJourney)

Was this page helpful?