Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Clear irrelevant values with a (sequence of) service call(s)

    When clearing irrelevant values can wait until the page is left, for instance when navigating to a next step in the application, you can model a service call or flow to clear irrelevant values using the Instance_Update service type.  An example is shown below. Field Income type determines which fields are cleared in the conditional node. You could use sub flows containing the Instance_Update service calles as in the example below or service calls directly. As in the example above Income type has been changed from Wage labor to Pension income, which will result in clearing all values for specific fields for Wage labor and for instance Freelance. Any general fields, possibly astarting date or duration, will remain unchanged. 

    Example flow

    Example Instance update service call

    Tip
    Create reusable expressions to use in preconditions on your page and in the clear irrelevant values flows. 
  2. Clear irrelevant values with a Flow on Refresh container

    When clearing irrelevant values cannot wait until the page is left, for instance when the values are used in calculations or need to be able to be set again either by the user or an external systemon the same page, e.g. a calculation of the test income, you can model a service call and flow to clear irrelevant values using the Instance_Update service type and call this flow with a FlowOnRefresh container type.  
    Example: after the user fillled in all the applicants income information a test income is calculated by an external webservice. The calculated value will be user set, e.g. Applicant.TestIncomeOften however this will not be necessary when using the correct logic in the expressions, making it more robust

  3. Keep irrelevant values and deal with them in the application's logic

    In some situations it might be possible to keep the irrelevant values and use logic to determine whether or not they will be used in any logic or calculation, will be used in any datamapping or will be saved. For instance, in the example above you could model your application in a way that Profession will not be saved or used in a datamapping when Income type is not Wage labor. In some situation you might even want to keep the irrelevant values as long as possible to not frustrate the user when he changes his mind to prevent him from having to enter all information again.

...