Overload user workspace creation in studio

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 }

0 votes

1 answers

1030 views

ANSWER



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')}
0 votes