| Quintiq file version 2.0 | 
| #parent: ValueHolderLastSyncDateTime | 
| Response OnValueChanged () id:Response_SWF_CustomDrawComponentProcessDashboard_ValueHolderLastSyncDateTime_OnValueChanged | 
| { | 
|   #keys: '[132478.0.288925806]' | 
|   Body: | 
|   [* | 
|     // If there are any changes to all users, be it due to full sync or sync | 
|     // make sure the current user persists   | 
|     currentUser := SWF_DataHolderCurrentUserBAK.Data(); | 
|      | 
|     if( not isnull( currentUser ) ) | 
|     { | 
|       newCurrentUser := SWF_WorkflowDataset.RestoreCurrentUser( currentUser.Name(), | 
|                                                                 currentUser.Description(), | 
|                                                                 currentUser.Title(), | 
|                                                                 currentUser.Email(), | 
|                                                                 currentUser.Location(), | 
|                                                                 currentUser.Phone(), | 
|                                                                 currentUser.IsActive(), | 
|                                                                 currentUser.HasUpdatedProfile() ); | 
|      | 
|       SWF_DataHolderCurrentUser.Data( newCurrentUser ); | 
|     } | 
|   *] | 
|   CanBindMultiple: false | 
|   DefinitionID: 'Responsedef_ValueHolder_OnValueChanged' | 
|   Precondition: | 
|   [* | 
|     return not isnull( SWF_WorkflowDataset ) | 
|            and not isnull( SWF_CommunicationDataset ); | 
|   *] | 
| } |