| Summary: | Adding description to expression in script | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise SOA Platform 5 | Reporter: | Toshiya Kobayashi <tkobayas> |
| Component: | Documentation | Assignee: | David Le Sage <dlesage> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 5.2.0 GA | CC: | tkobayas |
| Target Milestone: | --- | ||
| Target Release: | 5.3.0 GA | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | http://jira.jboss.org/jira/browse/SOA-2041 | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-07-31 04:49:09 UTC | Type: | Feature Request |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Toshiya Kobayashi
2010-04-17 15:23:58 UTC
Source code is easier to understand :) http://anonsvn.jboss.org/repos/jbpm/jbpm3/tags/jbpm-3.2.7.CR3/modules/core/src/main/java/org/jbpm/graph/action/Script.java public void read(Element scriptElement, JpdlXmlReader jpdlReader) { if (scriptElement.isTextOnly()) { expression = scriptElement.getText(); } else { this.variableAccesses = new HashSet(jpdlReader.readVariableAccesses(scriptElement)); expression = scriptElement.element("expression").getText(); } } Release Notes Docs Status: Added: Not Required Writer: Added: dlesage Modified paragraph and sample source code added to the document. Thanks. I believe that Toshiya posted the source code here to demonstarte the functionality for you to provide enough information to fix the documentation. It is not a sample code, it shows internals of SOA-P that are likely to change. This code should not be present in the docs definitely! Aha, Martin is correct. I just pasted the source code from actual jbpm source so that we can understand how script element works. Please remove it from the document :) Link: Added: This issue Cloned to SOA-3638 |