Maciej Swiderski [
https://community.jboss.org/people/swiderski.maciej] created the
discussion
"Re: getting process variables available in service task"
To view the discussion, visit:
https://community.jboss.org/message/832449#832449
--------------------------------------------------------------
alright, now I can see what's wrong. You have single data input defined for your
service task and it's called Parameter so if you like to get it's value inside the
work item handler you need to use exactly the name defined there:
System.out.println(workItem.getParameter("Parameter"));
and that should give you the expected value.
HTH
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/832449#832449]
Start a new discussion in jBPM at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]