Math Unit to update attributes of an entity?

20 Oct '14, 12:37 PM
16,619 Views
No Forum Badges

Hello!

I am trying to use the math unit to update attributes of one entity. This is the model

https://www.dropbox.com/s/1vxd56gf5ryjzbc/Screenshot%202014-10-20%2012.33.35.png?dl=0

I added 2 operands then summed them in the static expression as stated in the documentation0

http://www.webratio.com/learn/learningobject/How-to-use-Math-Unit?link=oln72ae.redirect&nav=14&cbck=wrReq6081

I use data flows for the binding and to retrieve the result.

When I press the navigation flow to update the entity it doesn't generate errors and it follows the ok flow but in the database the attributes are not updated.

Am I missing something about the math unit? Is it ok to use it like that outside of a page?

 

 

 
x 0
Follow
Answer Answer at this question and get points!
Forum Hero - Level 9

Hi Stefano,

you need activate the math component, the data flow is only for transport the data, but this doesn't activate the componenets for example you need have your navigation flow to the first math component and with ok flow connect the first math component with the second math component and with other ok flow connect the second math component with the update component, because in this moment the two math components doesn't activate

 
x 0
No Forum Badges

Ok thank you!

 

I fixed it using OK flows.

 
x 0
Answer at this question and get points!

Related questions

Acceder a diferentes site views/ Acces to diferents site views Add to Bag link in ACME any webratio book ? Asking For a Book Attribute comparison in a selector unit Clarification about the NoOperation unit Codigo QR Como hacer un menu en webratio? Conditional Expression "greater than 0" on null fields Connect more query unit Content module page variable won't assign. coupled mandatory fields Create Unit with Date (Year only) Custom Attributes Condition Database Database List is not showing up in App Emulator Data is always created doubled Data Management: Updating Data - Attachments - Updating Data Sample Project Final Description: Unknown tag 'wr:LinkResource' Dudas sobre modelado(Data Flow,Forms y Operation Create) Empty record mistakenly saved en_US codify problem Export XML external link.= Filter information in a Simple List Format currency forward/backward navigation and bookmark in ajax web app "Generation Error" with Generate and Run Generation options problem get the attachment files of an email Get Unit problem Get Year from Date Help for connect public and private site views How can i create pagemenu or landmarkmenu with multiple levels. How does WebRatio represent these IFML elements? / ¿Cómo representa WebRatio estos elementos IFML? How i can reuse modules in multiple projects? How to define the sequence of execution units on a page? How to display the attributes of a related entity. How to filter imported attributes? How to include Selector Unit result in Mail Unit Body? How to pass vars to a alternative page How to process IFML Model (build with Eclipse editor) with ATL How to show a page based on a boolean? How to speed up the "last" link using PowerIndexUnit for lots of records How to store data related to an entity in relationships in a project web Insert data into database Insert master page to many hybrid modules Integrating a BPM model into an existent WebML model JSON I/O Unit e informazioni derivate KO Links in Selector Unit Landmark in hybrid module Link localization Links from Index unit with condition Link Visibility Condition Power Index Unit Mail multipla maintain the record order in a sortable list [MOBILE] How I extract information from JSON client side? Modifica Entità tramite file xml Multi Entry Unit: How to forward only checked rows? multi-lingual product description Non riesco a fare funzionare Xml out unit Parametrizzazione Selector Unit Problem Example create Unit (no company in employee table) Problem in adding diagrams in IFML Editor (Eclipse) Problem with query unit! Problem with Scroller Unit query a database Question about Site Views Rename passing attributes Replace ID by its value in another table Search by Selector component does not work Select between parameters Selector unit doesn't return any value in hybrid module Sending mails is not working Sending mails with gmail is not working Setting the Default link for a Switch unit show/hide fields on button click (registration page) [solved] all links transparent, why ? Something leads to wrong condition expression evaluation. sumar atributos de una tabla filtrado por Role Condition Sum entity's values Transportation Link issue Unique Fields using relationship role conditional with null usuarios y grupos utilizzo componenti database Visibility Condition on Multiple Links From Index Unit WebRation - Create Navigation diagram