Alternative for Activity Chaining

I have a Process Model which is Called from Web API via Start Process.


a!startProcess(
processModel: cons!MA_WRITE_TO_DB,
processParameters: {
getData: local!getData,
}
onSuccess: a!httpResponse(
          statusCode: 200,
          body: a!toJson(
            {
              a!map(
                value: fv!processInfo.pv.value
              )
            }
          )
        ),
)

I need to return value from Process Model(so we have used Activity chaining in PM), but due to  Activity chaining its taking too much time. 

Is there any alternative way(without Activity Chaining) how i can return the value from PM so that it takes less time

  Discussion posts and replies are publicly visible