Is that possible to pass a object in startTrackedFlow

(Viswanathan S) #1

Hi @roger
I have many variables to execute one flow. so am trying to pass the value as object in startTrackedFlow. But am facing error. Because it taking only four arguments as well as value only. So is there any possible to pass the object in that?

(Roger Willis) #2

You can wrap all the arguments up into a single object like so (in Kotlin):

data class FlowPayload(
    val one: TypeOne,
    val two: TypeTwo,
    val x: TypeX,


(Viswanathan S) #3

I got it… thanks@roger