Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Eclipse Process Manager (Stardust) » Edit 1 element in Structured Data with a sequence(Edit 1 element in Structured Data with a sequence)
Edit 1 element in Structured Data with a sequence [message #1721790] Sat, 30 January 2016 16:15 Go to next message
Roger DN is currently offline Roger DNFriend
Messages: 9
Registered: January 2016
Junior Member
I have Structured Data that contains a sequence of records: An Array of Approvals, in XML it would look like this:
<Approvals>
  <Approval>
     <Approver>Bob<Approver>
     <Approved>true</Approved>
  </Approval>
  <Approval>
     <Approver>Job<Approver>
     <Approved>false</Approved>
  </Approval>
</Approvals>


I want to have a manual process to edit the first entry.
I set the In & Out Data Mappings/Data Path to:
approvals[1]

and I get the following error when I debug in Eclipse:
An error has occurred.See Error log for more details.
   org/apache/commons/jxpath/ri/model/NodePointerFactory.


index.php/fa/24825/0/

  • Attachment: Capture.PNG
    (Size: 97.96KB, Downloaded 419 times)
  • Attachment: Code.zip
    (Size: 8.98KB, Downloaded 154 times)
Re: Edit 1 element in Structured Data with a sequence [message #1721993 is a reply to message #1721790] Tue, 02 February 2016 07:32 Go to previous message
Robert Emsbach is currently offline Robert EmsbachFriend
Messages: 186
Registered: October 2011
Location: Singapore
Senior Member

Roger,

we need to create ticket for this. Please try if this works in the web modeler + runtime as expected. You will find that the roundtrip there is also pretty fast.

Rob
Previous Topic:Example of Process Model that iterate over structured data with maxOccurance > 1
Next Topic:How to Deploy Stardust project on Tomcat without Eclipse
Goto Forum:
  


Current Time: Fri Apr 26 06:18:07 GMT 2024

Powered by FUDForum. Page generated in 0.02476 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top