How to set Data output parameter of human task through rest API when completing task ?

Solution In Progress - Updated -

Issue

  • Trying with below REST API to complete Human task but not able to set Data output parameter of task:
String url = "http://localhost:8080/business-central/rest/task/6/complete";

ClientRequest cr = new ClientRequest(url).header("Authorization",
                                  getAuthHeader(user, password)).accept(
                  MediaType.APPLICATION_XML).queryParameter("Variable1", 12);

Environment

  • Red Hat JBoss BPM Suite
    • 6.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.