Skip to main content
October 26, 2023
Question

Alternative for Activity Chaining

  • October 26, 2023
  • 1 reply
  • 0 views

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

    1 reply

    stefanhelzle0001
    Brainy
    October 26, 2023

    Using chaining, you can control after which node the startProcess call returns. The data in process variables at that time will be available in the returned data.

    You will have to make sure to design the process in a way it performs these actions within the chaining time limits.