How to debug scripts used in workflows?
Author: liam_davison
Publication Date: 10/26/2015 10:57
Good morning,
Our Release workflow stopped working recently, and I am trying to understand why. Our workflow relies on a Beanshell script to determine what should be released and how dependencies are calculated.
The workflow gets "stuck" after the Page, PageFolder and SiteFolder is released, but the PageRef is not released.
I need to debug this - how can I debug a workflow script?
context.LogError(message); - messages do not appear in ServerMonitor/Logfiles
I've also tried to use a popup dialog, but this always seems to stop the workflow completely:
reqOp = context.requireSpecialist(OperationAgent.TYPE).getOperation(RequestOperation.TYPE);
reqOp.setKind(RequestOperation.Kind.ERROR);
reqOp.perform(message);
The SiteArchitect "Template debugger" only works with Templates, and not scripts.
Many thanks,
Liam Davison
Tags: debugging, release, script
-
Author: MichaelaReydt - 11/9/2015 14:30
Hello Liam,
do you need further help or did Ralph's reply already help you?
If you meanwhile have found a solution by yourself it would be great if you posted it here.
Best regards
Michaela
0
Please sign in to leave a comment.
Comments
1 comment