/** * @swagger * components: * schemas: * ProcessStartResponse: * description: | * Contains a response from the Engine, which will be send after a ProcessInstance was started. * Depending on the type of start callback used, this will also contain information about the reached EndEvent. * type: object * required: * - processInstanceId * - correlationId * properties: * processInstanceId: * description: The ID of the ProcessInstance. * type: string * correlationId: * description: The ID of the Correlation in which the started ProcessInstance runs. * type: string * endEventId: * description: If the Engine is set to wait for the ProcessInstance to finish, this will contain the ID of the EndEvent with which ProcessInstance was finished. * type: string * tokenPayload: * description: If the Engine is set to wait for the ProcessInstance to finish, this will contain the final result with which ProcessInstance was finished. * type: object */ /** * Contains a response from the Engine, which will be send after a ProcessInstance was started. * Depending on the type of start callback used, this will also contain information about the reached EndEvent. */ export declare type ProcessStartResponse = { /** * The ID of the ProcessInstance. */ processInstanceId: string; /** * The ID of the Correlation in which the started ProcessInstance runs. */ correlationId: string; /** * Optional: If the Engine is set to wait for the ProcessInstance to finish, * this will contain the ID of the EndEvent with which ProcessInstance was finished. */ endEventId?: string; /** * Optional: If the Engine is set to wait for the ProcessInstance to finish, * this will contain the final result with which ProcessInstance was finished. */ tokenPayload?: any; };