09-17-2013 01:34 PM
hello,
I wanted to hide to user a widget if no workflow task was current for him.
I found this very good documentation about displaying things depending on "workflow or not workflow in process"
[http://doc.nuxeo.com/pages/viewpage.action?pageId=12912851][1]
That said this exemple to "not display when no process" :
#{routingActions.getRelatedRoute() != null?'view':'hidden'}
I try this 3 tests:
#{routingActions.isEditableRouteElement(currentDocument)?'view':'hidden'}
#{!routingActions.isEmptyFork(currentDocument)?'view':'hidden'}
#{routingActions.isEditableStep(currentDocument)?'view':'hidden'}
Nevertheless this was not enough for not displaying if current user has no task on this document to deal with. [1]: http://doc.nuxeo.com/pages/viewpage.action?pageId=12912851
09-17-2013 01:34 PM
hello,
So I read, this java class :
To find this solution :
#{!empty routingActions.getCurrentRouteCurrentUserTasks()?'view':'hidden'}
09-17-2013 01:34 PM
hello,
So I read, this java class :
To find this solution :
#{!empty routingActions.getCurrentRouteCurrentUserTasks()?'view':'hidden'}
Attention: Blogs & Forums are in READ-ONLY mode from Oct 9-19 as we transition to our new platform. Learn more.
Find what you came forWe want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.