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
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...)
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."
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'
02-19-2019 10:18 AM
Thanks for your answer.
I still have errors when launching the automation chain, which now is :
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.
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...)