cancel
Showing results for 
Search instead for 
Did you mean: 

Tasks Associated to a content

nowhere
Champ in-the-making
Champ in-the-making
Hi all,
I have a very silly question…I have took a look around, but still not found a solution.

Let's say I have a list of content of type cm:content in my webscript's ftl file, I simply access them as follow:

<#list revisione as rev>
          <p>${rev.properties.name}</p>
         </#list>

I would like to explore tasks/workflow associated with this content. Is it possible? How can I do it?

Thank for reply, sorry if question appears stupid to you all!  Smiley Surprisedops:

Have a nice evening!
3 REPLIES 3

nowhere
Champ in-the-making
Champ in-the-making
To explain better…I would like something as workflowService.getWorkflowsForContent" in ftl…any suggestion?  Smiley Happy

lista
Star Contributor
Star Contributor
Hi,

wiki is always the best place to start:
http://wiki.alfresco.com/wiki/FreeMarker_Template_Cookbook#Worklow_Tasks_Example

Cheers,
Ivan.

nowhere
Champ in-the-making
Champ in-the-making
Hi,
thanks for reply. I looked at wiki example and it was already usefull to me in some else situations. Now I'm looking the way to get tasks associated to a content, not to an user.

Greetings,
Nowhere