Workflow Builder + Add-InsHow can I enable the Workflow Builder to record actions from Add-Ins like:
- Custom Date Format Writer (https://community.jmp.com/t5/JMP-Add-Ins/Data-Table-Tools-Add-in/ta-p/28582)
- rename columns (https://community.jmp.com/t5/JMP-Add-Ins/Scripting-Tools/ta-p/410943 )
https://community.jmp.com/t5/JMPer-Cable/How-the-new-Workflow-Builder-in-JMP-17-will-save-you-time/bc-p/571602/highlight/true#M808
ScriptingRe: Workflow Builder + Add-InsHi @ih,
Unfortunately, at present (JMP 17.1) there is not a way to have Workflow Builder pick up jsl items from the enhanced log that originated from a script window or Add-In. We are working on a general fix in 18 so that this will be possible.
@julian
Re: Workflow Builder + Add-Ins@julian any chance you have an example of writing some custom jsl to the enhanced log?
Re: Workflow Builder + Add-InsWish to get at least some info about addIn calls into Woskflows:
https://community.jmp.com/t5/JMP-Wish-List/Workflow-Builder-AddIns/idc-p/583109
minimum: a comment that the addin was called, but not recorded
Re: Workflow Builder + Add-InsSame behavior on the Mac, I just submitted it as a defect so we can get that fixed. Thanks for catching that!
Re: Workflow Builder + Add-InsI was going to ask if it is even possible to send scripts to workflow's history but I think JMP provided me an answer by crashing (or rather just closing).
- Open Workflow Builder, Enhanced Log and Script window (no embedded log).
- Run simple script such as Open("$SAMPLE_DATA/Big Class.jmp")
- Add it to workflow

- JMP will close/crash
Using Windows 10 with JMP17 Pro.
Re: Workflow Builder + Add-InsWorkflow Builder captures steps based on JSL that is recorded in the JMP log. For JMP's interactive actions from menus/platforms, this works because JMP's internal action recording knows how to generate the equivalent JSL to your interactive actions and writes it to the log. For Workflow Builder to work for an Add-In, the developer of the Add-Ins would need to add code to write the equivalent JSL of the actions it takes to the log so that Workflow Builder can pick up that JSL and build a step. I do not know of any Add-Ins that do this right now, but this would be a good best practice going forward for developers.
Edit: my mistake, Workflow Builder in fact does not automatically capture JSL executed from a script right now. The Add-In would need to call Save to Workflow in the Enhanced Log after generating the equivalent JSL for whatever action is performed by the Add-In.