Document a Script
Let ProcessMaker's AI Assistant to document functionality within a Script without coding skills.
Document a Script
Use ProcessMaker's AI Assistant to add comments into the Script to document its functionality. Your Script does not need to have been generated by AI Assistant to document it.
Follow these steps to use AI Assistant to document a Script:
Generate or edit a Script to document.
Expand the AI Assistant panel. The AI Assistant features display.
Cornea AI assistant for Scripts in Script Editor Click the Document option. AI Assistant processes the currently displayed script, and then Script Editor displays two panes:
Current Script: The Current Script pane displays the script prior to its documentation.
AI Generated Response: The AI Generated Response pane displays the AI-documented script. Additional lines of code that document functionality display with a green-colored highlight.
Click one of the following buttons from the AI Generated Response pane:
Apply: Click the Apply button to accept the AI-documented script. Script Editor displays the AI-documented script in its default view.
Cancel: Click the Cancel button to not accept the AI-documented script. Script Editor displays the current script in its default view.
Related Topics
Script Editor OverviewGenerate Your Script Using AI AssistantClean a Script to Improve its CodeExplain How a Script FunctionsDevelop Your Script in Script EditorEnter Mock Request Data Coming Into Your ScriptEnter Other JSON Data as Input to Your ScriptTest Your ScriptPass Request Data into Your ScriptEnvironment Variable and Magic Variable Syntax, Usage, SDK, and Script ExamplesLast updated