- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-19-2019 04:50 AM
Hello,
I'm on Nuxeo 10.10 (LTS 2019) and I would like to redirect the user at the end of an automation chain.
On studio I think I have to use 'Seam.NavigateTo' but impossible for me to find what argument matches.
I want to be redirected to a document extending Folder which path is : /Workspace/workspaces/Dossier_de_sujets/Sujets_Ã _valider
I've the following automation chain : Fetch > Context.FetchDocument Document > Document.Move Document > Document.FollowLifecycleTransition User Interface > Seam.NavigateTo
If anyone has an idea ?
Thanks a lot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-26-2019 10:29 AM
The answer was : you can't use Seam.navigateTo on WebUI... This is only for jsf. (Yes WebUI.navigateTo doesn't apply on WebUI...)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-19-2019 05:57 AM
Seam.NavigateTo (now an alias to WebUI.NavigateTo) has only one optionnal parameter (view).
As mentionned in its documentation, the operation "Navigates to the input document."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-19-2019 06:00 AM
In your case, you should have a Repository.GetDocument / Document.Fetch just before with value = '/Workspace/workspaces/Dossier_de_sujets/Sujets_Ã _valider'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-19-2019 10:18 AM
Thanks for your answer.
I still have errors when launching the automation chain, which now is :
- Context.FetchDocument
- Document.Move: target: /Workspace/workspaces/Dossier_de_sujets/Sujets_Ã _valider
- Document.FollowLifecycleTransition: value: to_review
- Repository.GetDocument: value: /Workspace/workspaces/Dossier_de_sujets/Sujets_Ã _valider
- Seam.NavigateTo: {}
I tried different ways to use navigateTo but I always have the errors you can see in server.log attached to this message, even with the example in the documentation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-26-2019 10:29 AM
The answer was : you can't use Seam.navigateTo on WebUI... This is only for jsf. (Yes WebUI.navigateTo doesn't apply on WebUI...)
