AnsweredAssumed Answered

Logger.log clarification

Question asked by chicco0386 on Sep 23, 2010
Latest reply on Sep 23, 2010 by chicco0386
Hi all,
I not understand why my javascrpt doesn't print anything in this situation:

My peace of code is this:

<node name="Genera template documenti">
        <action class="it.mytria.tria.wf.action.GeneraTemplate"></action>
        <transition to="End">
            <action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
                <script>
                    logger.log("———-PROVA LOG");
                </script>
            </action>
        </transition>
    </node>
In this first piece of code the logger.log doesn't print anything, but if I remove the piece of code:
<action class="it.mytria.tria.wf.action.GeneraTemplate"></action>
it's print "———-PROVA LOG".

Why the logger works fine only if I remove the above piece of code?

For me it's important to understand this situation

THANK YOU

Outcomes