best grammar app

How to manage variable/multiple number of Datafields in Savvion

Submitted by Abhishek on Thu, 2011-12-08 17:58
Sencha.com

The grid will form the screen where user will interact and provide the variable detail. You can use javascript to build validations around them.

Step 3: Build XML Out of the form fields

Define a hidden field which is bound to the XML dataslot you defined earlier in the process. On Form Submit, make use of Javascript XML Handling code to create an XML String, something like this

<invoice>

<invoiceitem>

<lineitem>1</lineitem>

<particulars>Mac Book Pro 13 Inches, 4 GB RAM</particulars>

<rate>1200</rate>

<quantity>1</quantity>

<total>1200</total>

</invoiceitem>

</invoice>

 

You can add multiple invoiceitem based on the information entered by the user.

 

Step 4: Update Data Slot

Once this big string is ready, set its value in the hidden dataslot you defined earlier.

 

Thats it. Now on form submission this value gets saved in the backend.

Step 5: Parse on Downstream worksteps

On the downstream stages, you can make use of java as well as javascript to populate the data. You can fetch the XML value in a hidden dataslot and then on form load use Javascript XML parsing capabilities to render the incoming data as an HTML Table.

Hope this is helpful. Questions are welcome.


Abhishek Mishra
Good experience in working with BPM technologies like Savvion, JBPM. Founder and Chief Editor of BPMGeek.com. Founder of Savvion Business Manager Mobility Framework Savmobify| View my BPMGeek Profile
|
best grammar app

About BPMGeek

BPMGeek is an initiative to collaborate and communicate with the growing Business process management community out there. The goal is to help developers connect with experts, ask questions, post their learning and get understanding of BPM Concepts. Often tool specific knowledge of niche areas end up developers perplexed and confused - especially when there are very less number of resources available. We will be coming up several several new features. Have a look at our Roadmap here

BPMGeek is an independent entity not associated with any Product. All BPM product professionals are invited to contribute. The Logos and Names used across the site belong to their respective owners. The viewpoints mentioned by Individual contributors are their own. BPMgeek cannot be held liable for any issues arising out of it.


BPMgeek is promoting the Nounshoun English Grammar App - developed by Constellation Software.