With an open Workflow Builder Window, is there a JSL command to add a workflow step with arguments to specify the JSL code and the "Notes" for the step?
If you check scripting index for Workflow it is very limited
You can also check if there are any interesting commands using Show Properties on the workflow object
Some of these (like usually...) are not documented in scripting index but I would guess that none of these do what you are looking for. You might be able to write your own custom JSL to perform the actions you are looking for but it might require quite a lot (at one point I did start custom workflow script to allow for better report flow report creation but I never finished it). I would hope that JMP will make workflows easier to script in some future version of JMP.
Ok, thanks.The .jmpflow files have an easy structure, maybe I will add the changes there ...
on my way - a helpful change:
+ 1 step:
wf = open("mainFlow.jmpflow"); wf << Include workflow ("c:\temp\myworkflow.jmpflow")
nice : )btw: If the workflow is already open, the return value of the open command is just a link to the window. So wf becomes a headbox instead of a scriptable workflow object.