Vincent
09/18/2025, 7:41 PMCeligo AI
09/18/2025, 7:41 PMAI generated answer (using internal Slack threads):To get the operation ID for a page or workflow, you can use the 'Go To Page' activity in the workflow. However, this might not directly provide the operation ID. For workflows, there is no direct SuiteScript API to get the ID of the buttons created by a workflow in the current state of that workflow. You may want to get your workflow to help out by setting a field(s) on the record. Alternatively, you can use JavaScript to work with the browser DOM. For pages, you can try setting the value via script. For example, the Home's task link is 'CARD_-29'. You can try opening the console, select the action's iframe, and use
nlapiSetFieldValue('targetpage', 'CARD_-29')
.
To view all of the active workflows that run on a particular page, you can refer to the Scripted Records Page in the NetSuite Help Center. This page lists all the scripts that are triggered by events on a record type, including workflows.
******
Disclaimer:
This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes.
******Celigo AI
09/18/2025, 7:42 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.803344846
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.794006348
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.78942883
Celigo AI
09/18/2025, 7:42 PM