Clarity

  • 1.  Trouble refreshing screen after process is run

    Posted Jun 11, 2010 03:33 PM
    We are working on some new processes which populate other fields on a Clarity project screen when another one is changed. For example, one of these processes populates a custom data field with today's date when the Active flag is unchecked. The way it is supposed to work is this:
    1. The user unchecks the Active flag
    2. Then clicks the Save icon

    The process runs and works in the sense that the data field is populated with today's date. However, when the screen is refreshed after the save, the date field is still blank on the screen. If the user then does an Internet Explorer refresh or exits the screen and comes back, the field is updated.

    How can I get the screen to show the update the the date field immediately after the Save refreshes the screen?


  • 2.  RE: Trouble refreshing screen after process is run
    Best Answer

    Posted Jun 14, 2010 08:50 AM
    I think you are just hitting "expected behaviour".

    The background process is not synchronous with the GUI, so what is happening is...

    User checks field
    User Saves record (screen is refreshed)

    Some time later (which might be a few seconds OR MUCH LONGER)...
    The Process starts up, amends some data.

    User refreshed screen; now they see the process changed data.

    --

    You are not going to be able to get around this without moving the "background update" to be in the GUI layer (or on a database trigger) - and neither of those options are supported by CA!