Updating attributes of an entity

12 Oct '14, 09:57 PM
No Forum Badges


I'm working on a project where I want to update a single attribute of an entity. I've tried to do this with an update operation. This update operation is connected to an input port. How do I include a particular value such that the update operation changes the attributed to the desired value? In this case, I want to set a boolean field 'finished' to true. Can someone explains how to do this?

x 0
Answer Answer at this question and get points!
Forum Expert - Level 6

Hi Martijn,

if the update operation is already connected to the input port through an Ok Flow all you have to do is to bind by hand the value 'true' for the finished attribute (yes, you can write directly into the parameter binding dialog to use static values).

  • true all lowercase is the string equivalent to the true boolean value
  • false all lowercase is the string equivalent to the true boolean value

More generically you can submit from the form only one field instead of the whole object and bind it using the Ok Flow connecting the input port and the delete operation.

Let me know if this works.



x 1
Forum Expert - Level 6

ofc false is the equivalent for the false boolean value :)

x 0
Answer at this question and get points!

Related questions

404 on generated app page 500 error with WebRatio BPM 502 proxy error-generate and run Access Denied when I try to download Webratio Platform from Student Access Denied when I try to download Webratio Platform from Student Area Admin area disabled aggiornamento fallito a causa di un errore interno Ajax and FCK Editor (WebRatio 5.x) AJAX events problem to external JavaScript Ajax onchange and jQuery 2.x (with migrate plugin) incompatible Ajax on change selection field and modify units Any sample deployment Autocomplete template Automatic date in form Automatic file upload BPMN: URL field Can not get generate and run option for DataService Project Cannot insert an entity in the database Cannot invoke method putAll() on null object Cannot invoke method selectSingleNode() on null object Can't run any aplication ckeditor - change directory for the browser Clean a form Code is exceeding the 65535 bytes limit error on JBOSS Como crear cambio de contraseña Como tener dos botones juntos en un formulario independientes de una accion? Como usar la función autocomplete en un field Compare with the current time Component computation com.webratio.struts.exceptions.WRSecurityException: Invalid request target host Connection refused. coupled mandatory fields Cryptic error when submitting a form Database connection, Host and Port number Data flow from a page which is not visible anymore DB in Data Service Project Debug configuration Disabilitare campi durante evento AJAX Drop down menu question Dudas sobre modelado(Data Flow,Forms y Operation Create) Dynamic attribute/field names. Possible? Dynamic instantiation of fields on a page for any Class type Empty record mistakenly saved entry form logic. Entry Unit - Default field timestamp Entry Unity, Field Date Type Error error activating student account Error deploying WAR against to JBOSS Error updating metadata process Error when updating to WR 7.2.3 Estado HTTP 404 - No está disponible el Servlet action Field as link soruce Filtros Caracteres Especiales Find Model Problemas Format currency Form element Form template From BPM to WebProject - BUILD FAILED Generation errors on ajax enabled page with many components, ajax links and selective refresh "Generation Error" with Generate and Run Getting the absolute path of a RTXBLOBData Groovy script numer after an error HelloWorld Unit sample code help for web project Help with math unit. Debug mode says error as result code Hide form until a flow is triggered Hiding form components based on page conditions Hiding landmarks (or flows) when the user is logged in Hierarchy component How I can receive the primary key value after adding into database from OK Port. how to delete this error? How to get a wr:AjaxURL tag working How to redirect to the correct site view after a successful login attempt How to show certain values derived from relations in the domain model? How to use GoogleGeocoding Add-on i can't install mobile version on windows I can't install Webratio on my Desktop (Ubuntu 13.04 x64) I can't run any application with WebRatio (Table/View 'APP.POST' does not exist) input mask Installation On MacOS Installation with java 1.8 Installazione Macosx invio mail fallito java.lang.NullPointerException java virtual machine error Job not start correctly JSP/DO issues on Tomcat 5.5 (Ubuntu) Login Error mandatory control code parameter is missing Mensaje: the selection cannot be launched and there are no recent launches Missing plugin emulation support error Missing units when importing project Multi Entry Unit: How to forward only checked rows? Multi-Image Upload Multiple forms on one page. HTML5 input attributes. Possible? (2 questions) multi selections field problem Multi Selects didn't work in update page Need help with Landmark Next Activity Note property - Error synchronizing with web project No access to protected site view with Login No Apache Derby driver found No cloud accounts available No database on my cloud account Page Home - First time the Project Web begins Prelevare la chiave del record da una Selection Field in una Multiple Form Primefaces Problema al generar y ejecutar proyecto Problema generazione codice Problema Grafo da una lista gerarchica Problema ¨HTTP Status 404" Problemas con el Operations View Delete Problem: Compile Failed problemi installazione su Mac sistema operativo OSX El Capitan problem on first deploy with webratio Problem saving multi selection from input Problems to connect Sql Server DB from Webratio Problem syncing reports Problem to run an Application Problem with application runnung Problem with execution of webratio Problem with ireport Problem with the deletion of more than 50.000 records in a table Progress bar when uploading big file(s) in a form? Project cannot be opened with WebRatio Community Platform Pulire URL Redirecting users to another site view Relaciones Resize fields Retrieve a value and add some value to it Sample web application Search by Selector component does not work selection fields on cascade Select multiple files for upload Setting Upload directory Showing items that have a relation with an entity Simulation Software Slot in Selection Field Solve "Generation Error" with Generate and Run option Student reserved area, download error Table 'freeapp43.profesion' doesn't exist Tomcat external session store and WebRatio webapp. "Unable to close sub-context ..." Unable to compute the controller URL(s) for applicationUnable to compute the controller URL(s) for application having status PROVISIONING Unable to connect to Internet Unable to download WebRatio from Student Area Unable to execute the script java.lang.NullPointerException Unable to find Cloud free function Unable to get ExpenseReport example work in WebRation Personl 7.2.2 Unable to instantiate a new application instance Unable to start WebRation, cannot locate its companion shared library Unable to update the web project Unknow property on Dynaclass after generation Unspecified BPM Engine Database Update fields based on selection of other fields upload file and the move it to other location upload file html Uppercase User Login Timestamp Uso de la componente chart de webRatio Validacion validation fields Value Length (Min) fails to validate when field is empty? WebRatio activation problem Webratio Add-ons no permite login Web Ratio Add-ons shop not working WebRatio freezes at project load (Linux) WEBRATIO LINUX AT EXECUTION TIME Web Ratio Mobile plateform Macos Sierra Web Ratio Mobile - Remote data mapping problem WebRation - Create Navigation diagram WebRatio y Java 1.8 (o superior) What are the new features of WebRatio 6.1? When execute my web application I have this error: returned a null bean which of these three models is closer to webratio/ifml way of creating web applications XPCOM Error