Mode 1: Stop by instance IDs
const { workflow } = tisa;await workflow.instances.stop({ instanceIds: ["fca0bf0b-1fbb-4a74-ad32-25f5784e6c9a"]}); Copy
const { workflow } = tisa;await workflow.instances.stop({ instanceIds: ["fca0bf0b-1fbb-4a74-ad32-25f5784e6c9a"]});
Ids of the instances which should be stopped.
Mode 1: Stop by instance IDs
Example