cancel
Showing results for 
Search instead for 
Did you mean: 

Solved-Workflow - showDocDetail

golden_eye
Champ in-the-making
Champ in-the-making
Hay
i have one question about document url when i use workflow.
I would like to create url to showDocDetail of document.
Now all i m getting is the space in which is located document.How can i get the DocDetail of document.
I looked at Workflow_JavaScript_API.
Any help would be very appreciated.

to get DocDetail of document i had  to add in process_definition this
   for (var i = 0; i < bpm_package.children.length;i++)
       {     
        mail.parameters.text+=bpm_package.children.id ;
        bpm_package.children.save();
      }
mail.parameters.template = companyhome.childByNamePath("Data Dictionary/Email Templates/Notify Email Templates/workflow.ftl");
and then in template workflow.ftl

Link to document: http://servername:8080/alfresco/n/showDocDetails/workspace/SpacesStore/${document.children[0].id}

Maybe this can be useful to someone Smiley Happy
1 REPLY 1

softbless
Champ in-the-making
Champ in-the-making
Hi,

Can u post, a more complete process definition and the FTL file?

It would be very helpful Smiley Happy
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.