OT2 how to debug workflow

kanishchev
edited October 2 in Q&A #1

Dear colleagues, how in OT2 debug workflow steps using UI? How can I provide user or to administator a tool to view where (at which step) the workflow now and why it is so?

Answers

  • DeepankarMallela
    DeepankarMallela E Member
    edited August 25, 2023 #2

    Hi @kanishchev

    Please have a look at the workflow status check API "Get diagram for a process instance" (see reference below) to retrieve the current execution status of the process instance.

    Along with this, at any point during the workflow execution you could retrieve the process variables to see the current execution status / context of the process instance. See "List variables for a process instance" API for more details (reference below)

    All the workflow service API references are available here : https://developer.opentext.com/imservices/products/workflowservice/apis/workflowservice

    Hope this helps, let us know if you need any further details or support.

    Thank you.