---
title: Workflow API
slug: workflow-api
icon: {"faIcon":"fa-solid fa-ship"}
docTags: 
createdAt: 2025-06-13T04:36:36.314Z
---

# Methods

| Method                                                                                                                                                                                             | Description                                                                  | Notes |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ----- |
| forceToActivity(<br />/\* string \*/  activityName,<br />/\* record \*/  tableRecord,<br />/\* boolean \*/ explicitUpdate, //same as a current.Update()<br />/\* boolean \*/ enableTriggers<br />) | Forces a workflow to the specified activity. Useful for aborting a workflow. |       |

