How to get input and output variable names in the Human Task?
Issue
How to get input and output task variable names in the On Entry / Exit method?
Following code kind of worked for input parameters:
HumanTaskNodeInstance nodeInstance = (HumanTaskNodeInstance) kcontext.getNodeInstance();
HumanTaskNode humanTaskNode = (HumanTaskNode) nodeInstance.getHumanTaskNode();
WorkImpl workImpl = (WorkImpl) humanTaskNode.getWork();
Map inputparams = workImpl.getParameters();
but there is no method to get results object (output parameter names)
Environment
- Red Hat JBoss BPM Suite 6.0.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
