How to get task details via Rest API?

Solution Verified - Updated -

Issue

  • Following REST API is used for fetching the node (task) details:
/rest/runtime/{deploymentId}/history/instance/{procInstId}/node

From the list JaxbNoteInstanceLog that it returns it is possible to get Node Name, Node Type, Node ID and Node Date. If the Node is of type User Task how to fetch the data of who worked on that task and what are the data input and data output for that Task. Similarly how to get input / output data for Service Task?
- Is there any easy way we can retrieve the types of the variables so that i can call below URL only for complex object types to return the value as JSON?

http://localhost:8080/business-central/rest/runtime/{DEPLOYMENT_ID}/process/instance/{PROCESS_INSTANCE_ID}/variable/{VARIABLE_NAME}

Environment

  • Red Hat JBoss BPM Suite (BPMS)
    • 6.0.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.