Aller au contenu principal

Activity to pause or break Workflow

Non planifiée

Commentaires

5 commentaires

  • Victor Catalán

    Hi Randy!
    As a easy workaround you can use a “debugger;” keyword inside an evaluate expression to create a debug point that will stop the process automatically if you have the browser devtools opened.

    1
  • Randy Casey

    Victor Catalán thanks for the tip! Do you know offhand if that works in VSM/VSG as well?

    0
  • Randy Casey

    In trying to use it w/ VSM/VSG, it does not appear to work. No errors given; it just does not pause the workflow.

    0
  • Ken Lyon

    The debugger command is unique to JavaScript/TypeScript. Sadly there doesn't seem to be an equivalent in C#. With .NET code being compiled before execution, it'd be a bit more complicated to add some kind of debugging on the fly like that.

    We could potentially add the ability to add some kind of “pause” or “debug” property on activities in the designer and then handle it in some special way at runtime.

    0
  • Randy Casey

    Ken Lyon That's what I am doing with my sub workflow, but probably not very elegantly or efficiently. Given your internal working knowledge of the JavaScript to .NET cross compiling that VSM is doing, I'm sure you'd be able to work out a much more effective solution that could be contained w/in a single workflow, rather than my solution of offloading that into a sub workflow every time.

    0

Vous devez vous connecter pour laisser un commentaire.