diff --git a/server/src/workflow-management/classes/Generator.ts b/server/src/workflow-management/classes/Generator.ts index 4a40eaef..36f354cc 100644 --- a/server/src/workflow-management/classes/Generator.ts +++ b/server/src/workflow-management/classes/Generator.ts @@ -276,7 +276,12 @@ export class WorkflowGenerator { await this.addPairToWorkflowAndNotifyClient(pair, page); }; - + /** + * Generates a pair for the custom action event. + * @param action The type of the custom action. + * @param settings The settings of the custom action. + * @param page The page to use for obtaining the needed data. + */ public customAction = async (action: CustomActions, settings: any, page: Page) => { const pair: WhereWhatPair = { where: { url: this.getBestUrl(page.url())},