cancel
Showing results for 
Search instead for 
Did you mean: 

Overload user workspace creation in studio

pibou_Bouvret
Elite Collaborator
Elite Collaborator

What is the correct way to catch the user workspace creation event ?

Using "Document path starts with /default-domain/UserWorkspaces(/)" matches any workspace under the current user workspace, and i am just not able to write an EL expression in my chain in order to check the current document, kind of

@{ '/default-domain/UserWorkspaces/'.concat(Document.title) == Document.path ? action : void }

1 REPLY 1

pibou_Bouvret
Elite Collaborator
Elite Collaborator

I finally made it with an EL expression :

Set Context Variable : name_test = /default-domain/UserWorkspaces/@{Document.name}
Set Context Variable : path_test = @{Document.path}
Run Document Chain   : @{(Context["name_test"] == Context["path_test"] ? 'action' : 'void')}