Quintiq file version 2.0
|
#parent: DataHolderAllUsers
|
Response OnDataChanged () id:Response_SWF_CustomDrawComponentProcessDashboard_DataHolderAllUsers_OnDataChanged
|
{
|
#keys: '[134266.0.466083567]'
|
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_GUIComponent_OnDataChanged'
|
Precondition:
|
[*
|
return not isnull( SWF_WorkflowDataset )
|
and not isnull( SWF_CommunicationDataset );
|
*]
|
}
|